[PATCH 4/5] init/calibrate.c: allow for recalibration of loops per jiffy

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Nov 28 10:39:00 EST 2011


On Sun, Nov 27, 2011 at 04:32:30AM +0100, Janusz Krzysztofik wrote:
> This is required on ARM OMAP1 platform, after DPLL reprogramming has
> been fixed by moving it from setup_arch() to kernel_init().
> 
> Created against linux-3.2-rc2.

Why do you need this?  If you know what the original CPU clock rate and
bogomips were, and the new CPU clock rate, then you simply scale the
bogomips from the original accordingly.  That's what cpufreq does.

You don't have to waste 10s of milliseconds redoing the bogomips
calibration.



More information about the linux-arm-kernel mailing list