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

From: Russell King - ARM Linux
Date: Mon Nov 28 2011 - 10:41:46 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/