Re: [PATCH v2] arm64: dts: qcom: shikra: Raise CPU critical trips
From: Gaurav Kohli
Date: Sat Dec 05 2026 - 01:52:14 EST
On 12/5/2026 12:38 AM, Bjorn Andersson wrote:
On Sun, Oct 25, 2026 at 01:33:05PM +0530, Gaurav Kohli wrote:
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.
"One of the 67 different firmware images in Shikra performs thermal
mitigation at 115C, if we configure the kernel to shut down at the same
temperature, the firmware will be sad. Change it a bit so that we can
all be happy."
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.
I would expect that we put this at 118C because the design says so, not
because it's a random value between "the one that makes firmware happy"
and the hardware cutoff.
Leave the hot trips, non-CPU critical trips and GPUSS passive cooling
map unchanged.
Why? How the hot trips relate to the problem that you're describing
above?
will drop this.
Please describe the problem in terms of how thermal mitigation is
expected to work across firmware, Linux, and hardware - not in terms of
"let's move numbers around so they don't overlap".
thanks Bjorn for review, will send the new version.
Thanks,
Bjorn
Signed-off-by: Gaurav Kohli <gaurav.kohli@xxxxxxxxxxxxxxxx>
---
Changes in v2:
- Move critical support at 118. (Abel)
- Link to v1: https://lore.kernel.org/r/20260924-shikra_crit_trip-v1-1-730c48fa998e@xxxxxxxxxxxxxxxx
---
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@xxxxxxxxxxxxxxxx>