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 6F9B745B9C; Tue, 22 Oct 2024 08:45:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 633164060B; Tue, 22 Oct 2024 08:45:31 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2045.outbound.protection.outlook.com [40.107.96.45]) by mails.dpdk.org (Postfix) with ESMTP id A82BE402E4 for ; Tue, 22 Oct 2024 08:45:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tekrdg7NujEUAOwhdyqjY9O2JSKe8IqSiJsqZBZiJYltHY3VZDYuJm6MYNgEcnSP0Ykvn1+bodj3aJ97eNXXktwQ/PHVYGNF/HIaX/I0TGimXPgoFgklTx2TXUwk4D2qAaxgldqz8cWCuEdCffeX8RaikOqkoqRnnF/TULMjaLuL2R1DmKNPRZuFNImsqsu1LVacCYEyg2Hrd9rVeYQwALIrG8BT1gEfiEZER4B8+yri4CDmeoo1glPPOTEChhUHXc4m8Rn+WCL0Cf4gtsm38YtxE4qOIiwRhBpi19dhjlaCwHY2BoIRPnYkkYebA0W3OjXQ7aTE+daOEqPrjVQExA== 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=+l3aB5REL+kY96Ak7MQG6OYfY0LEkCR6x5fFVPhRGkk=; b=jCb7tK/ojFs4tkrw0FAu8XNVkQXFtBYOmzpecB12DwbxE/jRnZb+wtjKr5jRSY866UJXWNkKXSxnxWExguEGiLc1PxXWMb02z6TUW+Jny4px0DXmM5z4OARbmQlUoXZzbiS9dYXXUoTZlFJyQRm+MLBRJNH4iFEK8KgkJd223k031KFbnE3YYrTf/aDzydGEUopfVrjrlBq2o+JNYsKVD//wZ6EDxyEcCHIvth14OZLcsdB/zkm4XW3qdCHNriu87PoqVB4OtHQbY0ZEMm3hKJVZN5sLTa+QeGuHCNtshbL3kRlkFD31kFUNJ/Vs4JnpbB88DMhPYUStO4XgbwgMyg== 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=+l3aB5REL+kY96Ak7MQG6OYfY0LEkCR6x5fFVPhRGkk=; b=2bBopGSNFvPOQPu87KkQT1PorSeqO/LLCXmlvTLPnuqtozwnbzaM07qKI+RJ4i1/EibpbrKtJ4VF/coyNw+Wa78eGRvhsK4SZHU79jVL4RjJIYLalhnSDpuQZrBZLqSGmK8xW6c74/UjYyj2M3wPO19cRVafDo/dvqKGlQKxsZ8= Received: from CH3PR12MB8233.namprd12.prod.outlook.com (2603:10b6:610:129::15) by MN0PR12MB5812.namprd12.prod.outlook.com (2603:10b6:208:378::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Tue, 22 Oct 2024 06:45:26 +0000 Received: from CH3PR12MB8233.namprd12.prod.outlook.com ([fe80::278f:5cc5:549c:3515]) by CH3PR12MB8233.namprd12.prod.outlook.com ([fe80::278f:5cc5:549c:3515%5]) with mapi id 15.20.8069.027; Tue, 22 Oct 2024 06:45:26 +0000 From: "Tummala, Sivaprasad" To: Stephen Hemminger CC: "david.hunt@intel.com" , "anatoly.burakov@intel.com" , "jerinj@marvell.com" , "radu.nicolau@intel.com" , "gakhil@marvell.com" , "cristian.dumitrescu@intel.com" , "Yigit, Ferruh" , "konstantin.ananyev@huawei.com" , "lihuisong@huawei.com" , "dev@dpdk.org" Subject: RE: [PATCH v7 2/5] power: refactor uncore power management library Thread-Topic: [PATCH v7 2/5] power: refactor uncore power management library Thread-Index: AQHbI29AKiAx/YXGP0WNImZYPWcR5bKR+cqAgABbOqA= Date: Tue, 22 Oct 2024 06:45:26 +0000 Message-ID: References: <20241020092233.2906612-1-sivaprasad.tummala@amd.com> <20241021040724.3325876-1-sivaprasad.tummala@amd.com> <20241021040724.3325876-3-sivaprasad.tummala@amd.com> <20241021181841.4f8fb66d@hermes.local> In-Reply-To: <20241021181841.4f8fb66d@hermes.local> 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=6631fa8b-e2fe-4ba0-9138-ee14dca2a518; 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-10-22T06:45:11Z; 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_|MN0PR12MB5812:EE_ x-ms-office365-filtering-correlation-id: 7c5d9157-443f-43d2-c1ae-08dcf2651ca0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|7416014|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?us-ascii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Sum+KzdpaYy?= =?us-ascii?Q?OrlQJhzZJ9PDCryChd3xxN8wAZY5NN0GZeogtEmX2Nscj8QtoyYWV3Cr8FKx?= =?us-ascii?Q?zPVDeW7uYtgLoQOMRyd73EhvjJYWYnHmz/7Ne/0eHJIHeVcSDQtTzOtoJ49s?= =?us-ascii?Q?tvzCR1pPAAegew9FFOsiKITF4QNZOxrokGn0CkFA9dQRaNV8v+25Tx/GIVxU?= =?us-ascii?Q?DCYZ/cn3BYrMpLU6h0YeHB5VTJNoqi7CznUhk/jyrnDm7bafHIDBMUbbe4ap?= =?us-ascii?Q?FXN2y7VVHTVDBuLL3igt4c13nWNUpSivVsvt3PAs46q7e0FexB8B8//IeHj/?= =?us-ascii?Q?zV1FuRE+TtSyidaJf/UVQQkWVPxicB7kKa585a3mLTKYGG+7zVIBxOljF28c?= =?us-ascii?Q?TIkM/744QrEuMmxZGdZ3zvznQbOQ8N7XyMwN3m/njoNfj37Kb3X0shGaT9w+?= =?us-ascii?Q?QmQhZaBVz6fzq7n3WhbWuTTV6sqzy23/mDRejnuiRfq1AMYpz05G3SP3q4FU?= =?us-ascii?Q?EaNs3zg=3D?= 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)(7416014)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?pdSJgcWQSdP04u3Vv5trgwD4ERhshjdJfLvNoxIQzkm3mTA3ni2dpnItZl9m?= =?us-ascii?Q?ifN8Q7IOu3lwSERah0NZs/qD8NEYpOg75yClBUdYldyOj/clWQ3H2HEm0w1s?= =?us-ascii?Q?VzoyFPHLNAD7vZVuAXX+NvNTTliiyV61q2dJc5aApDfRAbBhCkcgRRp24RYP?= =?us-ascii?Q?uDDc5tVMArE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VpIO5M?= =?us-ascii?Q?2dV8R2tRVOxo8U4QgJ/O2jp3HLplW8Zu7AXUw2MBoPB2JGZhgAGUAv+RpYaX?= =?us-ascii?Q?7oDlIjeZNCv3gBb8TqfH2iRtbC7Jauge02U5+Rq1cMdkHPZcDSnvX0yWShZc?= =?us-ascii?Q?fms5YnBywv6Zw9/WLLNgRNQK4psVreyvFkHiYcAbCu3PajkP8OfUsbEu/N8J?= =?us-ascii?Q?Y99tRK+bTX3qozlIC/WJYqpn0bvI2Axf+o/rSpZskKXQrQhdALGUUWn+TMKs?= =?us-ascii?Q?6BGRCTFlheSwCeBPnOY6WG2QWxXzQKFL6k+qhOEfSxKTsEliq9sk6kfhIFHe?= =?us-ascii?Q?W7eM3rQPoSiPLY7CWIXj34p40bZ6fJ+wlJSp/w1TD2iQ/bOjJX7xwKazHszm?= =?us-ascii?Q?+XahFLdfTY4rEAOAF0dbf3lQ6D7YTjnJboo4rP+CtTTlC1rxLpDuVi0uPBi7?= =?us-ascii?Q?H3YlH8Yz8hqfuqy6yDjy3xLlZAS1biAYNjkdhclVUWJrVQbYCCQ787aVZ7Ju?= =?us-ascii?Q?O6W5qYCyF1x3sxOHb6k=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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: 7c5d9157-443f-43d2-c1ae-08dcf2651ca0 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2024 06:45:26.5619 (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: lmBP7BJzV76WzNoRbfMkAm1mS2AxL65tyLU/aB8RvHp4/xmfJRY80gwF1QtvL0B6wfWgZG+jg2MTrPi4n/Fs/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB5812 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 [AMD Official Use Only - AMD Internal Distribution Only] Hi Stephen, > -----Original Message----- > From: Stephen Hemminger > Sent: Tuesday, October 22, 2024 6:49 AM > To: Tummala, Sivaprasad > Cc: david.hunt@intel.com; anatoly.burakov@intel.com; jerinj@marvell.com; > radu.nicolau@intel.com; gakhil@marvell.com; cristian.dumitrescu@intel.com= ; Yigit, > Ferruh ; konstantin.ananyev@huawei.com; > lihuisong@huawei.com; dev@dpdk.org > Subject: Re: [PATCH v7 2/5] power: refactor uncore power management libra= ry > > Caution: This message originated from an External Source. Use proper caut= ion > when opening attachments, clicking links, or responding. > > > On Mon, 21 Oct 2024 04:07:20 +0000 > Sivaprasad Tummala wrote: > > > diff --git a/lib/power/rte_power_uncore_ops.h b/lib/power/rte_power_unc= ore_ops.h > > new file mode 100644 > > index 0000000000..f91994d3c1 > > --- /dev/null > > +++ b/lib/power/rte_power_uncore_ops.h > > @@ -0,0 +1,230 @@ > > +/* SPDX-License-Identifier: BSD-3-Clause > > + * Copyright(c) 2022 Intel Corporation > > + * Copyright(c) 2024 Advanced Micro Devices, Inc. > > + */ > > + > > +#ifndef RTE_POWER_UNCORE_OPS_H > > +#define RTE_POWER_UNCORE_OPS_H > > + > > +/** > > + * @file > > + * RTE Uncore Frequency Management > > + */ > > + > > +#include > > +#include > > + > > +#ifdef __cplusplus > > +extern "C" { > > +#endif > > Since this all internal doesn't really require C++ guards. ACK!