linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/3] Thermal: thermal enhancements for boot and system sleep
@ 2015-03-25  7:53 Zhang Rui
  2015-03-25  7:53 ` [PATCH V2 1/3] Thermal: initialize thermal zone device correctly Zhang Rui
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Zhang Rui @ 2015-03-25  7:53 UTC (permalink / raw)
  To: linux-pm; +Cc: Zhang Rui

Currently, there are a couple of problems in thermal core framework after boot
and resume from system sleep state, because the thermal zone devices are not
put into a proper state in these cases.

Details of the problems are described in the patch change logs.

In general, altogether they fix three bugs
https://bugzilla.kernel.org/show_bug.cgi?id=78201
https://bugzilla.kernel.org/show_bug.cgi?id=91411
https://bugzilla.kernel.org/show_bug.cgi?id=92431

Bug 78201 needs patch 1/3 and 2/3.
Bug 91411 and 92431 are regressions caused by
commit 19593a1fb1f6718406afca5b867dab184289d406
Author: Aaron Lu <aaron.lu@intel.com>
Date:   Tue Nov 19 16:59:20 2013 +0800

    ACPI / fan: convert to platform driver

    Convert ACPI fan driver to a platform driver for the purpose of phasing
    out ACPI bus.

    Signed-off-by: Aaron Lu <aaron.lu@intel.com>
    Signed-off-by: Zhang Rui <rui.zhang@intel.com>

which is shipped in 3.18.

Bug 91411 needs patch 1/3, 2/3 to fix, while 92431 needs all three patches.

If possible, I'd like to push these patches into 4.0-rc and 3.18/3.19 stable
kernel as it actually fixes a regression in 3.18.

Any comments are welcome.

thanks,
rui
-----
Changes in V2:
	rename no_thermal_update to in_suspend
	rename thermal_notify to thermal_pm_notify
	declare thermal_pm_nb with callback initialized
	unregister thermal_pm_nb in thermal_exit()

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

end of thread, other threads:[~2015-04-01  7:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-25  7:53 [PATCH V2 0/3] Thermal: thermal enhancements for boot and system sleep Zhang Rui
2015-03-25  7:53 ` [PATCH V2 1/3] Thermal: initialize thermal zone device correctly Zhang Rui
2015-03-26 12:40   ` Punit Agrawal
2015-03-30  7:51     ` Zhang, Rui
2015-04-01  7:21     ` Zhang, Rui
2015-03-25  7:53 ` [PATCH V2 2/3] Thermal: handle thermal zone device properly during system sleep Zhang Rui
2015-03-25  7:53 ` [PATCH V2 3/3] Thermal: do thermal zone update after a cooling device registered Zhang Rui

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