[PATCH] ARM: ux500: Fix regression while init PM domains

Arnd Bergmann arnd at arndb.de
Thu Oct 19 08:46:46 PDT 2017


On Mon, Oct 9, 2017 at 1:31 AM, Linus Walleij <linus.walleij at linaro.org> wrote:
> On Fri, Oct 6, 2017 at 6:20 AM, Ulf Hansson <ulf.hansson at linaro.org> wrote:
>
>> The commit afece3ab9a36 ("PM / Domains: Add time accounting to various
>> genpd states") causes a boot regression for ux500.
>>
>> The problem occurs when the ux500 machine code calls pm_genpd_init(), which
>> since the above change triggers a call to ktime_get(). More precisely,
>> because ux500 initializes PM domains in the init_IRQ() phase of the boot,
>> timekeeping has not yet been initialized.
>>
>> Fix the problem by moving the initialization of the PM domains to after
>> timekeeping has been initialized.
>>
>> Fixes: afece3ab9a36 ("PM / Domains: Add time accounting to various genpd..")
>> Cc: Thara Gopinath <thara.gopinath at linaro.org>
>> Cc: "Rafael J. Wysocki" <rjw at rjwysocki.net>
>> Signed-off-by: Ulf Hansson <ulf.hansson at linaro.org>
>
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
>
> ARM SoC folks: please apply this directly for fixes!

Applied, thanks!



More information about the linux-arm-kernel mailing list