android_kernel_samsung_a7y1.../arch/arm/common
Marek Szyprowski f33ce29874 ARM: 8847/1: pm: fix HYP/SVC mode mismatch when MCPM is used
[ Upstream commit ca70ea43f80c98582f5ffbbd1e6f4da2742da0c4 ]

MCPM does a soft reset of the CPUs and uses common cpu_resume() routine to
perform low-level platform initialization. This results in a try to install
HYP stubs for the second time for each CPU and results in false HYP/SVC
mode mismatch detection. The HYP stubs are already installed at the
beginning of the kernel initialization on the boot CPU (head.S) or in the
secondary_startup() for other CPUs. To fix this issue MCPM code should use
a cpu_resume() routine without HYP stubs installation.

This change fixes HYP/SVC mode mismatch on Samsung Exynos5422-based Odroid
XU3/XU4/HC1 boards.

Fixes: 3721924c8154 ("ARM: 8081/1: MCPM: provide infrastructure to allow for MCPM loopback")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:40:46 +02:00
..
bL_switcher_dummy_if.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bL_switcher.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dmabounce.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
firmware.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
icst.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
it8152.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
locomo.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mcpm_entry.c ARM: 8847/1: pm: fix HYP/SVC mode mismatch when MCPM is used 2020-04-07 13:40:46 +02:00
mcpm_head.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mcpm_platsmp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sa1111.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
scoop.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sharpsl_param.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vlock.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vlock.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30