Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A8461C433EF for ; Tue, 21 Dec 2021 16:32:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 32AA5812BB; Tue, 21 Dec 2021 17:32:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=openbsd.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=kpnmail.nl header.i=@kpnmail.nl header.b="bsgEO6dY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CE36C81C08; Tue, 21 Dec 2021 17:32:05 +0100 (CET) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.169]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E2BF380FCC for ; Tue, 21 Dec 2021 17:32:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=openbsd.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=kettenis@openbsd.org X-KPN-MessageId: 0e9f9795-627b-11ec-9abf-005056abad63 Received: from smtp.kpnmail.nl (unknown [10.31.155.39]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 0e9f9795-627b-11ec-9abf-005056abad63; Tue, 21 Dec 2021 17:28:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kpnmail.nl; s=kpnmail01; h=mime-version:message-id:date:subject:to:from; bh=TC3BPkb97vwvxDrP+i0xirVoSadVUE98m/3CIEBK2FQ=; b=bsgEO6dYvSmrCSthIHMKPfKB45MQB4pfVm/Fv5ozaWOwPwZ4ecV8pudddwLraw9hHF3+ZELunUwYR 4ir8ZbjF1187SqvC9RiYfPH5MN2bsuh/1d2b7xOijqpdG7pZYrXxpiKWdHQ5PS1BS4EjJu1OkbZV7m Cax1CwLdw3lLF2H0= X-KPN-VerifiedSender: No X-CMASSUN: 33|/EWL1RccJkF6fWjVFq1lFrEHU6Eb/Qaamavt+CxIsd0CEpDsh8Pn43WjPlWr1fG 9YriF/O+ItSTY//FFyVM4Tg== X-Originating-IP: 83.163.83.176 Received: from copland.sibelius.xs4all.nl (sibelius.xs4all.nl [83.163.83.176]) by smtp.xs4all.nl (Halon) with ESMTPSA id 8622edd0-627b-11ec-81f5-005056ab7447; Tue, 21 Dec 2021 17:32:02 +0100 (CET) From: Mark Kettenis To: u-boot@lists.denx.de Cc: Mark Kettenis Subject: [PATCH] armv8: apple: Disable PSCI reset Date: Tue, 21 Dec 2021 17:31:50 +0100 Message-Id: <20211221163150.72189-1-kettenis@openbsd.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 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 --- 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