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

From: Linus Walleij
Date: Sun Mar 06 2011 - 07:06:43 EST


On Sat, Mar 5, 2011 at 9:19 AM, Santosh Shilimkar
<santosh.shilimkar@xxxxxx> 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
--
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/