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 CE69CC61DA4 for ; Sat, 4 Feb 2023 17:46:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233146AbjBDRqh (ORCPT ); Sat, 4 Feb 2023 12:46:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229746AbjBDRqf (ORCPT ); Sat, 4 Feb 2023 12:46:35 -0500 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABFCC23657; Sat, 4 Feb 2023 09:46:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675532792; x=1707068792; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=+O3c4nQtj5CYGNwg4MDY1lsI2mD8JVMNIpkb7QEY2Uc=; b=B6k/1BCiBGA1MvezBT3CK/K1hdQQsdP2qfnyohE5rAZ3wqUexm/I/I5P K3lI6/S8MsmVRp2RkwZwF8/jDP1pi3E51NoVcGRbQoHO5A+w6YwkvSGwl NGOuWk9Rmg9qoy3YwtTRAhg/sUT9fYFZmt69crAbL5PCNAPVYpiQjaya/ D6sDPUV+mYOZz7wBfo7resTVJgrr61anMC9JcAbYL7jWnU/3ggwXGnIsq jDfixJf/CokO1SzNo77RmN+4gDkHk4w3x5UpwA7slHYjduH3YaOKtwKK2 UmO6891BEIdDpECXtzd/SWu8bijGzZLhfRJMHYTMURlmAPHgsUwDy6dss w==; X-IronPort-AV: E=McAfee;i="6500,9779,10611"; a="391365465" X-IronPort-AV: E=Sophos;i="5.97,272,1669104000"; d="scan'208";a="391365465" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2023 09:46:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10611"; a="698413251" X-IronPort-AV: E=Sophos;i="5.97,272,1669104000"; d="scan'208";a="698413251" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga001.jf.intel.com with ESMTP; 04 Feb 2023 09:46:32 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sat, 4 Feb 2023 09:46:31 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Sat, 4 Feb 2023 09:46:31 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Sat, 4 Feb 2023 09:46:31 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.169) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Sat, 4 Feb 2023 09:46:31 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y8bz4GSvK6ZHsaRNWFMMyxLgGCKJl6nsNNfeZS6RBNvFpdjIclVtJfAcnZkcpKF85ORd3YiaUq8x4bGSvLNPjF0yIAVfyezkzfAI+th0gDQroeS+6waBtDHkvMk3PBEtHZlzhqjETm3F9t/zCZ0Bt3PvI25YsvYDtQKmIeshQzPfs3SzW5AQ+glmJQuHsFe5zRtnfc96e974CzGqrCVNkBgazCUXRIZNg3msctw4dIu41OWKL6hLABJsrKtzz1nGvlGTxYtkIZzkqpEcK8Uz2+3wWv9VpjBwT+w4naA+1yGkQyzWRR0wVwcqvwYLvzQgCOw0d61kz2Zqc4wlMJxDYg== 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=+O3c4nQtj5CYGNwg4MDY1lsI2mD8JVMNIpkb7QEY2Uc=; b=ICNEYbUVzhHV/YXm78zdb4dibWrEYN9BbwfyG+Fy9p3sn8sr57CqFuACu1C689MAOIKXlvBj5Ud2wof2dnwwC2NDtmlf5ah5+gESHjc0gVMsunubc5ZWeatYgQ7XDhoGU5f9zDg5fTpEfWITA5xTXs4BvEnZ1ufYVBglFHw3gMA4EzcUYKmFMepfnT2UOc8Ps0bU7s36pqVZ64lPT9Xb6FAHMhDHxIdS9YNxOvsTTVl3DTLLlF7XsiJyo80J4l6BrPgsSezcNgW6VOHdbsYQqINB8P9Vq5ewYjLdlv4YHb4OFOkZqqwQQXHxJ8vOahTxvlbmiTz7xVMH1rcwXpChwQ== 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 BL3PR11MB6385.namprd11.prod.outlook.com (2603:10b6:208:3b5::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.32; Sat, 4 Feb 2023 17:46:27 +0000 Received: from SJ0PR11MB6622.namprd11.prod.outlook.com ([fe80::5b0e:bf7:d908:2837]) by SJ0PR11MB6622.namprd11.prod.outlook.com ([fe80::5b0e:bf7:d908:2837%7]) with mapi id 15.20.6064.031; Sat, 4 Feb 2023 17:46:27 +0000 From: "Zhang, Rui" To: "srinivas.pandruvada@linux.intel.com" , "rafael@kernel.org" CC: "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "daniel.lezcano@linaro.org" Subject: Re: [PATCH v5 4/4] thermal/drivers/intel_powerclamp: Add additional module params Thread-Topic: [PATCH v5 4/4] thermal/drivers/intel_powerclamp: Add additional module params Thread-Index: AQHZNmsRGJavu0O5CEaCD+3ZrLYKdq6/FFwA Date: Sat, 4 Feb 2023 17:46:26 +0000 Message-ID: References: <20230201182854.2158535-1-srinivas.pandruvada@linux.intel.com> <20230201182854.2158535-5-srinivas.pandruvada@linux.intel.com> In-Reply-To: <20230201182854.2158535-5-srinivas.pandruvada@linux.intel.com> 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_|BL3PR11MB6385:EE_ x-ms-office365-filtering-correlation-id: c93a8428-06d0-4112-9860-08db06d7bd52 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KlTqAZIw4syprOIMCjqOphh1RDlANfIJECbRVap5iuNA/1pIC8WTg9tsjGZO9wcEg9bufBql30eaJ6O5Z273dZNskiZ9jGmCO7mH1ABppz8b/eHhOFuFw5p84KfM7sWAs5p6PrfZCdFHv9JiYOx7tk0/UVx48KuN0kmXYr6vaZCOK75CIvEbN1+2uPlkkl7hg9DwkM+js7I8OzY5yXxD5cei0v4GMHt/N1cmAeV2zylbhwXG5mrh9j0a6ldY6ctsKi2zIe2xgKJ0qrfszb2sxIoK+w+dRPAUv8jUmIXzbkHD0GmEKTHQDa/iMZHGxW9Aq+UFss2tK+qVt24VEggA87MV2V7E6EnSF2f1PeN+Mxe7Jnvs8VRTp3LVgQ1Y0EOj63+Dwj4rTa9pGVG3wlwqh9PwLjhTOcsWDfHUwfC/5pJTWS3Osfn5DicZK1NAzMQhmbv1fdF+iwJynxxfGHn/fLmkdztrOrPvbKj/m1RTiOos6dwKqB2QwffJvPyVbcREJ9+r6a4ZUU/1XKrNUb+PQD/aX0jy99HNspkbjONRmRtdJJOuENGVSDzvzZgl61vdMa1paChdr3+jChpqnEsKR9M5otJYMnGKrZ+NN98wbfAAn31ubCEFPVexVLcZ33bp6k4JH3tgp5J37D8n4WwDgcB8PTFbJeyzBgEd2Ouf92Qd/nWbE5N6HXz8VlRv2Gjsg0WVxu1ZLsuxYEPjdVnIYg== 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)(376002)(346002)(396003)(136003)(366004)(451199018)(54906003)(110136005)(316002)(82960400001)(86362001)(71200400001)(6486002)(478600001)(38100700002)(122000001)(186003)(2616005)(6512007)(26005)(6506007)(38070700005)(5660300002)(36756003)(30864003)(83380400001)(2906002)(76116006)(66946007)(8936002)(4326008)(91956017)(41300700001)(66476007)(66556008)(66446008)(64756008)(8676002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RUdEcmpvRXRhYkg3Vit4c3RHcG1EWE9tK21JZEdVMFd5VGlTMFY1eWtxZE1w?= =?utf-8?B?b0pRQ2NDUXZBR1RyaWN4VDZKUTBuZzVLcHo1dXpIejgxWlcxeExTOWRNMHZT?= =?utf-8?B?R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TXArZHBvL1ZXLzVTYlVj?= =?utf-8?B?SXlSbHRKTVJHeG5lZkRKeXJIMGtpZ1crb2ZaWHk3S2l6TXIvODNEeFBuUDRu?= =?utf-8?B?bXBGamtRTFN6RW82YkhEN0pyaFlETGMzRExJaFFVNU9QcFNjS3ZmWlk3NU5H?= =?utf-8?B?czBxRmhidy9KTG1rdlp3WW1WVWpualBra1pGdXA0MkdqQ3M2REZVM3hJd0VS?= =?utf-8?B?bmhObWowaFpzSDArY08yNlFMSENEN1gxN3d3Q090RGo1T1FpMUZVTmtNbWpm?= =?utf-8?B?Umc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <263A3F1CEEFC6644A795EF17831EDA05@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: c93a8428-06d0-4112-9860-08db06d7bd52 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2023 17:46:26.6942 (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: D06vihpCK/l9kSmduNcXuSInyXdaOiJwAC9VEktMI5I953SrZUPi9dDGOmnAxBY7Z05z1xswB7nEyaa9ayarMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB6385 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIFNyaW5pdmFzLA0KDQpPbiBXZWQsIDIwMjMtMDItMDEgYXQgMTA6MjggLTA4MDAsIFNyaW5p dmFzIFBhbmRydXZhZGEgd3JvdGU6DQo+IEluIHNvbWUgdXNlIGNhc2VzLCBpdCBpcyBkZXNpcmFi bGUgd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