All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] armv8: apple: Disable PSCI reset
@ 2021-12-21 16:31 Mark Kettenis
  2022-01-15 12:38 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Kettenis @ 2021-12-21 16:31 UTC (permalink / raw)
  To: u-boot; +Cc: 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.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
---
 arch/arm/cpu/armv8/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 && \
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] armv8: apple: Disable PSCI reset
  2021-12-21 16:31 [PATCH] armv8: apple: Disable PSCI reset Mark Kettenis
@ 2022-01-15 12:38 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2022-01-15 12:38 UTC (permalink / raw)
  To: Mark Kettenis; +Cc: u-boot

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

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!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-15 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21 16:31 [PATCH] armv8: apple: Disable PSCI reset Mark Kettenis
2022-01-15 12:38 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.