mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 21:09:25 -04:00
arm64: dts: qcom: x1e80100: Apply consistent critical thermal shutdown
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>
This commit is contained in:
committed by
Bjorn Andersson
parent
801befff4c
commit
03f2b8eed7
@@ -8470,8 +8470,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
aoss0-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -8496,7 +8496,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8522,7 +8522,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8548,7 +8548,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8574,7 +8574,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8600,7 +8600,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8626,7 +8626,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8652,7 +8652,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8678,7 +8678,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8696,8 +8696,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -8714,8 +8714,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -8732,7 +8732,7 @@ trip-point0 {
|
||||
};
|
||||
|
||||
mem-critical {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8750,7 +8750,7 @@ trip-point0 {
|
||||
};
|
||||
|
||||
video-critical {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8768,8 +8768,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
aoss0-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -8794,7 +8794,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8820,7 +8820,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8846,7 +8846,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8872,7 +8872,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8898,7 +8898,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8924,7 +8924,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8950,7 +8950,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8976,7 +8976,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -8994,8 +8994,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9012,8 +9012,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9030,8 +9030,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
aoss0-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9056,7 +9056,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9082,7 +9082,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9108,7 +9108,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9134,7 +9134,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9160,7 +9160,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9186,7 +9186,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9212,7 +9212,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9238,7 +9238,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
cpu-critical {
|
||||
temperature = <110000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9256,8 +9256,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9274,8 +9274,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
cpuss2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9292,8 +9292,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
aoss0-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9310,8 +9310,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
nsp0-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9328,8 +9328,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
nsp1-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9346,8 +9346,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
nsp2-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9364,8 +9364,8 @@ trip-point0 {
|
||||
};
|
||||
|
||||
nsp3-critical {
|
||||
temperature = <125000>;
|
||||
hysteresis = <0>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9390,7 +9390,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9416,7 +9416,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9442,7 +9442,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9468,7 +9468,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9494,7 +9494,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9520,7 +9520,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9546,7 +9546,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9572,7 +9572,7 @@ trip-point1 {
|
||||
};
|
||||
|
||||
trip-point2 {
|
||||
temperature = <125000>;
|
||||
temperature = <115000>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
@@ -9591,7 +9591,7 @@ trip-point0 {
|
||||
|
||||
camera0-critical {
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
@@ -9609,7 +9609,7 @@ trip-point0 {
|
||||
|
||||
camera0-critical {
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
hysteresis = <1000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user