From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751862AbbI0FpV (ORCPT ); Sun, 27 Sep 2015 01:45:21 -0400 Received: from mga11.intel.com ([192.55.52.93]:38623 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750909AbbI0FpU (ORCPT ); Sun, 27 Sep 2015 01:45:20 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,596,1437462000"; d="scan'208";a="798132465" From: Chen Yu To: linux-pm@vger.kernel.org, edubezval@gmail.com, javi.merino@arm.com Cc: rui.zhang@intel.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH 0/3] Thermal: Fix thermal zone update problems during bootup/suspend Date: Sun, 27 Sep 2015 13:48:18 +0800 Message-Id: <1443332898-13908-1-git-send-email-yu.c.chen@intel.com> X-Mailer: git-send-email 1.8.4.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set is to fix a series of thermal issues during system bootup and suspend/resume. Two major reasons for these bugs are: 1.thermal core is unaware of suspending process, and uses the invalid value cached after resuming, which brings the problems. (PATCH 1/3 and 2/3] 2.thermal core forgets to update the device's status in some situations, this may lead to unexpected behavior after system bootup. [PATCH 3/3] Please refer to: https://bugzilla.kernel.org/show_bug.cgi?id=78201 for why these patches are proposed. 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 | 18 +++++++++-- drivers/thermal/thermal_core.c | 68 ++++++++++++++++++++++++++++++++++++++++-- drivers/thermal/thermal_core.h | 1 + include/linux/thermal.h | 3 ++ 4 files changed, 86 insertions(+), 4 deletions(-) -- 1.8.4.2