diff mbox series

armv8: apple: Disable PSCI reset

Message ID 20211221163150.72189-1-kettenis@openbsd.org
State Accepted
Commit 3cdfa312c66f7cad0a654f267ba89c587f45273a
Delegated to: Tom Rini
Headers show
Series armv8: apple: Disable PSCI reset | expand

Commit Message

Mark Kettenis Dec. 21, 2021, 4:31 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Jan. 15, 2022, 12:38 p.m. UTC | #1
On Tue, Dec 21, 2021 at 05:31:50PM +0100, Mark Kettenis wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
index 0a3fdfa471..9967376eca 100644
--- a/arch/arm/cpu/armv8/Kconfig
+++ b/arch/arm/cpu/armv8/Kconfig
@@ -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 && \