[PATCH] ARM: twd: Adjust localtimer frequency with cpufreqnotifiers

Linus Walleij linus.walleij at linaro.org
Sun Mar 6 07:06:36 EST 2011


On Sat, Mar 5, 2011 at 9:19 AM, Santosh Shilimkar
<santosh.shilimkar at ti.com> wrote:

> While doing this patch for OMAP I also found that
> CPUFREQ notifiers does delays scaling timer frequency
> and there is a tick deviation(3-4 ms) around 1st tick and
> last tick around twd rescaling.

Is this caused by ticks that have been programmed
already (based on the previous frequency) when the scaling
takes effect? (That's most likely I think.)

The latter could be fixed by simply calling
schedule() for each CPU connected in the same core as
the TWD at the end of twd_update_cpu_frequency(),
couldn't it?

Colin what do you say?

> Another issue was not able to select higher fixed twd rate
> and found fix for the same.

Can you send out the patch?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list