From: Chen Yu <yu.c.chen@intel.com>
To: rui.zhang@intel.com, edubezval@gmail.com
Cc: javi.merino@arm.com, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org, Chen Yu <yu.c.chen@intel.com>
Subject: [PATCH 0/3][v3] Fix thermal problems during suspend/bootup
Date: Fri, 30 Oct 2015 16:31:31 +0800 [thread overview]
Message-ID: <cover.1446192980.git.yu.c.chen@intel.com> (raw)
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
next reply other threads:[~2015-10-30 8:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-30 8:31 Chen Yu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1446192980.git.yu.c.chen@intel.com \
--to=yu.c.chen@intel.com \
--cc=edubezval@gmail.com \
--cc=javi.merino@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).