Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80086C6FD1D for ; Tue, 21 Mar 2023 15:08:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231575AbjCUPIn (ORCPT ); Tue, 21 Mar 2023 11:08:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230040AbjCUPIi (ORCPT ); Tue, 21 Mar 2023 11:08:38 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D57E50F81; Tue, 21 Mar 2023 08:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679411303; x=1710947303; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=n3vSSek9aRdWvhBXMb+9G2V3zfAGS3QYEmc17i5V+PU=; b=hKQaWJhMi5Uew/smizisROpRbVjrRwPsbTfszIQ/Q0KZHCC6eXEVLP4o V3wcXByn+fnPsKX0uXd2SgY47jeiKlH8qzk+Zq6ooEm2B5UI08v+iN6cc GtrYX/16FtNHtr98PZk2VPjhUCVUVs2YA8LXRnJ2dcleSS+WP/6o/WPml vAd7lPzO+I7Yp4hiTAUz8BkFQ8HeSnL0VVzHCZhMu/UArR8OssffpqLLX bJF7SrWsYIEbyXQf4d1CAmmK6R7SXJwv82YizTioA/3OUigzrAyjm8pAQ 3w563Wxcd2adB0P3ycjyWh5MARIklu6h5U9fSSFS4zKr4VdYb295xdkMT A==; X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="337686753" X-IronPort-AV: E=Sophos;i="5.98,279,1673942400"; d="scan'208";a="337686753" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2023 08:07:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="681521482" X-IronPort-AV: E=Sophos;i="5.98,279,1673942400"; d="scan'208";a="681521482" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga002.jf.intel.com with ESMTP; 21 Mar 2023 08:07:41 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 21 Mar 2023 08:07:40 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Tue, 21 Mar 2023 08:07:40 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.173) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Tue, 21 Mar 2023 08:07:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MAcKUa0q9MqhZxreypLYGLAe+bmdTInxsw01lYq/38T9lWurDwFB2uKixJYg/joi0oySF09TQW9cVBDc62rcdQY+47uKSbypxD/arish8v8Zd92QbFrvuDL/FCszrKhVPr7/Akbpa4XUDx2cHVNS7br63kRI+Ryg710Nr6rWt2zCak3AMFTJTd8D868iOKf916A9bq3BWL7SMS/Kb573wB42PYVSYYE1MYDOEpKXKgGaUNcf5NYI/E/FDtXXfora2kOXkbSeFfoNekYTBZlxozMOOJ3zfUyRzYVAoFKr6W+RBJwhSwTnrhD4MqCYIVzUr/+JW6kAtMlT5ECNqoo/fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=n3vSSek9aRdWvhBXMb+9G2V3zfAGS3QYEmc17i5V+PU=; b=J0MuIGmVjA1NzL5SXico9GF5BDbzyWkFGFYlaRMMb0plZd17GGUlIWHtKoPqbceTWE2Jc4Yi8QCxC021Oz+Y68+1yRP4Zosta64MA/tFMM3X18ngkVeAEiG6WJHIJu+7MG6a/oLGvEDzKJqbfu0rC1epIe4ZKPnF/aJUISKt3vALPILMh4nURyjaYD2E7KU8xd2oEs16B3dRGhBFQ1pdobUSPPxeXLGDC4eRMGk3FjEcP8MrJ8OYZU6WHHvlapnhn+ZeVKZossair5r6SlFzcyHwjCrPfjqYdPumcW+34xswjBFIMF3Z4LiCsz14BjBPZPPK9KdmLcWsCcdpfFYZng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH7PR11MB6605.namprd11.prod.outlook.com (2603:10b6:510:1b0::16) by SN7PR11MB6654.namprd11.prod.outlook.com (2603:10b6:806:26e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.36; Tue, 21 Mar 2023 15:07:37 +0000 Received: from PH7PR11MB6605.namprd11.prod.outlook.com ([fe80::968d:9383:aae6:175c]) by PH7PR11MB6605.namprd11.prod.outlook.com ([fe80::968d:9383:aae6:175c%2]) with mapi id 15.20.6178.037; Tue, 21 Mar 2023 15:07:37 +0000 From: "Zhang, Rui" To: "linux-pm@vger.kernel.org" , "rjw@rjwysocki.net" CC: "srinivas.pandruvada@linux.intel.com" , "viresh.kumar@linaro.org" , "Wang, Quanxian" , "linux-kernel@vger.kernel.org" , "daniel.lezcano@linaro.org" , "linux-acpi@vger.kernel.org" Subject: Re: [PATCH v3 3/4] thermal: core: Introduce thermal_cooling_device_update() Thread-Topic: [PATCH v3 3/4] thermal: core: Introduce thermal_cooling_device_update() Thread-Index: AQHZWPKLaaXIEHvw3kmKo1CDj8MZx68FW9eA Date: Tue, 21 Mar 2023 15:07:37 +0000 Message-ID: <8f15bc65578f105dfc126569068d8eb1ee12107c.camel@intel.com> References: <2678096.mvXUDI8C0e@kreacher> <2878875.e9J7NaK4W3@kreacher> In-Reply-To: <2878875.e9J7NaK4W3@kreacher> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.5-0ubuntu1 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR11MB6605:EE_|SN7PR11MB6654:EE_ x-ms-office365-filtering-correlation-id: 8e0c3489-f644-4013-75b6-08db2a1e01eb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cGg+ejP2rediNrKDPpbClGNxvL2MF3i0AcJrbaWnnvuqJmW0jTAwjvxnXTWMR6lqgGKAZyTeegQBNQT4nLGV5XSDGX0gClgkXzKUq8uDx7eIpVtu4HxLiWUDfTFUU0itrJ7J0lIIQHTg3RqTHKM+fUbYvjAXiS2eqYkvQcIpjTAoy/fKJe2Tl0EY6eyJ+d88wI/lqgfT02fWPW1hVQC4ABD1OW0qorzm6O13jZ25lMiSxoYSSBi3wRaaT90GwlAQUA72hInVTDpw/sJ8xB74lKKVMRk3y0fID2tJBuX2KbxAOREXlPR/KE+vKZLv/qFenT5C9pooiUYH88cQo6vw1/Ns138DXfts0XxcrMw86GKgPooJWD5ttxHop1WlwQjxOKiNxKZMCGk2Ro+tbDuopIvkFOI5k5OIzRjQOc1g0uAv5fZK4NoRBZV4yYSRokOVjwt+0MG0do/FlE/Xy+iwYlnWuh3rEeWZvq6u5iK8b1hpiZVF1XxpkWSLy4BepRrP2lg+QD12LwhrgAfjndySFC0RwNacwj6GevevaQZMPbsXBOgHaY2pxlmLDrpRpgwpgBGneqDL8eFIF4eaNpeHRru/OMaUBYwFkU6PVVKSHNI6IgHSmR77xTFFzSo+tji57OjS/Rapg9QggxidDjOtXQDzurXAclyYS2/INCZWUDZj6FXO9lfMBy+ZXgpSR8L/y77DAHNDyFWvQpcSbfeyFbo4ooPBDKUu2ScR4w4uZx0= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB6605.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(136003)(396003)(366004)(346002)(376002)(451199018)(84970400001)(4326008)(41300700001)(30864003)(5660300002)(2906002)(38100700002)(122000001)(38070700005)(86362001)(82960400001)(36756003)(66446008)(71200400001)(91956017)(966005)(66476007)(66556008)(6486002)(76116006)(66946007)(8936002)(478600001)(64756008)(83380400001)(8676002)(26005)(54906003)(110136005)(316002)(6506007)(2616005)(186003)(6512007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?M2FxUkpZb2dVUGRQQWFUMnRNL0cwbmlSYks2RUxFblhTSkh2aUJCNjAvWXVl?= =?utf-8?B?c0lOSnNDbW83QmtoVU5YdVNMNlAyK3VrQnJiTThWN3lRV3dWWFE3SWhLbU0z?= =?utf-8?B?NzEvbU5OSEIzb1AzMzBoQkV5aWxlMGx0b1dIYmlDeE1rYjRDN3I4czNvQWZK?= =?utf-8?B?K0ZLcUlpaXk3Y21LYVlvZVZDT3c5U21EekU0TWR0Z1d5UDlJc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ExUHFaTVBkMFV1VTk5TkFhaHA2NmhmNXdSSENrY1dkWWRmcnVjL0hMeUQ1?= =?utf-8?B?U3RSV1lEc3FVbWlCNUxhQVd6eFFtbW1rTVF4eS8yKzVhSy9Ec256NUl5NUdk?= =?utf-8?B?cDdhbHFZazdQZzZseVBpTzc2RStxYkNlZFRmUWFPcHBtM0M2d0Z4c2xGOTZQ?= =?utf-8?B?YkE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <1E46DE228F057A468850ECC4D150A3EB@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB6605.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e0c3489-f644-4013-75b6-08db2a1e01eb X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2023 15:07:37.2182 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LkYKHuL86TheXNBWyAyoB3JihQREJs36CPiECL6W63ZAihNIWahOxdnJb60PZqSt73eFeGkeBjlCao3YRtR9wQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB6654 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIzLTAzLTE3IGF0IDE4OjAxICswMTAwLCBSYWZhZWwgSi4gV3lzb2NraSB3cm90 ZToNCj4gRnJvbTogUmFmYWVsIEouIFd5c29ja2kgPHJhZmFlbC5qLnd5c29ja2lAaW50ZWwuY29t Pg0KPiANCj4gSW50cm9kdWNlIGEgY29yZSB0aGVybWFsIEFQSSBmdW5jdGlvbiwNCj4gdGhlcm1h bF9jb29saW5nX2RldmljZV91cGRhdGUoKSw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