[PATCH V2 0/3] Thermal: thermal enhancements for boot and system sleep
From: Zhang Rui <rui.zhang@intel.com>
Date: 2015-03-25 07:54:55
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 [off-list ref] 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 [off-list ref] Signed-off-by: Zhang Rui [off-list ref] 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()