Thermal: Fix thermal zone update problems during bootup/suspend
cover Thermal: Fix thermal zone update problems during bootup/suspend
This patch set is to fix a series of thermal issues during system bootup and suspend/resume. Two major reasons for these bugs are:
1.thermal core is unaware of suspending process, and uses the invalid
value cached after resuming, which brings the problems. (PATCH 1/3 and 2/3]
2.thermal core forgets to update the device's status in some situations,
this may lead to unexpected behavior after system bootup. [PATCH 3/3]
Please refer to:
https://bugzilla.kernel.org/show_bug.cgi?id=78201
for why these patches are proposed.
Chen Yu (3):
Thermal: initialize thermal zone device correctly
Thermal: handle thermal zone device properly during system sleep
Thermal: do thermal zone update after a cooling device registered
drivers/thermal/step_wise.c | 18 +++++++++-- drivers/thermal/thermal_core.c | 68 ++++++++++++++++++++++++++++++++++++++++-- drivers/thermal/thermal_core.h | 1 + include/linux/thermal.h | 3 ++ 4 files changed, 86 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.4.2