[PATCH] ARM: smp_twd: reprogram twd based on clk notifier

Linus Walleij linus.walleij at linaro.org
Wed Sep 12 12:07:51 EDT 2012


On Wed, Sep 12, 2012 at 6:05 PM, Linus Walleij <linus.walleij at linaro.org> wrote:
> On Fri, Sep 7, 2012 at 10:19 AM, Shawn Guo <shawn.guo at linaro.org> wrote:
>
>> -static struct notifier_block twd_cpufreq_nb = {
>> -       .notifier_call = twd_cpufreq_transition,
>> +static struct notifier_block twd_clk_nb = {
>> +       .notifier_call = twd_rate_change,
>
> But what happens if there is a platform which is now using this through
> cpufreq and has not yet switched to the common clock? It regresses
> right, because no notifications arrive anymore? Does it even compile?

Bah too late in the afternoon :-(

So the real question is - are we sure that imx6 is the last platform
migrated to common clock of all those using the CPUfreq scaling
(this seems to be the last piece) such that
we don't break anything....

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list