arm64: dts: qcom: x1e80100: Apply consistent critical thermal shutdown
[ Upstream commit 03f2b8eed73418269a158ccebad5d8d8f2f6daa1 ]
The firmware configures the TSENS controller with a maximum temperature of
120°C. When reaching that temperature, the hardware automatically triggers
a reset of the entire platform. Some of the thermal zones in x1e80100.dtsi
use a critical trip point of 125°C. It's impossible to reach those.
It's preferable to shut down the system cleanly before reaching the
hardware trip point. Make the critical temperature trip points consistent
by setting all of them to 115°C and apply a consistent hysteresis.
The ACPI tables also specify 115°C as critical shutdown temperature.
Cc: stable@vger.kernel.org
Fixes: 4e915987ff ("arm64: dts: qcom: x1e80100: Enable tsens and thermal zone nodes")
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250219-x1e80100-thermal-fixes-v1-2-d110e44ac3f9@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b8de1a5029
commit
9cd06b2ebe
@@ -6414,8 +6414,8 @@
|
||||
};
|
||||
|
||||
aoss0-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -6440,7 +6440,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6466,7 +6466,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6492,7 +6492,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6518,7 +6518,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6544,7 +6544,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6570,7 +6570,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6596,7 +6596,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6622,7 +6622,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6640,8 +6640,8 @@
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -6658,8 +6658,8 @@
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -6676,7 +6676,7 @@
|
||||
};
|
||||
|
||||
mem-critical {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6694,7 +6694,7 @@
|
||||
};
|
||||
|
||||
video-critical {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6712,8 +6712,8 @@
|
||||
};
|
||||
|
||||
aoss0-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -6738,7 +6738,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6764,7 +6764,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6790,7 +6790,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6816,7 +6816,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6842,7 +6842,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6868,7 +6868,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6894,7 +6894,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6920,7 +6920,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -6938,8 +6938,8 @@
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -6956,8 +6956,8 @@
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -6974,8 +6974,8 @@
|
||||
};
|
||||
|
||||
aoss0-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -7000,7 +7000,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7026,7 +7026,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7052,7 +7052,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7078,7 +7078,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7104,7 +7104,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7130,7 +7130,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7156,7 +7156,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7182,7 +7182,7 @@
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7200,8 +7200,8 @@
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -7218,8 +7218,8 @@
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -7236,8 +7236,8 @@
|
||||
};
|
||||
|
||||
aoss0-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -7254,8 +7254,8 @@
|
||||
};
|
||||
|
||||
nsp0-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -7272,8 +7272,8 @@
|
||||
};
|
||||
|
||||
nsp1-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -7290,8 +7290,8 @@
|
||||
};
|
||||
|
||||
nsp2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -7308,8 +7308,8 @@
|
||||
};
|
||||
|
||||
nsp3-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -7334,7 +7334,7 @@
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7360,7 +7360,7 @@
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7386,7 +7386,7 @@
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7412,7 +7412,7 @@
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7438,7 +7438,7 @@
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7464,7 +7464,7 @@
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7490,7 +7490,7 @@
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7516,7 +7516,7 @@
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -7535,7 +7535,7 @@
|
||||
|
||||
camera0-critical {
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -7553,7 +7553,7 @@
|
||||
|
||||
camera0-critical {
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user