linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3][v3] Fix thermal problems during suspend/bootup
@ 2015-10-30  8:31 Chen Yu
  2015-10-30  8:31 ` [PATCH 1/3][v3] Thermal: initialize thermal zone device correctly Chen Yu
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Chen Yu @ 2015-10-30  8:31 UTC (permalink / raw)
  To: rui.zhang, edubezval; +Cc: javi.merino, linux-pm, linux-kernel, Chen Yu

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(-)

-- 
1.8.4.2

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-01-12 13:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-30  8:31 [PATCH 0/3][v3] Fix thermal problems during suspend/bootup Chen Yu
2015-10-30  8:31 ` [PATCH 1/3][v3] Thermal: initialize thermal zone device correctly Chen Yu
2015-12-31 18:43   ` Eduardo Valentin
2016-01-12  6:42     ` Chen, Yu C
2016-01-12 13:35       ` Zhang, Rui
2015-10-30  8:31 ` [PATCH 2/3][v3] Thermal: handle thermal zone device properly during system sleep Chen Yu
2015-12-31 18:48   ` Eduardo Valentin
2015-10-30  8:32 ` [PATCH 3/3][v3] Thermal: do thermal zone update after a cooling device registered Chen Yu
2015-12-31 19:03   ` Eduardo Valentin
2016-01-01 15:38     ` Chen, Yu C

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).