Skip to content

Fix thermal problems during suspend/bootup

Chen Yu linux-pm lkml stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 6 repliesIn review
  2. v23 patches 3 repliesSuperseded
  3. v13 patches 17 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Thermal: initialize thermal zone device correctlydrivers/thermal/step_wise.c drivers/thermal/thermal_core.c drivers/thermal/thermal_core.h +1 more+36 -43 replies
2/3Thermal: handle thermal zone device properly during system sleepdrivers/thermal/thermal_core.c+42 -01 reply
3/3Thermal: do thermal zone update after a cooling device registereddrivers/thermal/thermal_core.c include/linux/thermal.h+15 -12 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchManuel KrauseszegadprashamishMatthiasJavi MerinoEduardo Valentin
1/3T-b T-b T-b T-b T-b R-b
2/3T-b T-b T-b T-b T-b R-b A-b
3/3T-b T-b T-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 7 reviewers.

Read the v3 thread

Cover letter [PATCH 0/3][v3] Fix thermal problems during suspend/bootup

This patch set fixes two problems when system is trying to suspend and boot up:
1.After system is woken up from suspend, the thermal framework uses
the dirty 'cached' thermal variables before suspend, which might cause expected behavior.
2.If a cooling device is registered after the thermal zone's registration,
current thermal framework forgets to update the thermal_zone's status, which might bring expected behavior under special cases.

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    | 17 ++++++++--
 drivers/thermal/thermal_core.c | 75 ++++++++++++++++++++++++++++++++++++++++--
 drivers/thermal/thermal_core.h |  1 +
 include/linux/thermal.h        |  5 +++
 4 files changed, 93 insertions(+), 5 deletions(-)
Signature · 1 line
1.8.4.2