Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9036655pxu; Mon, 28 Dec 2020 05:05:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJw5LykQ6vdbONf2nGyAI9niC1tCCbLiQyANx8T+c5rdmG4SbQQ6LpeVvG+PfxyOvkUwjmmV X-Received: by 2002:a17:906:3553:: with SMTP id s19mr40723156eja.95.1609160720395; Mon, 28 Dec 2020 05:05:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609160720; cv=none; d=google.com; s=arc-20160816; b=DQ9oH1G712EteB5/wXUlFBGVuAfGD4rBQL1F1+9HlZGUmGU5UACMiL1q7wKhbixbed mdu1wGffB5dkpIFZKoCp/uUIgNP0aDVvQjQ9jtTk9kLasFTMXfv1OAfJFhW4lfRlQIth MuKVksZXqNlIliJX7O2UHUcnIfNLqIHUitlAcviyRxUo4VI4GRDJTJ1bs4kGWTT25auN KZCofR4iODUdfJpHGIp3afGxBjpll3RE70GqsT5kaxsCOuGczjzdsOPjIYwsUH8x8ZVd XaCoe+/JhXbkQKx4KFCoRAYK2Ja+PaTyAAKx79NxQTxJP29wExad4sQYPJ3avxnCd3yE rJoQ== 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=rTCBqjWPIAw1YxHTTUj6FjEq4tZwuypHitUc9ZtzJk8=; b=avN8xcErALmXmL7WJPmRzeNBoRpXEgbX033d76mp9t9k64sFTzBv1SMUVL7btvIgBJ V79WTa/faMsKYnGIRsWS7o4GZdoos9JDL5krys3UxXRPfjBjdxf3zssBZXlOIvlFtV9n VC8LPixVjJ6UQPQxKRPtAcijDIzw0sZXesH44RVMWFn4FgYgBXDmUcLjUbMqwL2x4xcI aZJcyqtsBySwp8XxrX1S6IvJ8NXUf+mAmEc/c+GEIlZ/Bu6i4ii4nRXIhwCsetUw37Cm sQOWgAIkaIq7SCZlNLVpo1307UWT7C7oqa/mr8jWam5hMprJMF0810xLdpCZRQS+s9CU Golw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dn4B56jF; 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 97si20981066edr.112.2020.12.28.05.04.55; Mon, 28 Dec 2020 05:05:20 -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=dn4B56jF; 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 S1730104AbgL1NCc (ORCPT + 99 others); Mon, 28 Dec 2020 08:02:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:58198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730091AbgL1NCa (ORCPT ); Mon, 28 Dec 2020 08:02:30 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 88439224D2; Mon, 28 Dec 2020 13:02:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609160535; bh=wSDyD2Be5KnwnGjocgvnSnT0VL9YoD0Jsyk1kXVqQm4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dn4B56jFHZCMt2F7s/CQ/YeDpjnB2Kcm+Zr+A7jAjhKnqV5zzyLwypPO0EGy/eV97 DkfHhoIg3rY0z+TYgbA5sFaz6S+jL9t+hB3pGrhZbjytzp40jz9HPmhT3j48IDXDAm 69Z1hb5IN6F50IHzpFSvYMNFYMEuIdbbH9q7Dvrs= 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.9 056/175] arm64: dts: exynos: Correct psci compatible used on Exynos7 Date: Mon, 28 Dec 2020 13:48:29 +0100 Message-Id: <20201228124855.974867631@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124853.216621466@linuxfoundation.org> References: <20201228124853.216621466@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 6328a66ed97e4..4c7c40ce50662 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