Devicetree
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: qcom: shikra: Raise CPU critical trips
@ 2026-10-25  8:03 Gaurav Kohli
  2026-12-04 15:37 ` Gaurav Kohli
  2026-12-04 19:08 ` Bjorn Andersson
  0 siblings, 2 replies; 3+ messages in thread
From: Gaurav Kohli @ 2026-10-25  8:03 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, Gaurav Kohli

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>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-04 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-25  8:03 [PATCH v2] arm64: dts: qcom: shikra: Raise CPU critical trips Gaurav Kohli
2026-12-04 15:37 ` Gaurav Kohli
2026-12-04 19:08 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox