mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 03:58:02 +07:00
51a0daf64d
If PSCI is available then most likely we are running on PSCI-enabled U-Boot which, we assume, has already taken care of resetting CNTVOFF and updating counter module before switching to non-secure mode and we don't need to. As the psci_smp_available() helper always returns false if CONFIG_SMP is disabled, it can't be used safely as an indicator of PSCI usage. For that reason, we check for the mandatory PSCI operation to be available. Please note, an extra check to prevent secure_cntvoff_init() from being called for secondary CPUs in headsmp-apmu.S is not needed, as SMP code for APMU based system is not executed if PSCI is in use. Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
||
---|---|---|
.. | ||
common.h | ||
emev2.h | ||
headsmp-apmu.S | ||
headsmp-scu.S | ||
headsmp.S | ||
Kconfig | ||
Makefile | ||
platsmp-apmu.c | ||
platsmp-scu.c | ||
platsmp.c | ||
pm-rcar-gen2.c | ||
r8a7779.h | ||
rcar-gen2.h | ||
regulator-quirk-rcar-gen2.c | ||
setup-emev2.c | ||
setup-r7s9210.c | ||
setup-r7s72100.c | ||
setup-r8a73a4.c | ||
setup-r8a7740.c | ||
setup-r8a7778.c | ||
setup-r8a7779.c | ||
setup-rcar-gen2.c | ||
setup-sh73a0.c | ||
sh73a0.h | ||
smp-emev2.c | ||
smp-r8a7779.c | ||
smp-sh73a0.c | ||
suspend.c | ||
timer.c |