armv8: apple: Disable PSCI reset
authorMark Kettenis <kettenis@openbsd.org>
Tue, 21 Dec 2021 16:31:50 +0000 (17:31 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jan 2022 18:16:11 +0000 (13:16 -0500)
Apple's ARMv8 cores don't implement EL3 and therefore don't
provide a PSCI implementation.  So don't attempt to use
PSCI to reset on machines using Apple SoCs.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
arch/arm/cpu/armv8/Kconfig

index 0a3fdfa..9967376 100644 (file)
@@ -102,7 +102,7 @@ config PSCI_RESET
        bool "Use PSCI for reset and shutdown"
        default y
        select ARM_SMCCC if OF_CONTROL
-       depends on !ARCH_EXYNOS7 && !ARCH_BCM283X && \
+       depends on !ARCH_APPLE && !ARCH_BCM283X && !ARCH_EXYNOS7 && \
                   !TARGET_LS2080AQDS && \
                   !TARGET_LS2080ARDB && !TARGET_LS2080A_EMU && \
                   !TARGET_LS1088ARDB && !TARGET_LS1088AQDS && \