ARM: exynos: MCPM: Restore big.LITTLE cpuidle support
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 29 Jun 2020 10:02:18 +0000 (12:02 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 29 Jun 2020 18:27:33 +0000 (20:27 +0200)
commitea9dd8f61c8a890843f68e8dc0062ce78365aab8
tree8dadfdf39f29fba9e1e7b8f010fa772439f673ef
parent5b17a04addc29201dc142c8d2c077eb7745d2e35
ARM: exynos: MCPM: Restore big.LITTLE cpuidle support

Call exynos_cpu_power_up(cpunr) unconditionally. This is needed by the
big.LITTLE cpuidle driver and has no side-effects on other code paths.

The additional soft-reset call during little core power up has been added
to properly boot all cores on the Exynos5422-based boards with secure
firmware (like Odroid XU3/XU4 family). This however broke big.LITTLE
CPUidle driver, which worked only on boards without secure firmware (like
Peach-Pit/Pi Chromebooks). Apply the workaround only when board is
running under secure firmware.

Fixes: 833b5794e330 ("ARM: EXYNOS: reset Little cores when cpu is up")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/mach-exynos/mcpm-exynos.c