]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bf6ee9cf94259ada35549face95828726fc4dc9
tree8dadfdf39f29fba9e1e7b8f010fa772439f673ef
parent80b14df69c0d19e818a272f6a3e9e4c08b84df1b
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: 12c07e4dbd8f ("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