linux/arch/arm/mach-ux500
Ulf Hansson 72ecd79386 ARM: ux500: Fix regression while init PM domains
The commit afece3ab9a ("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: afece3ab9a ("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: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-10-19 17:46:36 +02:00
..
Kconfig ARM: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB 2016-06-03 12:18:13 -07:00
Makefile ARM: ux500: resume the second core properly 2017-03-02 17:53:17 +01:00
cpu-db8500.c ARM: ux500: Fix regression while init PM domains 2017-10-19 17:46:36 +02:00
db8500-regs.h ARM: ux500: avoid warning in ux500_read_asicid 2013-06-04 11:21:58 +02:00
platsmp.c ARM: SoC: late DT updates for v4.11 2017-03-03 16:15:48 -08:00
pm.c ARM: ux500: Fix regression while init PM domains 2017-10-19 17:46:36 +02:00
pm_domains.c ARM: make of_device_ids const 2015-02-19 09:44:25 +01:00
pm_domains.h ARM: ux500: Initial support for PM domains 2014-10-28 10:48:23 +01:00