Skip to contentSkip to conversation

armv8: apple: Disable PSCI reset

PATCH In review Mark Kettenis 2 participants 2 messages Dec 21, 2021 – Jan 15, 2022 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 armv8: apple: Disable PSCI reset

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.

---
 arch/arm/cpu/armv8/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/armv8/Kconfig +1 -1
index 0a3fdfa471..9967376eca 100644
@@ -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 && \
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · Mark Kettenis

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.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom