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 41A47C6FD19 for ; Tue, 14 Mar 2023 02:03:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230184AbjCNCDc (ORCPT ); Mon, 13 Mar 2023 22:03:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230140AbjCNCDW (ORCPT ); Mon, 13 Mar 2023 22:03:22 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04747136E9; Mon, 13 Mar 2023 19:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678759400; x=1710295400; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=42DkDh+TikTLHtwtqU/NI9qAJooXuNAiEhS83CQ09Mc=; b=GR9bihMSLxD9tAHh4uWJKWwapqmkBEJa/ogyChFg14TWkqGOCxbx/3da FNuEJdBqFwklTOCeUctg2NaQi26sIWTIDmzFo899S4GJFZgkjWxzv/xaM Cp+DjT+l1sBHHtIrTIlE6J6wpetrG86VeNfpmVC9XCEwbPsF/UPaXQjVP 6AXwb6DVYIFeHD1WQobk2fwd8+erC0BatRXfsguWXw8Tgew/l16PCN7Pc jzsmmnE7YyTarrmfdBOqDVFUcBHQAnQ7e4McKz51rjgY45eU3gdhpsEZx 3Pwk9mY+kd4DT9LpQry867aDzyeZqiZdBAEP1mnuU5O8eT5H9TghlTqRP Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10648"; a="325671245" X-IronPort-AV: E=Sophos;i="5.98,258,1673942400"; d="scan'208";a="325671245" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2023 19:03:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10648"; a="747827248" X-IronPort-AV: E=Sophos;i="5.98,258,1673942400"; d="scan'208";a="747827248" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga004.fm.intel.com with ESMTP; 13 Mar 2023 19:03:16 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 13 Mar 2023 19:03:15 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 13 Mar 2023 19:03:15 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Mon, 13 Mar 2023 19:03:15 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.173) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Mon, 13 Mar 2023 19:03:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KBJ5cfPt2/v0gGUFHuHoeX5/EQnQqXh+/K9DI9MgC+S7GFwlwhOOQ55AsAOHyzm7lLK7VVXFmO+MrPsPLRV4gcum6ZFykwnVWa3UWXi6WRBLUOyM3M0tJ4lq6KEybnwWy7wWRq7Q4CqewYGDyzNF0vf4rV1d3+cVMOeE0om1CtkUcPfEqI0E164AwPqBiHiY/7/0aRDExdIy7cHnsZBLdkvzcgyuKmwqADfCgKjrDFEkJyEnRkr5sLxuYw5+FvUi3RSuX7cySOg217LX7Nym+pSIO9ARJv5/xzePjmGpxd3Y9muEZ42oPgcKqN0iDfo+9u9WBk585FcJdOwpy19iLg== 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=42DkDh+TikTLHtwtqU/NI9qAJooXuNAiEhS83CQ09Mc=; b=bjcuNLdNd/amGTyrfMMNpzyak3gxnd57TYBj6mrDAQN4wpFgsc5wgJrPpMd/ZKJo2zlvYXRGY2fYHbkIdzeyCg5wbTdi492jaczldl9Vbj1qRyoZ/NkSPxN29h/gmNyyG/6l9EazIcRxrX4l/03E1F7QXZcQlKy3KruUj2ugJnDcPTcyXctx0wZCAA7weChcq7uPqqe3VFkjZYekihcB3SxmYyDc6pE02g9lapi4M7tu37feiRAszpHRPjb3+wn+uMngvp6095z1vaRxYpQS+Uu3qWtUqli8xHin68Qf1KsC1aYHwWy0RN+7QFtAMyK0y3orFzMAGw7FAIk4p+dwPA== 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 PH7PR11MB6452.namprd11.prod.outlook.com (2603:10b6:510:1f3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.23; Tue, 14 Mar 2023 02:03:13 +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.024; Tue, 14 Mar 2023 02:03:13 +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 v2 2/4] thermal: core: Introduce thermal_cooling_device_present() Thread-Topic: [PATCH v2 2/4] thermal: core: Introduce thermal_cooling_device_present() Thread-Index: AQHZVbj3JROhUeuk/0G9RpRXN9sXQq75htEA Date: Tue, 14 Mar 2023 02:03:13 +0000 Message-ID: <73f967b1d112a02fd3e48f999f713355da052d9a.camel@intel.com> References: <2692681.mvXUDI8C0e@kreacher> <4488488.LvFx2qVVIh@kreacher> In-Reply-To: <4488488.LvFx2qVVIh@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_|PH7PR11MB6452:EE_ x-ms-office365-filtering-correlation-id: 3020ba9e-7b06-4f6b-190f-08db243044d6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XYq02N5AmDY12Z2YwFRW8ktrtsWozywZbem7+X7Jcsfa8UJT8U/8umvulXYudWS96vtMFS9MEiEGDa3JbMxDzoU/5Nq+SzekRHVD4C/BkDEwspNCYo3FM6oq7JA4bKtMcs+GdxoDEskeAAWDlrZp+cN+cIV/IfA79fTUz02hqseJHQwIZkXcJ7/OrTvE3E/xZwxTFfO4Zzf80YZpPQD3pNJyZkExgeL3YVO1PtQ/101RUiigkI1mkILlX/LUaoiadZFOtUfU67eYNi9p+oNbk51dIdsg7MxfG5vWLGsue0EBNpUNM4gDUl01pW+3G2Vgs3tsfZVDZ/RByOgVLl4D+JW5kVbLuILqfHnVW78GRc0HEcrdvlaMr1HWEtiguwwoYIPtZ1L/pw5Hz9ud15L7CvgHG/8hiCBselSFO9tX4zVcsBMwgV/KatOQ8xcj+3qDvmVe36b88HJAF2KyuC/GNC3zXF4MMLZvHlDuvqK3yCP25EROP0MIkbz7C7Vd5Tn1jD5SkhKRZEiBZjVCnTnKiDpLIWLy+gzNa5F0DJLJq6mLaWJFwqzSkg30TqtEmgjV6VVO1rh46AyKJ+fvQ7C2Y9VLbeWACwSXHpMHrunBqw2lc6jVV6/242gItfQxKK0Wd5NB7ZgtgmEyk70r9GAW5Cd8lGp/rDkUn/u6eRyNGGVmmdYKWvSOErZwJYRbu64H 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)(396003)(366004)(346002)(376002)(39860400002)(136003)(451199018)(84970400001)(2616005)(2906002)(186003)(38100700002)(122000001)(82960400001)(26005)(6512007)(41300700001)(38070700005)(6506007)(83380400001)(5660300002)(478600001)(316002)(8936002)(64756008)(54906003)(110136005)(36756003)(66476007)(6486002)(91956017)(86362001)(8676002)(66946007)(66556008)(66446008)(76116006)(71200400001)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dWpMeXZBWWVJUStHWjJ5VWtKODFXbEdFdUZNZHhqcXNidFYwSDl1QlpzaDZ5?= =?utf-8?B?eFhmTU5OZEg2bW1xSlBhZEtGS01rWFNwOUpRK3h4T0xBSUZsOHlaSUFIaGox?= =?utf-8?B?R1kzUDZ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Oc28vaWZra1Zi?= =?utf-8?B?NmQxMWlWMDNFUXplZkxxMHFNRjhmemd0UlRoU3ZnSWI4WS96YmFnT2FMc053?= =?utf-8?B?cHJOYXcyK3BwVlJkVnRJc0VEQjVCK3c4UEtzTjE1dGtyallCODNqaWdpbTdn?= =?utf-8?B?a0hVZ3pVRTk5M3JlTi9HeEg2SWZvU2NKczBFbFlCQlc5SlFWZi96RlpFd0Uy?= =?utf-8?Q?SesC1Cm9IopcRK0Ix1biTwmkm?= Content-Type: text/plain; charset="utf-8" Content-ID: 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: 3020ba9e-7b06-4f6b-190f-08db243044d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Mar 2023 02:03:13.4500 (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: JGzu4sNn4+l7/KzGTDPcDz+exyd+eDpMfXUNuQ3QU2aD5R9rX+XbNS8e1bGFqBFyc5jGti4imrWGl2BKUKjSig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6452 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIzLTAzLTEzIGF0IDE1OjI4ICswMTAwLCBSYWZhZWwgSi4gV3lzb2NraSB3cm90 ZToNCj4gRnJvbTogUmFmYWVsIEouIFd5c29ja2kgPHJhZmFlbC5qLnd5c29ja2lAaW50ZWwuY29t Pg0KPiANCj4gSW50cm9kdWNlIGEgaGVscGVyIGZ1bmN0aW9uLCB0aGVybWFsX2Nvb2xpbmdfZGV2 aWNlX3ByZXNlbnQoKS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