Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9173739pxu; Mon, 28 Dec 2020 08:24:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyH06/G6CHIG/eLxZiiqM7sflruRu/+OnikjztqyXz+gvJZynxvxyohtXQNnVap9mdx3qzd X-Received: by 2002:a17:906:1197:: with SMTP id n23mr42637656eja.359.1609172667750; Mon, 28 Dec 2020 08:24:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609172667; cv=none; d=google.com; s=arc-20160816; b=MLJfqKkxt1+HFg1WxatPDCg5q7K0k/9X8MvgOGnx5zfFl2in7s44s0fa5/gFC2Rq7d F/9iQ3m7USi7sOy931RrL8RwviRT+KwfdJxEFuViFzozVNN8UwW34XbOqpMpn7iIEc5c DwsmWsESTyDEgvjzOjSVtpuSQoVzDeO02OwylJbF4vsPW+adtwdgBw0o+Yb8SE0hA+Rd YtHIxnaCzIGnsPWfTd8B+NU/Y1mtj2qH20ndRRTfwaQfiwPmRLqYorkPdMSurNtiT5sA qcjjJJY0Kbj2JgXba8zN30Wdi4BhEVMlgAu0qs7T+jVASRRLSEWh5rcEdXqmhjZKPIc3 ZpUw== 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=tZE/zRzs0yjs1de/qKD/2pmaieg4huBvnXfPreg8VF0=; b=rNlJleNcF/D4HumPgmPsPXNIouDFeHzt5O5kT0GlRTIQ1PIh0nmnKu1zY2M/PnlCw/ D3lEXG0BWWkaVi9CiuAvEO/CwZ4EciZV8hnGU193hdOzAfvYAWmwU0jLCJLYyYLiqg5T dWD8zdHSmBjtyHwHSFi/D2h97ppm7n6/aht0xtIOn39/82DZo95cn7whns/5D4m7NG43 +clQmViu+v+kqMkIhbvusQISmuD8zQmxmFegzUOPds/0DABA2pYJSi3Gjg+uZUQiAzHA xMh+qljx5M1EG+pulZNlZ/Cj5vH+i2qnef460bKOisPP007PmDquZYyv42UYUz01i+7j iKog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tqHSmoDQ; 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 j24si18985743ejd.743.2020.12.28.08.24.04; Mon, 28 Dec 2020 08:24:27 -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=tqHSmoDQ; 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 S2440969AbgL1QWM (ORCPT + 99 others); Mon, 28 Dec 2020 11:22:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:39848 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732004AbgL1NMS (ORCPT ); Mon, 28 Dec 2020 08:12:18 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C0004207C9; Mon, 28 Dec 2020 13:12:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609161123; bh=OYEf+v+oc51Fy2rq6kYSwVHuRSWo7//kbPs8SZEMz9o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tqHSmoDQpJvrUHAAo1vwTHjKcJjuBMfWLqGCdpnT51T7ft+1THonPf1pCvajPgF3l 4b/L0Ve/2dM+bsTxMxevemwx7Gg2koe4bq7j63hiZp3zf+hUFBB+XnIBimLVM1e3RV LQx3SQrRKgLrVPtCf1nYKxpTYJVIB8euJ4I/ULPw= 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 4.14 079/242] arm64: dts: exynos: Correct psci compatible used on Exynos7 Date: Mon, 28 Dec 2020 13:48:04 +0100 Message-Id: <20201228124908.576978273@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124904.654293249@linuxfoundation.org> References: <20201228124904.654293249@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 9a3fbed1765af..875297a470dab 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -65,8 +65,10 @@ }; psci { - compatible = "arm,psci-0.2"; + compatible = "arm,psci"; method = "smc"; + cpu_off = <0x84000002>; + cpu_on = <0xC4000003>; }; soc: soc { -- 2.27.0