diff options
author | Zhang Rui | 2017-05-05 14:30:09 +0200 |
---|---|---|
committer | Zhang Rui | 2017-05-05 14:30:09 +0200 |
commit | bb4d5e38decf3f3c6bf170d19603949abb4d4b99 (patch) | |
tree | 7c2c83431a91b238511120a7a137daffb053185f /drivers/thermal/Kconfig | |
parent | Merge branches 'thermal-core' and 'thermal-intel' into next (diff) | |
parent | thermal: core: Add a back up thermal shutdown mechanism (diff) | |
download | kernel-qcow2-linux-bb4d5e38decf3f3c6bf170d19603949abb4d4b99.tar.gz kernel-qcow2-linux-bb4d5e38decf3f3c6bf170d19603949abb4d4b99.tar.xz kernel-qcow2-linux-bb4d5e38decf3f3c6bf170d19603949abb4d4b99.zip |
Merge branch 'backup-thermal-shutdown' into next
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 776b34396144..74ef51dfb816 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -15,6 +15,23 @@ menuconfig THERMAL if THERMAL +config THERMAL_EMERGENCY_POWEROFF_DELAY_MS + int "Emergency poweroff delay in milli-seconds" + depends on THERMAL + default 0 + help + Thermal subsystem will issue a graceful shutdown when + critical temperatures are reached using orderly_poweroff(). In + case of failure of an orderly_poweroff(), the thermal emergency + poweroff kicks in after a delay has elapsed and shuts down the system. + This config is number of milliseconds to delay before emergency + poweroff kicks in. Similarly to the critical trip point, + the delay should be carefully profiled so as to give adequate + time for orderly_poweroff() to finish on regular execution. + If set to 0 emergency poweroff will not be supported. + + In doubt, leave as 0. + config THERMAL_HWMON bool prompt "Expose thermal sensors as hwmon device" |