From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E7447456D0; Sat, 27 Jul 2024 20:47:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D497F402A8; Sat, 27 Jul 2024 20:47:03 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2080.outbound.protection.outlook.com [40.107.244.80]) by mails.dpdk.org (Postfix) with ESMTP id E0C264029B for ; Sat, 27 Jul 2024 20:47:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HRrsDUFQxPcfmjIcGoHsn0a7T1LNEGgHj4LslqUkuRkz9MJpswRK+llTS6cZeWfnirZmz+5Tx2ES0UHaxH7rIANZYzax24K8HVW7zmqJe81ro4EJMjY1V9rcn2BmrH1SjLaawy8wVG3PNJInrmAjE2ueIj6TvrjrEwMEyw+U6FFRlUH8MHLTqMBmU6aEISNDeSEIaqoaIU2nGaMHdGkx6mh1n0Vf3Vf3VRujur4ucwhtGRokwieb8qbPejfW2kis+fRhsK/V8QpAgperlEHWSQS5a7W0Gchkh7nuRo3np1kp3BgqIcMyzmRFtLqiSPsz9thg75Gy5zI/zKplUKMyrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=62zL6TlvJvM6ZaD/EHXpY+lcieWO3Njcespd/sYLDmg=; b=HyeR4rPIG/H7ag0yHWPeAlMpG0Ms4vx4BSqhnlihzrQPNGXxowQC7Jc9+kIi6gPiJLKCALKZOMvHY3LmKTRNjulywdGA0CkDvs+DuizaLCHskEIwcr7pWDipkrZE/tRThP00KdAX5iSPspT/kNDlCjnC4Qp0jHiYp+v9ym6ccCRhVipje5hf3rvQjm8TcZFARLWgp09ABw39zRLbufHHoJwmX3q0t64zW4ygfKQ0BtjPhfP7kYTuLQFIVrWPzIjFpV6Bk8k7aeH3GsIPYFseUldTk33Nf3nj3xAm0Lamc2sgRshmf7gUhvwBnG7va+2jMsIbQP02EVbih7PHRx5vKw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=62zL6TlvJvM6ZaD/EHXpY+lcieWO3Njcespd/sYLDmg=; b=ut0ZoIlyFH4/sQumogb0f+77V3J/1uBxW1S3qkKNMM5LW/aSlm8dsdXzgaA+B5douTqMzrUDSwqf6Z9nGl42r663k6rzr3TrwH+rhVxmiHViKjSvrZytxb7FnPtsI6I/ddhuF3gnnqXC/hPQaQ9RrvFmUXl7dClUzYU9G/8Cqas= Received: from CH3PR12MB8233.namprd12.prod.outlook.com (2603:10b6:610:129::15) by SA3PR12MB9158.namprd12.prod.outlook.com (2603:10b6:806:380::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.28; Sat, 27 Jul 2024 18:46:59 +0000 Received: from CH3PR12MB8233.namprd12.prod.outlook.com ([fe80::278f:5cc5:549c:3515]) by CH3PR12MB8233.namprd12.prod.outlook.com ([fe80::278f:5cc5:549c:3515%2]) with mapi id 15.20.7784.020; Sat, 27 Jul 2024 18:46:59 +0000 From: "Tummala, Sivaprasad" To: "Hunt, David" , "anatoly.burakov@intel.com" , "jerinj@marvell.com" , "lihuisong@huawei.com" , "david.marchand@redhat.com" , "Yigit, Ferruh" , "konstantin.ananyev@huawei.com" CC: "dev@dpdk.org" Subject: RE: [PATCH v1 4/4] power/amd_uncore: uncore power management support for AMD EPYC processors Thread-Topic: [PATCH v1 4/4] power/amd_uncore: uncore power management support for AMD EPYC processors Thread-Index: AQHa2sUZ7o6gF325+kuc81eAuJOWd7IEIdcAgAbTF/A= Date: Sat, 27 Jul 2024 18:46:59 +0000 Message-ID: References: <20240220153326.6236-1-sivaprasad.tummala@amd.com> <20240720165030.246294-1-sivaprasad.tummala@amd.com> <20240720165030.246294-5-sivaprasad.tummala@amd.com> <319a72e5-b1ef-4ee2-a9f4-6318c38e32b5@intel.com> In-Reply-To: <319a72e5-b1ef-4ee2-a9f4-6318c38e32b5@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_ActionId=296a4e43-51d9-4d05-8cee-f71f332e0879; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_ContentBits=0; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_Enabled=true; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_Method=Standard; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_Name=AMD Internal Distribution Only; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_SetDate=2024-07-27T18:46:04Z; MSIP_Label_dce362fe-1558-4fb5-9f64-8a6240d76441_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR12MB8233:EE_|SA3PR12MB9158:EE_ x-ms-office365-filtering-correlation-id: 4d3612d2-7eab-4c83-117d-08dcae6c7f7f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|366016|1800799024|38070700018; x-microsoft-antispam-message-info: =?utf-8?B?NmJW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1E3dEJCbHdjQ1RHVlZxcVBwcWZlUXFwRitj?= =?utf-8?B?eHNXYmRScnFWbUs5eHhTVXM1bjVGSkhsTDhWTE5EbDU4b0xYR2xRQVp4U3Zl?= =?utf-8?B?aXI1VGw0TVRUR1dSUCtEN2h0UkREbWNGTWNPcXhVaytyS2c9PQ==?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8233.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dElPWWJuZ0pLVE9Uck1uWmw3eEN0MDFnYkwwMEM3N2dTNVNUdk5ldUlyUmFF?= =?utf-8?B?VTB2VjIvYTAvRkhxYWFmeFBDbDJLNkJqd0gxdEdjUUxOcXBwVkJBR3Z1L1Zv?= =?utf-8?B?enNRLzROSjczMmZyUGhrSW9KT0RJSFc3SDZVampRYjAzbWt5eHY5SkQvOUJs?= =?utf-8?B?RzV1VERuU0hDK0lBak01TkNEN0M5eEVHYVY0ZHNvbVhyYVhEazloazQ1QWkw?= =?utf-8?B?aTRlem9aT2NocWsvZDlnM1A0a1U1cXF4L3k0Mkk4dWVxUCtXNjNpSmgxdThU?= =?utf-8?B?TGhmSjlyUnpLWE1DZjYrOGZxM09BY0hwN1AyQ0plcFQ5RGZXZDdObnN6VzFH?= =?utf-8?B?bDd1MndUS0pNb1YzMjFUUFQyUnI0ZURTV1N6aWo0bG5MSGJCNTJibndsTjQ5?= =?utf-8?B?MzByTGRMZG8vK2l1aGl1a1Z4aFJNajJIb3N1MW5QQ1RKNWliZTBQNGJzQzZI?= =?utf-8?B?SmFxcFczQ1Q5VkM2YzJIaThHeEM3cnZDMG1rWnA5QWdDNUx2TUlycnAzdk9s?= =?utf-8?B?OHltVTNGZUVsTmdxN1hGb0Vjb21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21ldkZVWVhjeWFiZWh6bzJBeTlab0E3NGVvZmx2NG1QWDF5TDhOV055?= =?utf-8?B?WFhLVGlSTm9YUkVlQnB1ejFLZUJhRFZsbkE3Y1p1M09EUkExNk5Vd0VoTDJU?= =?utf-8?B?VU03MTN5aHNCRklhTVZ4Q0svQTd6WldBRVV3WlJTMnNqcXhKNXRKUUVKTXJP?= =?utf-8?B?ZWRTU1hGVWpFVHBNRDBNSnZ6LzFDSG04dTlDVW9uWk9QNCtldzI1cExicEdh?= =?utf-8?B?Kzk4MmhabzVWWnIrSGZ5YmVWNHhlL28rWXc2RnRraHhWQW84UENjU2hNUUR2?= =?utf-8?B?SmZTNFZpSmpzclllSzNheTlJb0ZmRDEyckkxUTNtWVB4VloySnBWeWVObi9W?= =?utf-8?B?dFE0b2hQNEpqenMxK2ltc1oyYzEzT011SUl0ZG5JRzZtMVFIeWtoMnJ3cWRy?= =?utf-8?B?RkJxR0s2OEtudjNNcjVsRnVYRzlLaVhoclkyYTFCVU1YaDVBb0ZtdVNqckdK?= =?utf-8?B?ZnhLd1NoS3pvMmhuUHdCVXJ5Sm1CV04wMXVSUTM2azM3TC91RFM3RUhLMGlL?= =?utf-8?B?bzdMSWwvb21OWTl3S21lSkx6VjBjZTQ0dFNiQ0R1SG9idytPUHpiZXY1SGVM?= =?utf-8?B?OWlOMmI2dEJzN3Izck1HZlBPejVrUG1IVkM3N1dMbmNDdWhJWFJSbFd1Vmpu?= =?utf-8?Q?VTzQ=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8233.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d3612d2-7eab-4c83-117d-08dcae6c7f7f X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jul 2024 18:46:59.8392 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Y85EhSc/MQtCVpSqdzpYkC7WQBxXHmxisweFi5L9VNithx1Mgy9KZcmsFT8dnYlvxxRrwI6ffMmXP0LoSZkevg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB9158 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org W0FNRCBPZmZpY2lhbCBVc2UgT25seSAtIEFNRCBJbnRlcm5hbCBEaXN0cmlidXRpb24gT25seV0N Cg0KSGkgRGF2ZSwNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBIdW50 LCBEYXZpZCA8ZGF2aWQuaHVudEBpbnRlbC5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIEp1bHkgMjMs IDIwMjQgNDowMyBQTQ0KPiBUbzogVHVtbWFsYSwgU2l2YXByYXNhZCA8U2l2YXByYXNhZC5UdW1t YWxhQGFtZC5jb20+Ow0KPiBhbmF0b2x5LmJ1cmFrb3ZAaW50ZWwuY29tOyBqZXJpbmpAbWFydmVs bC5jb207IGxpaHVpc29uZ0BodWF3ZWkuY29tOw0KPiBkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29t OyBZaWdpdCwgRmVycnVoIDxGZXJydWguWWlnaXRAYW1kLmNvbT47DQo+IGtvbnN0YW50aW4uYW5h bnlldkBodWF3ZWkuY29tDQo+IENjOiBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtQQVRD SCB2MSA0LzRdIHBvd2VyL2FtZF91bmNvcmU6IHVuY29yZSBwb3dlciBtYW5hZ2VtZW50DQo+IHN1 cHBvcnQgZm9yIEFNRCBFUFlD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