mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Subject: [PATCH v2] arm64: dts: qcom: shikra: Raise CPU critical trips
Date: Sun, 25 Oct 2026 13:33:05 +0530	[thread overview]
Message-ID: <20261025-shikra_crit_trip-v2-1-79e429cb9350@oss.qualcomm.com> (raw)

Shikra firmware starts CPU thermal mitigation at 115 C and also
handles the 117 C threshold, while hardware shutdown is at 120 C. A
Linux critical trip at 115 C overlaps the beginning of firmware
mitigation and can shut the system down before firmware has had a
chance to complete its thermal sequence.

Raise the CPU and CPUSS critical trips to 118 C instead. This keeps a
Linux graceful shutdown path before the hardware cutoff while allowing
the firmware mitigation range to run first. Leave the hot trips,
non-CPU critical trips and GPUSS passive cooling map unchanged.

Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
---
Changes in v2:
- Move critical support at 118. (Abel)
- Link to v1: https://lore.kernel.org/r/20260924-shikra_crit_trip-v1-1-730c48fa998e@oss.qualcomm.com
---
 arch/arm64/boot/dts/qcom/shikra.dtsi | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi
index c1f06f692f66..c4e1b78e2673 100644
--- a/arch/arm64/boot/dts/qcom/shikra.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra.dtsi
@@ -3756,7 +3756,7 @@ trip-point0 {
 				};
 
 				cpu00-critical {
-					temperature = <115000>;
+					temperature = <118000>;
 					hysteresis = <0>;
 					type = "critical";
 				};
@@ -3774,7 +3774,7 @@ trip-point0 {
 				};
 
 				cpu01-critical {
-					temperature = <115000>;
+					temperature = <118000>;
 					hysteresis = <0>;
 					type = "critical";
 				};
@@ -3792,7 +3792,7 @@ trip-point0 {
 				};
 
 				cpu10-critical {
-					temperature = <115000>;
+					temperature = <118000>;
 					hysteresis = <0>;
 					type = "critical";
 				};
@@ -3810,7 +3810,7 @@ trip-point0 {
 				};
 
 				cpu11-critical {
-					temperature = <115000>;
+					temperature = <118000>;
 					hysteresis = <0>;
 					type = "critical";
 				};
@@ -3828,7 +3828,7 @@ trip-point0 {
 				};
 
 				cpuss0-critical {
-					temperature = <115000>;
+					temperature = <118000>;
 					hysteresis = <0>;
 					type = "critical";
 				};
@@ -3968,7 +3968,7 @@ trip-point0 {
 				};
 
 				cpu02-critical {
-					temperature = <115000>;
+					temperature = <118000>;
 					hysteresis = <0>;
 					type = "critical";
 				};
@@ -3986,7 +3986,7 @@ trip-point0 {
 				};
 
 				cpuss1-critical {
-					temperature = <115000>;
+					temperature = <118000>;
 					hysteresis = <0>;
 					type = "critical";
 				};

---
base-commit: 3d7783543c2646af69ad65825e810060494bea21
change-id: 20260924-shikra_crit_trip-7a11bbb66b71

Best regards,
-- 
Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>


             reply	other threads:[~2026-10-25  8:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-25  8:03 Gaurav Kohli [this message]
2026-12-04 15:37 ` Gaurav Kohli
2026-12-04 19:08 ` Bjorn Andersson
2026-12-05  6:51   ` Gaurav Kohli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261025-shikra_crit_trip-v2-1-79e429cb9350@oss.qualcomm.com \
    --to=gaurav.kohli@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®