• Ulf Hansson's avatar
    ARM: ux500: Fix regression while init PM domains · 72ecd793
    Ulf Hansson authored
    The commit afece3ab ("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: afece3ab ("PM / Domains: Add time accounting to various genpd..")
    Cc: Thara Gopinath <thara.gopinath@linaro.org>
    Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    72ecd793
Name
Last commit
Last update
..
alpha Loading commit data...
arc Loading commit data...
arm Loading commit data...
arm64 Loading commit data...
blackfin Loading commit data...
c6x Loading commit data...
cris Loading commit data...
frv Loading commit data...
h8300 Loading commit data...
hexagon Loading commit data...
ia64 Loading commit data...
m32r Loading commit data...
m68k Loading commit data...
metag Loading commit data...
microblaze Loading commit data...
mips Loading commit data...
mn10300 Loading commit data...
nios2 Loading commit data...
openrisc Loading commit data...
parisc Loading commit data...
powerpc Loading commit data...
s390 Loading commit data...
score Loading commit data...
sh Loading commit data...
sparc Loading commit data...
tile Loading commit data...
um Loading commit data...
unicore32 Loading commit data...
x86 Loading commit data...
xtensa Loading commit data...
.gitignore Loading commit data...
Kconfig Loading commit data...