温度策略,超过120℃,将会触发关机
[ 577.564512] thermal thermal_zone2: critical temperature reached (121 C), shutting down
[ 577.572646] thermal thermal_zone2: critical temperature reached (120 C), shutting down
[ 577.588781] reboot: Failed to start orderly shutdown: forcing the issue
[ 577.625296] PVR_K: 2119: SysDevicePrePowerState: start
[ 577.653827] PVR_K: 2119: DisableClocks: start
577.726784] PVR_K: 2119: SysDevicePostPowerState: start
[ 577.759366] reboot: Power down
120℃的设置位置:
"arch/arm64/boot/dts/renesas/r8a77965.dtsi"
sensor_thermal2: sensor-thermal2 {
polling-delay-passive = <250>;
polling-delay = <0>;
thermal-sensors = <&tsc 1>;
sustainable-power = <2439>;
trips {
sensor2_crit: sensor2-crit {
temperature = <120000>;
hysteresis = <1000>;
type = "critical";
};
};
};