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 624C44235E; Wed, 11 Oct 2023 11:35:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E764E40DCE; Wed, 11 Oct 2023 11:33:53 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2068.outbound.protection.outlook.com [40.107.95.68]) by mails.dpdk.org (Postfix) with ESMTP id D53AF40A84 for ; Wed, 11 Oct 2023 11:33:51 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cXpZLXXew+/7FhnUH+PXShlBoJM2bolwKEZiECelJkE8dGRjekQ782+v/g9aaW4aGFOJGdJwrhVR/vZDHdzz5qQpQx3xhaU87K51L91LAsgbD/D3KpAWR2BXZmexo6rdOZrLIPzn+/XrKoO7dvBjEuVBr8bc9LbwMJBQ5J4mVW/DTn1HVG5pSuv6Aa49M5ToCIEz9Wtwu/c6hyp2G6Jrb99yYnwIYtAY7gq3y0V4gOF5AFdzK2/I0utbIBWKL1IHhG1Or9LtvJoD1Rbbe4rz4VQYvirObjox7CX/Iq/knawzcpXvN6qLmFw4fDeez5ndcsCMb2MXcaafU48VX7q7iw== 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=QHCgXj4n+JnTobUIKE153RtZX9GEMVqzrx5fWAFBl98=; b=XkfipzSabejkc7eLYLNgFhRo7TsX51xwdQeMYoxABVrZDlm3D6rb2KbdOvhdd24WQzizVUTEw0a0LdJN8npNUDrtx3qacxyWQWpTgATlnj0yKVYvmyl/vJTwODdNQoG+JiCY+gt51A2NcmObSVp/ssTcQIYqOwh29GL3LwigQSn1piAVGrrHCd+JEaMnO1mSemnWfMSXRw3V2CxkgIsnC0OuZeC2yph4vI8m20scx647mK5edb/szzlspWjIaiuNCt/nIAfyjLwE2runbt1NTpwjrJ1Li0zYmnIoQWixqeCmIYhUV4xI4gEjfPcCeRssGG2HQiFhSun0ZQg4RL5Stg== 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=QHCgXj4n+JnTobUIKE153RtZX9GEMVqzrx5fWAFBl98=; b=oQCfzj0hnVfVKDN6jexiQCk0q9GIq178pBrsZk5tQkSQ0zdlpTbDj05pEq3wqlfvro847fKVbZQrKjEBmF43wnXuj9f733AsoOWFzKeamoR/5xFi4jqtUGPMKHRx5SVSUYt1dSW9UxAs0I4RXS9vGUg5Le+UwlWddllQqutQ4IQ= Received: from DM3PR12MB9286.namprd12.prod.outlook.com (2603:10b6:8:1ae::6) by CYYPR12MB8869.namprd12.prod.outlook.com (2603:10b6:930:bf::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.38; Wed, 11 Oct 2023 09:33:47 +0000 Received: from DM3PR12MB9286.namprd12.prod.outlook.com ([fe80::16d0:9604:8fa:97a7]) by DM3PR12MB9286.namprd12.prod.outlook.com ([fe80::16d0:9604:8fa:97a7%4]) with mapi id 15.20.6863.032; Wed, 11 Oct 2023 09:33:47 +0000 From: "Tummala, Sivaprasad" To: David Marchand CC: "david.hunt@intel.com" , "konstantin.v.ananyev@yandex.ru" , "roretzla@linux.microsoft.com" , "anatoly.burakov@intel.com" , "thomas@monjalon.net" , "Yigit, Ferruh" , "dev@dpdk.org" Subject: RE: [PATCH v6 3/3] power: amd power monitor support Thread-Topic: [PATCH v6 3/3] power: amd power monitor support Thread-Index: AQHZ+rnL22JEahwMt0KKgTadjzoQhLBCusoAgAGAaHA= Date: Wed, 11 Oct 2023 09:33:46 +0000 Message-ID: References: <20230816185959.1331336-3-sivaprasad.tummala@amd.com> <20231009140546.862553-1-sivaprasad.tummala@amd.com> <20231009140546.862553-3-sivaprasad.tummala@amd.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=52454e1b-fa91-4ef6-882d-c6f51dfb5b65; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2023-10-11T07:55:39Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_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: DM3PR12MB9286:EE_|CYYPR12MB8869:EE_ x-ms-office365-filtering-correlation-id: 4c106ef4-5752-43d0-8264-08dbca3d2b04 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7H4DGBaR4X6ebtadkuZXSnG1I/yz0x6mb/MuSKdchex/LtHKlmNAvsvd1ve6KinKqbKqtQ1E6wjnMfWRhFYqKa2NvStnPmz1t+g+cs0rfYR9Uj9NYmobntPlpBQwZGus/jNjKaNEUVM5RnoqAXX6b2vme7LoB1Ai4QYIQmPnynmShWcthfXwdMgBZZiMyWYKjaBBjcpkyBCP/xcwVta1+2mpuVvOzj2Nd2+cQH7aqP3aH9ls1K5RtYul7jzo7Xbzl6I3eoJ8FZaqipaaBzzlFyBbfa9UJaJCEaO/ak00Yf1uBizaA8tqLk3Wf51fA6u2GWbYHk6X5loFhe7wFtKfOKeTAzGkzJKfdnJau+TDUwe+uxDBzwSeZM1a5GWpkfmf8yi10ehn3o+fiekOmrczk4jh4uAWPRdt8HOqygD5zYc+tGcx0g/GGiCm0B1FALTvjUh28mVQnS8oDoNq7hO8H2JhzMO46Jqw8O1RNtkqUkvsrKkg8LGVGiZ2ZaeflggirobVhBL99c9UFjuUWCFwV2z+D2IZarI0+FNuBXAIjAb5jJ06EGYWHl9tvsfFVYYAUHL6lpM4NmDS10lrQP+g9EOq0Bmnns5vmfft94nPYbHdyHm7q4fMkUyXZ0Cj1DTEKNVgaIPaO5FiwO74nxAkMg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM3PR12MB9286.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(396003)(136003)(346002)(376002)(39860400002)(230922051799003)(451199024)(186009)(1800799009)(64100799003)(55016003)(76116006)(54906003)(66556008)(66476007)(66446008)(64756008)(66946007)(52536014)(33656002)(38070700005)(6916009)(316002)(53546011)(6506007)(7696005)(71200400001)(38100700002)(2906002)(5660300002)(8676002)(4326008)(478600001)(8936002)(86362001)(122000001)(41300700001)(9686003)(83380400001)(26005)(23180200003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?S2Y2QlRyUHBEOWhPRy85RUJDbVdIV1lXMDU2L3h2ZlJ6VE44Z1VUY2k0b0Vo?= =?utf-8?B?Q0FFYkZOVnJtKzVnR3BaMjhUVXdtaktKbDM1dTNKaE85c3JUN0JQWWFuWHdS?= =?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1gvTFBvV0Z3dWEx?= =?utf-8?B?THRWOWU1MVBUQWVYNGpMQnBzdjd4czY3bFRwTlRPUHZHVlFneTQzMG1IU2sr?= =?utf-8?B?b0NXditJZGV5Y0lNZVFwODlvZ0J1V1BGK052ZndFNVgwNkFGOVlGR21XYnhY?= =?utf-8?B?cHUrUEZwVVdaWGtQRjk0dXJjWDdBVDdwZ0Z2UlJ5L0VYeFFiTmQ2Y2huVWx5?= =?utf-8?Q?bJ4Y=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: DM3PR12MB9286.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c106ef4-5752-43d0-8264-08dbca3d2b04 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2023 09:33:46.6369 (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: uuOdD1DVoWQGVWaH0Dxmkn8TNggYsP8PBzN1MgVo47qY1bNeI98bJd3NEHz1igoPpaArf/u03sxjf5QuHe/c7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR12MB8869 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 W0FNRCBPZmZpY2lhbCBVc2UgT25seSAtIEdlbmVyYWxdDQoNCkhpIERhdmlkLA0KDQo+IC0tLS0t T3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IERhdmlkIE1hcmNoYW5kIDxkYXZpZC5tYXJj aGFuZEByZWRoYXQuY29tPg0KPiBTZW50OiBU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