From: Chen Yu <yu.c.chen@intel.com>
To: rui.zhang@intel.com, edubezval@gmail.com, javi.merino@arm.com
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
Chen Yu <yu.c.chen@intel.com>
Subject: [PATCH 0/3][v2] Fix thermal problems during suspend/bootup
Date: Mon, 26 Oct 2015 11:12:29 +0800 [thread overview]
Message-ID: <cover.1445828170.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 | 78 +++++++++++++++++++++++++++++++++++++++---
drivers/thermal/thermal_core.h | 1 +
include/linux/thermal.h | 4 +++
4 files changed, 94 insertions(+), 6 deletions(-)
--
1.8.4.2
next reply other threads:[~2015-10-26 3:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 3:12 Chen Yu [this message]
2015-10-26 3:14 ` [PATCH 1/3][v2] Thermal: initialize thermal zone device correctly Chen Yu
2015-10-26 3:14 ` Chen Yu
2015-10-26 3:14 ` [PATCH 2/3][v2] Thermal: handle thermal zone device properly during system sleep Chen Yu
2015-10-26 3:14 ` Chen Yu
2015-10-28 10:33 ` Javi Merino
2015-10-26 3:15 ` [PATCH 3/3][v2] Thermal: do thermal zone update after a cooling device registered Chen Yu
2015-10-26 3:15 ` Chen Yu
2015-10-28 10:39 ` Javi Merino
2015-10-30 8:21 ` Chen, Yu C
2015-10-30 8:21 ` 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.1445828170.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.