Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9131331pxu; Mon, 28 Dec 2020 07:23:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwE5FYHR1XW5yqrDxINfMNoJ9zKINK4HuuxYiQ5uHghHwdOXAhbva/py5gIYqsiJ7Le8O3O X-Received: by 2002:a17:906:1393:: with SMTP id f19mr41433423ejc.431.1609169006090; Mon, 28 Dec 2020 07:23:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609169006; cv=none; d=google.com; s=arc-20160816; b=Zz8eUFEa6eOrGcZxwYD7D2GHNBqxtCu/LOzAGaKW0PuUmiP5ddXLPGFafTJQzEF6Yc Pn1AhkW/wROt8ECnW8c13zjOv6w22ow60f2XocWB96F1xs2YolKFsUsoPg6wolnCvjs5 lv1uL5XLHjsR8ZKMgghzZSDn6WLVnCKwOSMAJJtHAhC3vYUSz+ygK9rwoU68RENoLPb7 RPrEO4MTFEnuud6egbbuIpZxJX0YE8yEFwA13WvZQwl84GcbynVLpAGDCKhhQE3cbjln YGn7wPVo7sC1/twXdLGJaw+M8f9PKKEQ5lXReZUdltXPAb83XFxkbItAQp1+DO0VgcqS YmEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WWVFZCtvP6ecVfMR5rTbuuWIdNZOdI1SCPkkXXwGd4Q=; b=ScTQv4iEKpI+JMB3Rbqjv9DcnC0lv2LCuXR45Da5XVDrQLKBSAFZB9p8V5J6ubmbj1 lE+Iu+yjgfs1g0NaCAiOYI9UTvo1AcYvKvgGn9OOEecxHrPu6U4oS0QpJZuVvyAjMtUK 8BDLC+EKiXWEvBvgybE6pJp4GUsc3HcKewbyKAE04nN+lEB5yjpVaUcs1Se7I6gNP/L8 JaXkHLc63vuUIMdGQ+7mXZCI5VNfniJ4UZeVkw688JZ0vPSjABWRgmHRdzACtkbXCNGl DiB0Tk3y+HB4fCoCr1FIiWlkMhYh7PrQt8OnQ4eSEZOscMQtmg0HdaSTFxw4nTBKpoyg NKTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ryCv65aC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ca4si20538968edb.559.2020.12.28.07.23.02; Mon, 28 Dec 2020 07:23:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ryCv65aC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436844AbgL1OC1 (ORCPT + 99 others); Mon, 28 Dec 2020 09:02:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:35908 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729403AbgL1OCX (ORCPT ); Mon, 28 Dec 2020 09:02:23 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 242A320715; Mon, 28 Dec 2020 14:02:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164127; bh=7IDpwvkh2/CeIX75Mr6xcB2w18dVth07cTES6nGsdmM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ryCv65aCjtObEGNvAWogyoNtKPGLNuwRhrXtusO8dtXAMMMt+gVAxThSjV8jxUj2F 5HPatGqsHVFv7pO5z7+hQ7VaM7LIoSYlntYo475L7QcfyR7rbeBBkAZOekSj/1Llrb KbgQ2kxTUSWujt2vADvl+UOcZpNeXZST5ZfG5C/0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Pawe=C5=82=20Chmiel?= , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 5.10 070/717] arm64: dts: exynos: Correct psci compatible used on Exynos7 Date: Mon, 28 Dec 2020 13:41:08 +0100 Message-Id: <20201228125024.344449748@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paweł Chmiel [ Upstream commit e1e47fbca668507a81bb388fcae044b89d112ecc ] It's not possible to reboot or poweroff Exynos7420 using PSCI. Instead we need to use syscon reboot/poweroff drivers, like it's done for other Exynos SoCs. This was confirmed by checking vendor source and testing it on Samsung Galaxy S6 device based on this SoC. To be able to use custom restart/poweroff handlers instead of PSCI functions, we need to correct psci compatible. This also requires us to provide function ids for CPU_ON and CPU_OFF. Fixes: fb026cb65247 ("arm64: dts: Add reboot node for exynos7") Fixes: b9024cbc937d ("arm64: dts: Add initial device tree support for exynos7") Signed-off-by: Paweł Chmiel Link: https://lore.kernel.org/r/20201107133926.37187-2-pawel.mikolaj.chmiel@gmail.com Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index 545e67901938a..7599e1a00ff51 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -79,8 +79,10 @@ }; psci { - compatible = "arm,psci-0.2"; + compatible = "arm,psci"; method = "smc"; + cpu_off = <0x84000002>; + cpu_on = <0xC4000003>; }; soc: soc@0 { -- 2.27.0