Received: by 2002:a05:7412:a9a8:b0:f9:92ae:e617 with SMTP id o40csp11079rdh; Wed, 20 Dec 2023 14:14:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFXvlB+1RFZKFzj1k8egT7j/94iuCu4caxwLqPWOzfTRuue9JbTBG8DkT2AnzKF6uVXfcXx X-Received: by 2002:a05:6808:188c:b0:3bb:7549:8d85 with SMTP id bi12-20020a056808188c00b003bb75498d85mr1052459oib.26.1703110447860; Wed, 20 Dec 2023 14:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703110447; cv=none; d=google.com; s=arc-20160816; b=eeOnt3bXJSYT3ZMn3q43GP2H3FLm46ZeS+zS78FqUi1utxyL6eCP4U6JJ3hettBHYV TMfuZXFZt+MKXIYxhY0BeMpniCchdG8Azq+T28RuUC37ydy125dUSZH8z5wMB2iTZ8K1 Dp5rf4IFA681eUkLl5uxGmT86JcXeWvusnF1GE+BezqpLYnEMxUXX8DEvFQp3D9Ps4sw +GKTOQrkhC9izIy2/N52Wn8TClO/aid46vXOTXV84elCs9tAq9jHKG+1Tv3XSXCvTOKc EYQlVFyViWLiZEPEqMSg5X+MWwz2fyxLEEuH0Ftx/laDW60ax4xJRAS4ESpZAtv1Pyw+ 1XtA== 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=9DxvM6dJkXr3AT8uqclVXbZKCSa9zDAjYg1Tc1GwtgQ=; fh=9TjP5Br7/jShLalm0TuDyO1COBRVeysBZiyxhQJm5Ms=; b=BaOdqWNrWSZ+oow4vzrbqzILRG9UetQsp2UYGekHRxnnHZ64HGhuWMKMzKxf9ubMWd HNeZlIiVsJs/bdAd9EVyDbkBAruCQL8C8XPTzn1eaYnsqrhGy6yJj6f+hNRmoT1ZQuQo GILKKA/12/ssCNP3hH1gkW/bV26+8qOK4JHqnsgopGk1czg4rLrjVobOMCGaRjwP17kW iubU4l4BLObR88i51ueht31VaGcFv124NZu7f5SlMfbgBjbiQ67jXPefW3UTWEmJBtVS hhnajLU21y6lA6vhrX0yz9EWLtS5M+vEN+sdWu3Q4fAuupIXrak42IDSoq7V9ogQWmYt LKVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ty9LQw3M; spf=pass (google.com: domain of linux-kernel+bounces-7495-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h6-20020a0cab06000000b0067a956d98d7si660516qvb.358.2023.12.20.14.14.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 14:14:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7495-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ty9LQw3M; spf=pass (google.com: domain of linux-kernel+bounces-7495-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7495-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 99D781C221FC for ; Wed, 20 Dec 2023 22:14:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97D5D4BA8E; Wed, 20 Dec 2023 22:13:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Ty9LQw3M" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 45DD54B5A1 for ; Wed, 20 Dec 2023 22:13:04 +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-ej1-f53.google.com with SMTP id a640c23a62f3a-a2340c803c6so15847066b.0 for ; Wed, 20 Dec 2023 14:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703110382; x=1703715182; 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=9DxvM6dJkXr3AT8uqclVXbZKCSa9zDAjYg1Tc1GwtgQ=; b=Ty9LQw3Mfv6h+l7ZX8byVyljcsnrsUmHW5gabv8COtiYkUicrhDeqaV2oUPDKEey5u 4a+8fw4ZYu61sUd7zfCX3oKADbKQsVDOAv/igS+YcjZmdl1htzoSN+OhekZ5iuq4hnFe gNcgDZW1OqnUeEJhpozsYnd5bznGeDVL2w8MYQVwOdffCFICwMnt10NzrYPxkEmIldGC VVuetXUrZ8iF3OZvy2GWem5UkMImeC/Q+bNa08veVDxC/nYV/qy84BfjWa//khBcKjH+ 7Y9736xLUxb6TTrzutLhMR+hldDnze53GSukHkXg/u3QGUG/LKqC28fFXPx1FsPke3z1 fqiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703110382; x=1703715182; 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=9DxvM6dJkXr3AT8uqclVXbZKCSa9zDAjYg1Tc1GwtgQ=; b=EUvqzneoyXX9uXpT1MeYRGQkYjQrkg3RysXxwEVXXLCrBvqIPJG+77neRK1LeDj3dg E5TjdrSssqvS2/E72/HWHV+Lx5VbgnpKDeM9faArX5AmuLIXjzgNPY3lT1/YL4UeeqIz yYCz5qqUikoLrT003NQIcluI+2UkMVzYsWCFPtSeY0gcWbI3xQmuY2g+wi5SNjS7lsYa 6uwAbf4YfQ/5tXhKSuIrq8QAQ6V7jT4Llm5KtP6+Vnv9IAt9l67hsrhT+QSVQZvgrz7+ 3gqYmrxFAwJbG3KxJ5OBjOyLNva+cmfHOcrI6zwuBkMyr4z6Tc1KEzIwmsbHx1zLmQ97 DhCQ== X-Gm-Message-State: AOJu0Ywmvnf6Z8TfI3QK7TK4TBz9CYyXy/Zmft6t4MFd9q5mNAYC9JZW bNnM+k+ydmBuQjrTKoJCa8Sd0Q== X-Received: by 2002:a17:907:4d7:b0:a26:9c58:3ad8 with SMTP id vz23-20020a17090704d700b00a269c583ad8mr353676ejb.145.1703110382392; Wed, 20 Dec 2023 14:13:02 -0800 (PST) Received: from [10.167.154.1] (178235179206.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.206]) by smtp.gmail.com with ESMTPSA id x22-20020a170906135600b00a235f3b8259sm254654ejb.186.2023.12.20.14.13.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 14:13:02 -0800 (PST) From: Konrad Dybcio Date: Wed, 20 Dec 2023 23:12:56 +0100 Subject: [PATCH RFT v2 3/3] arm64: dts: qcom: sc8280xp: Fix up idle state periods 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: <20230619-topic-sc8280xp-idle-v2-3-cde50bf02f3c@linaro.org> References: <20230619-topic-sc8280xp-idle-v2-0-cde50bf02f3c@linaro.org> In-Reply-To: <20230619-topic-sc8280xp-idle-v2-0-cde50bf02f3c@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Johan Hovold Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703110375; l=1804; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=c3T3c0tRpO5oGLK3Rx2bXv5zepnSj3efGb1cym3Og74=; b=CqWRArCrFNQSGcd2JvKSmBjJO6OK5sVHZ15tRniyJHsxaCCV8BxqNAoXGdQdeffFz3YCYlsxA WZXJiTtkmbVAthr7ZVoTCXFbjZf6/wOhU0slMr7JJH/7YJfDGDINyf8 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Some of the values were wrong, which may have painted a wrong picture to the scheduler. Fix it. Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 62f3f33220ff..7625db4512c7 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -278,9 +278,9 @@ LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 { compatible = "arm,idle-state"; idle-state-name = "little-rail-power-collapse"; arm,psci-suspend-param = <0x40000004>; - entry-latency-us = <355>; - exit-latency-us = <909>; - min-residency-us = <3934>; + entry-latency-us = <702>; + exit-latency-us = <915>; + min-residency-us = <4001>; local-timer-stop; }; @@ -298,9 +298,9 @@ BIG_CPU_SLEEP_1: cpu-sleep-1-1 { compatible = "arm,idle-state"; idle-state-name = "big-rail-power-collapse"; arm,psci-suspend-param = <0x40000004>; - entry-latency-us = <241>; - exit-latency-us = <1461>; - min-residency-us = <4488>; + entry-latency-us = <526>; + exit-latency-us = <1854>; + min-residency-us = <5555>; local-timer-stop; }; }; @@ -325,9 +325,9 @@ CLUSTER_SLEEP_CX_OFF: cluster-sleep-1 { CLUSTER_SLEEP_AOSS_SLEEP: cluster-sleep-2 { compatible = "domain-idle-state"; arm,psci-suspend-param = <0x4100c344>; - entry-latency-us = <3263>; + entry-latency-us = <3638>; exit-latency-us = <6562>; - min-residency-us = <9987>; + min-residency-us = <9826>; }; }; }; -- 2.43.0