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 DAA7DC636D6 for ; Wed, 1 Feb 2023 09:36:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232059AbjBAJgl (ORCPT ); Wed, 1 Feb 2023 04:36:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232048AbjBAJgh (ORCPT ); Wed, 1 Feb 2023 04:36:37 -0500 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E5F85D127; Wed, 1 Feb 2023 01:36:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675244195; x=1706780195; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=UTVVnPGMIEZ2mnfrobPqoMqtw0XMfD62FYhXZqG0PHM=; b=ecluK1/yJ5m8ywuZNJe+xdmO/M62hb3LQzoP6NKfPJ4hfqg0+jZxnQut CVFbraoUCgA2QOpoVuGTn36eHXm0xHb/H7zrx2wqGIUlQ1L81jmltPdUL B1/O7h3QPwbSDBXrs07MRudfC0oQ0lLYBdxNdANE8XlggF8INtHcb/9X0 dA7V0J2IeDPW/EB4HgHkq/XmkfYOx4osWawudU+Z3p8bzuFBnDhDDiVUN Pin5afJn4mQjKrXReFgS84xpqLCF57l9YdDssudux10mCPbvec4IPkG9N P77/EN5RzLKU+zC/qI/rmfsfasR6RHWtrJ2sSLVQdLUz3fZPcAs4N/2ZY A==; X-IronPort-AV: E=McAfee;i="6500,9779,10607"; a="326752094" X-IronPort-AV: E=Sophos;i="5.97,263,1669104000"; d="scan'208";a="326752094" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2023 01:33:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10607"; a="664832612" X-IronPort-AV: E=Sophos;i="5.97,263,1669104000"; d="scan'208";a="664832612" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga002.jf.intel.com with ESMTP; 01 Feb 2023 01:30:50 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) 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.16; Wed, 1 Feb 2023 01:30:49 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 1 Feb 2023 01:30:48 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Wed, 1 Feb 2023 01:30:48 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.106) 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.16; Wed, 1 Feb 2023 01:30:47 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tn370WxgJLHGBvqeVOAII3dmiisVuAPfgwIdhSg+tAQGRr+v/3wwXvdNIHoExA+3cblk7loJUlsZtzwAnAH2HBSPOZiJdUN8iCTU1OxtpfvRDk7H7gDEM2JpNnU+x1M3+a+ZEo+CWe7a83nkFutJSXSs/oT9Jt9XddoL6QbPK7XIWZEuReBMS/wJ+25aQaBFN3Xm2R6fz0JXJMSWCF/ve2pG5u1pr04/0jbbbzqqc8eCsPm0qHKmcxEDe3aSM9+Wblx1bzk9cGW5vqpNuMAKn7QGz1F3lJiwn13KbTrxOTxGxBjkekmGyAP/0SBUty11qWfeim5o+Ho6ssbY2SaQPw== 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=UTVVnPGMIEZ2mnfrobPqoMqtw0XMfD62FYhXZqG0PHM=; b=RlcvXUN/9BfzNdFDGSqKGViWYLmVKAnGlMTiGMnU+salGE6WNqxCq1PUX7NXUQgebuD5Oug3lZj9JQBCo8jngX07e7JtBgXXXA8/zur/JSrTgNQnmApLAmHm1gaLCTY/CYRDKYHsEjBJjNTqoN2Gz9gDD1gD1goKGaVqKPzwdR6XrCVNA2Ud5e7Yt06gorgi7GV3BZTZbrXtLsiN5KRzw/dNod2yGJmimTg83rHBihCQS2v4scmu4JIROL8A0QKYlJB+unbc6PDecG9a78xAmig4wvASvCRUsd0+TYEr/LYz5T7oKCr8y2KMR3WbX9yQ7+SWdB4my41TFLf0PmtZEQ== 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 SJ0PR11MB6622.namprd11.prod.outlook.com (2603:10b6:a03:478::6) by PH8PR11MB6563.namprd11.prod.outlook.com (2603:10b6:510:1c2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.22; Wed, 1 Feb 2023 09:30:46 +0000 Received: from SJ0PR11MB6622.namprd11.prod.outlook.com ([fe80::5b0e:bf7:d908:2837]) by SJ0PR11MB6622.namprd11.prod.outlook.com ([fe80::5b0e:bf7:d908:2837%4]) with mapi id 15.20.6064.022; Wed, 1 Feb 2023 09:30:46 +0000 From: "Zhang, Rui" To: "linux-pm@vger.kernel.org" , "rafael@kernel.org" , "daniel.lezcano@linaro.org" CC: "srinivas.pandruvada@linux.intel.com" , "david.e.box@linux.intel.com" , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "rjw@rjwysocki.net" Subject: Re: [PATCH v1 0/8] thermal: intel: intel_pch: Code simplification and cleanups Thread-Topic: [PATCH v1 0/8] thermal: intel: intel_pch: Code simplification and cleanups Thread-Index: AQHZNN4k7uIHoJI5tU+cNG//rpyh2K63VCEAgAKB1wA= Date: Wed, 1 Feb 2023 09:30:45 +0000 Message-ID: <51f07f67e8943e9009b592007d5d26f2faf583ce.camel@intel.com> References: <1751684.VLH7GnMWUR@kreacher> In-Reply-To: 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: SJ0PR11MB6622:EE_|PH8PR11MB6563:EE_ x-ms-office365-filtering-correlation-id: 70e0be4d-5d1f-40b2-f8fc-08db0436ff40 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: g6SVDCfMH7ZkQg2B23mUc0oReSieToE8niH0XWr5EpZcuZDcZPSXErRCpQlsAt0kPq7klfed1EaawfbxiCSLWpmopHpXyGcxNQybtdNgu26N4iIdnqkkh1Ml7MeQKuujARVClauAAt9h0BrJ13eQlZxw0ZZKL61atu+anBLAPXakMyjvlWitk0zO5AB7Ba8qCDF/vuK5cdifZFqVXvoHmHwww1xtgH+XAiMmy0/74zlgFODSBz5NTndZtFg70Z2SmLr4B/uLuU0TnygJgoKSCdGp4r+RuLGf5HF1fBIuxwqSoF/HX3Vo5ksmtRehgrUX9mmO5yRp/iS/gTUNnFgsY+Fhe+SG07DzPJ+bkfbVDsPRTG/fRwpYldwIwQCWRTzstx1TykWhUd4ok54hyQMJ/aJLBP/MIOJljSFTbegtCV65acfAixTkKMC+QQSbkBtbOHU45m6lzHDbOo33QCuKTwJJqLmNw9jJcyTp2AhZ7EjI5jX6zXsiPu4px4SGsDC9qZtC+423wpCBMnLknnIL1YcgK5fQwSGzPFDn01QgCYf3Hbv6fFnndWzkwF5GlmTk2n0cEw17SjOoDkrUtcQtViXelpCME4eOuosp6Gx65rb51JQgL/UXvyxKylCECIhWzTdGcTBOf/DJRrMEzkhdxApWLySAy9CjQ3OkpsTMPOz4XW8isyqarsgNHBwxP/rALttzVgn4yPZ8GQI3dM2m9FlxS2zz/P0rxK0E5GWry6c= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB6622.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(39860400002)(366004)(346002)(396003)(376002)(136003)(451199018)(86362001)(36756003)(38100700002)(38070700005)(122000001)(82960400001)(6506007)(53546011)(26005)(6512007)(2616005)(186003)(71200400001)(316002)(6486002)(66476007)(8676002)(54906003)(110136005)(478600001)(966005)(2906002)(64756008)(5660300002)(66556008)(76116006)(4326008)(66946007)(91956017)(66446008)(41300700001)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?eFdoeEhXSkNjM2ZVTWs5MHJDSHN6c0xKZGo5Vm9nWFNpMFppWFNhdkhscmlD?= =?utf-8?B?VE5IQmpKSVNGVHowaC9tcURWYWNDSlBEYnEzSjJ1blh6d2tNMEpKemlTRzJH?= =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XY0hSbUNQbkNzRmVNMXNqbHFhUlRN?= =?utf-8?B?eHRVanoyUnlCWnhjU1NzdzNmc0RUS2h5UTBxcWJUUGVCeGx5MjAyYUtEbXNi?= =?utf-8?B?aW5SRXVXSlA3RTNJS0lHTDVudXVEK0ZGdXFBNjYwczA4aWpzWGZBZkgyN0xE?= =?utf-8?B?b2lIZlAvYlRpWENFMUpwZGRPNUV3c0hvYW1ncUNEWUwzaUtPWHhaa0FiRUFX?= =?utf-8?Q?2DUaFDPGsQMc/LhwnmL4ia7af?= Content-Type: text/plain; charset="utf-8" Content-ID: <53FB0F39D9B8DB4FBB21F3823B483097@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB6622.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 70e0be4d-5d1f-40b2-f8fc-08db0436ff40 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2023 09:30:45.9625 (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: EHJHAP+Yd2edXZPYIVvDdcocmezOPqirPdv5nBBzYSSwfKI1i8yI/fWY+GR29UpwUnBqIoi7XnSFplMcNbQ1FA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6563 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIzLTAxLTMwIGF0IDIwOjEzICswMTAwLCBSYWZhZWwgSi4gV3lzb2NraSB3cm90 ZToNCj4gT24gTW9uLCBKYW4gMzAsIDIwMjMgYXQgODowOCBQTSBSYWZhZWwgSi4gV3lzb2NraSA8 cmp3QHJqd3lzb2NraS5uZXQ+DQo+IH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