WSL2-Linux-Kernel/Documentation/thermal
Keerthy ef1d87e06a thermal: core: Add a back up thermal shutdown mechanism
orderly_poweroff is triggered when a graceful shutdown
of system is desired. This may be used in many critical states of the
kernel such as when subsystems detects conditions such as critical
temperature conditions. However, in certain conditions in system
boot up sequences like those in the middle of driver probes being
initiated, userspace will be unable to power off the system in a clean
manner and leaves the system in a critical state. In cases like these,
the /sbin/poweroff will return success (having forked off to attempt
powering off the system. However, the system overall will fail to
completely poweroff (since other modules will be probed) and the system
is still functional with no userspace (since that would have shut itself
off).

However, there is no clean way of detecting such failure of userspace
powering off the system. In such scenarios, it is necessary for a backup
workqueue to be able to force a shutdown of the system when orderly
shutdown is not successful after a configurable time period.

Reported-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2017-05-05 16:01:45 +08:00
..
cpu-cooling-api.txt thermal: cpu_cooling: implement the power cooling device API 2015-05-04 21:27:52 -07:00
exynos_thermal Documentation: thermal: Explain the exynos thermal driver model 2013-08-13 09:52:04 -04:00
exynos_thermal_emulation doc: fix misspellings with 'codespell' tool 2013-05-28 12:02:12 +02:00
intel_powerclamp.txt Doc: PM: Fix a typo in intel_powerclamp.txt 2016-06-30 13:05:40 -06:00
nouveau_thermal Documentation: fix spelling mistakes of "Celcius" -- > "Celsius" 2017-01-04 14:36:17 -07:00
power_allocator.txt thermal: power_allocator: relax the requirement of two passive trip points 2015-09-14 07:41:45 -07:00
sysfs-api.txt thermal: core: Add a back up thermal shutdown mechanism 2017-05-05 16:01:45 +08:00
x86_pkg_temperature_thermal Thermal: Documentation for x86 package temperature thermal driver 2013-06-18 06:27:57 +08:00