Re: [PATCH v2] ARM: smp_twd: Reconfigure clockevents after cpufreq change

From: Linus Walleij
Date: Fri May 20 2011 - 17:51:01 EST


On Fri, May 20, 2011 at 2:24 AM, Colin Cross <ccross@xxxxxxxxxxx> wrote:

> The localtimer's clock changes with the cpu clock.  After a
> cpufreq transition, update the clockevent's frequency and
> reprogram the next clock event.
>
> Adds a clock called "smp_twd" that is used to determine the
> twd frequency, which can also be used at init time to
> avoid calibrating the twd frequency.
>
> Clock changes are based on Rob Herring's work.
>
> Change-Id: I413b5cd07fb2b79bc9fad8b4bf257332d1da7bcd
> Signed-off-by: Colin Cross <ccross@xxxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
> Cc: Santosh Shilimkar <santosh.shilimkar@xxxxxx>
> Cc: Rob Herring <robherring2@xxxxxxxxx>
> Tested-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

OK Thomas can you take this in through the clock/timer
branch? Works fine for me and Colin and solves many problems
apart from making the code look neat.

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/