Received: by 2002:a05:7412:8d06:b0:f9:332d:97f1 with SMTP id bj6csp29720rdb; Mon, 18 Dec 2023 08:06:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+VvF55h1S+Ga4ZNS44YHNmwtAFAVJCdmnMCtSkYLoYFrmTNoUWIaFdb0YZBzARXNg8WQb X-Received: by 2002:a17:903:1205:b0:1d0:af43:9354 with SMTP id l5-20020a170903120500b001d0af439354mr18941424plh.100.1702915614381; Mon, 18 Dec 2023 08:06:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702915614; cv=none; d=google.com; s=arc-20160816; b=h5WxMRPoGhsfMMc7CgNmP61ttGXZh9HMdDzGJAiGQrgTv7UMMnxRfLZFT3NBR0+ZdO 6z/5pAYanOmQLxC5RPws1EidqvXT6D4Co7/x+QrPXS348j4vi8StfXEgUHvsq7C6RWaS 3F+STvRhSG0b3zes+O+33XR+9baJkQgd4uKr4AOyWfO4Y9xA/+vQO0VIDT0MI7NKAP0l 5HfT6xDEkQobaK55UNRGs1cls1cNPajqbyxeqLKbfpvZ029xKYpA1WrL7yjPTwrP9VIe nNcyqxil96kIs6I1k9eihDfY/QHtzEODR8ymlXdzSUeeHdKVDEzZy2CTQhXKqUK15nLE i2Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=0legLdqA3HMiABFAk1IEGD+aB3bRG1lPUakJuX6NHbk=; fh=rEVFm9YKCHx5M/iMjT98S44/HnQ1Oqs3Kh4kDoUSPds=; b=p95Jip5uSWWxMcK2q3RGqlYvHZMYMiAbJVO3Rh9CMcwRdh7HidUK5uJ2CEZAUHly8S H82XnWAnoB+X0P9aI8WroX2zj08F65606yeHD4jrnCi9jHiZ8DkjfHIxkcXb6sWqQMh3 DYjujscTAr8HBX1VspFMCZKCEgJ6D4y3dY/gWB+6SqYnPCfrWEr/7lppMhnvAupuEcKf 6P12n9VR6XkJTfkHFNIP9wHfEY6YwCKySs7lbqWL1gK6PK9oyJoZ6GUq/ZAvQeafcFKP LsYKTpAxFw/Q3lDizMbSg6rlibutCfOdWsJ3N4i3itETuMYCkluTvNXxf2zQxJZoRvTv JjUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Wt/CvXe2"; spf=pass (google.com: domain of linux-kernel+bounces-4024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4024-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j4-20020a170902da8400b001cfbd3f38c6si18214731plx.302.2023.12.18.08.06.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 08:06:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Wt/CvXe2"; spf=pass (google.com: domain of linux-kernel+bounces-4024-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4024-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0C1B3285014 for ; Mon, 18 Dec 2023 16:06:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8124F74E0A; Mon, 18 Dec 2023 16:02:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Wt/CvXe2" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4B89C74094 for ; Mon, 18 Dec 2023 16:02:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2cc3f5e7451so39049181fa.2 for ; Mon, 18 Dec 2023 08:02:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702915361; x=1703520161; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0legLdqA3HMiABFAk1IEGD+aB3bRG1lPUakJuX6NHbk=; b=Wt/CvXe2YjAuwwoZhsuSGlIXKA2Pfm/6sP5w+EkzUGqIfjz/80Wi1zzlcgh/knNUbH bT9u+0hIa3Ko4+AFQZkQ69Qi9H+vHBkpxfucQt//KRruG+Vu5qjuauLFEi5wlRZF7vDW wJAd27F8u01K3LJmQBzSIhuS69MIH8r8WSPXmVmHTESOuy0Hvuj2V7/FIC4yxTTORA5W 95/VLjoyld4SmuyC2vLtxBH9RqyhBcrQOJ3IIHYbjDpOfEj56X7BY58IGhi8a5XxS7Ko Vql3H4KA0KJOjBS0cKErGsRgOpNqdv8FyafohOFoOe1fk5NfXF9XLsXCn3XzjLmrnXuy pNeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702915361; x=1703520161; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0legLdqA3HMiABFAk1IEGD+aB3bRG1lPUakJuX6NHbk=; b=c0a6vv/VuUKgC1fdzWU1NN8JW8cM7S5szgyoserPH0T7qz7eUYfR9xESxQ1JlYfvVT YEBlETyBY/59MWnU7KNIU2hOVfeOQGT4W7x2+z7n1QGx/5Hqa8hms/4Dbl4tdOZZdb3b jkS6kSZDWbGbHLrJXibEHFzt/85olLfMFcKeuWrqUw2fBfCNLZrpjkSWMEQnWLRetcDz S65KPc+dF0f6FXsoGySCKGL9okxnR2a0tI+hbHunWZhBFu1JjC2aOaFQPPgsnPQ8CiSj 5rQ0YZv7d7Kv0nTR1NFtHXYgweVWT40vfbfb9Kq9VU6dsP4DPSUC2ah4rHsdC5DAbVb9 8KOw== X-Gm-Message-State: AOJu0YwVFfdxbx7ar8i0eGxBWDc29DTQgaiaJ5qOrKDCK4koF3vx+HKE TAnhYigP0m0hVBM9oYQmSWnkjA== X-Received: by 2002:a2e:b8c9:0:b0:2cb:2bd7:38fc with SMTP id s9-20020a2eb8c9000000b002cb2bd738fcmr8080147ljp.15.1702915361417; Mon, 18 Dec 2023 08:02:41 -0800 (PST) Received: from [10.167.154.1] (178235179137.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.137]) by smtp.gmail.com with ESMTPSA id ts7-20020a170907c5c700b00a1dd58874b8sm14260693ejc.119.2023.12.18.08.02.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 08:02:41 -0800 (PST) From: Konrad Dybcio Date: Mon, 18 Dec 2023 17:02:12 +0100 Subject: [PATCH 11/12] arm64: dts: qcom: sm8550: Separate out X3 idle state Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231218-topic-8550_fixes-v1-11-ce1272d77540@linaro.org> References: <20231218-topic-8550_fixes-v1-0-ce1272d77540@linaro.org> In-Reply-To: <20231218-topic-8550_fixes-v1-0-ce1272d77540@linaro.org> To: Bjorn Andersson , Georgi Djakov , Abel Vesa , Michael Turquette , Stephen Boyd , Taniya Das , Jagadeesh Kona , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sai Prakash Ranjan Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1702915332; l=1364; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=PL04FEARqu9VLzK2p2tNsar8c78v1Xz6Zm6Z8pmFlvw=; b=cOfL7ZgcpBQGzjkcau2Mz4guvK26PJFAx43Nzowi7aW94eAPfCu383h/id6jzhAQmgNKwGNws Ob1bijCWbBlAINYEcbhIzOK4F6UG2ZTv6+OCGx/DK6zbrNfd5GPwige X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= The X3 core has different entry/exit/residency time requirements than the big cluster. Denote them to stop confusing the scheduler. Fixes: ffc50b2d3828 ("arm64: dts: qcom: Add base SM8550 dtsi") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index d6edd54f3ad3..5143a08c4867 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -300,6 +300,16 @@ BIG_CPU_SLEEP_0: cpu-sleep-1-0 { min-residency-us = <4791>; local-timer-stop; }; + + PRIME_CPU_SLEEP_0: cpu-sleep-2-0 { + compatible = "arm,idle-state"; + idle-state-name = "goldplus-rail-power-collapse"; + arm,psci-suspend-param = <0x40000004>; + entry-latency-us = <500>; + exit-latency-us = <1350>; + min-residency-us = <7480>; + local-timer-stop; + }; }; domain-idle-states { @@ -401,7 +411,7 @@ CPU_PD6: power-domain-cpu6 { CPU_PD7: power-domain-cpu7 { #power-domain-cells = <0>; power-domains = <&CLUSTER_PD>; - domain-idle-states = <&BIG_CPU_SLEEP_0>; + domain-idle-states = <&PRIME_CPU_SLEEP_0>; }; CLUSTER_PD: power-domain-cluster { -- 2.43.0