From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhang Rui Subject: [PATCH V2 0/3] Thermal: thermal enhancements for boot and system sleep Date: Wed, 25 Mar 2015 15:53:13 +0800 Message-ID: <1427269996-29501-1-git-send-email-rui.zhang@intel.com> Return-path: Received: from mga01.intel.com ([192.55.52.88]:44556 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750717AbbCYHyz (ORCPT ); Wed, 25 Mar 2015 03:54:55 -0400 Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: linux-pm@vger.kernel.org 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 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 Signed-off-by: Zhang Rui 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()