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 340F14297B; Tue, 18 Apr 2023 10:25:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 227C5410EA; Tue, 18 Apr 2023 10:25:59 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2048.outbound.protection.outlook.com [40.107.102.48]) by mails.dpdk.org (Postfix) with ESMTP id 7223940698 for ; Tue, 18 Apr 2023 10:25:57 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C7dfajB6mn6lTm2KmDt9HRxDXSdU4j781eFcGnKTQh3slBISoTk6/hphKylpnTdQKEjN5YUp5Pxn34xozM3QZofB05xBhYSMxOA6dGDGep6F21EWqG7nISniCUGTAYT5TG2zfl2hlDJyfWUp1YmI5n6qHOGVk91ElWkXUPgkXK8Vod/nH2eSeA5sRyfgowz8iXIkkxa2zJ4OSgcvUD9aMEZInYq0m3+mYVLPJZaXC1UEk0XwFheqsTgoCbhtxLOVJTCp8Xf7s9DW6/RiPLBVQ7UGtfZ757CH5HNMO8SRf+hSKLMwykzxdN6aBusNPWPPH6szjnOgMNilfndtr7xQyg== 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=NqqKSHUjKXz0NwwutW1BYB+0gqzIC5K2XIpBY0aDCXs=; b=dkc9A9Ek9VyTtW2JfMMIwt4ENle2W7L6o1pYSDyx3UYIdS5HNAtiVqmP6ECnNrO7lllPOZgXJqng6EUP3600x/d1kICIQKMiB97xmtF5QeFyqxJKlNhMePsf/8NC3UbpEhQFoaU386J9YUPqDEYTsGQXWf+OzJ29abW01EVfJ7eSTQUmndS7nwi+FXZcTbj46+m+76C4LadhyuhilOdOpnc9JTBpHqcWJYa/AmH1P6P8g6ZX6m+e3ihQ/+iBCLPXAkYapaTKl8KRgHPFjxGuVR0WqtZDXI3CM1vKeJSetXlyu4MSQp9epMEM0tublV69tSevsaokew+8iq5MJy/l1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); 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=NqqKSHUjKXz0NwwutW1BYB+0gqzIC5K2XIpBY0aDCXs=; b=trg9/LK6RN9nIWlSxSr7CCMDR0rrZXORQlTT0c0TZEHBGwRz6+cODSzy7Z14Jmq7u1AG/vNrkdkqDi/Pcal+nq2woEOlK9eL0QAfhMzYkdJGmPJuE6VFMyv57vNDGV9O4j1jg8OEE566QNErmdXEny1oJ3umPqsN5ipCz3YvzyA= Received: from BN9PR03CA0271.namprd03.prod.outlook.com (2603:10b6:408:f5::6) by MN2PR12MB4285.namprd12.prod.outlook.com (2603:10b6:208:1d7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.45; Tue, 18 Apr 2023 08:25:55 +0000 Received: from BN8NAM11FT053.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f5:cafe::96) by BN9PR03CA0271.outlook.office365.com (2603:10b6:408:f5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.47 via Frontend Transport; Tue, 18 Apr 2023 08:25:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT053.mail.protection.outlook.com (10.13.177.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6319.20 via Frontend Transport; Tue, 18 Apr 2023 08:25:54 +0000 Received: from telco-siena.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 18 Apr 2023 03:25:50 -0500 From: Sivaprasad Tummala To: CC: , , Subject: [PATCH v4 0/4] power: monitor support for AMD EPYC processors Date: Tue, 18 Apr 2023 01:25:25 -0700 Message-ID: <20230418082529.544777-1-sivaprasad.tummala@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230417043136.470110-1-sivaprasad.tummala@amd.com> References: <20230417043136.470110-1-sivaprasad.tummala@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT053:EE_|MN2PR12MB4285:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b7846d7-c1ae-41bb-0c76-08db3fe6875e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S746CYnX9zxzMBjD07couKlIxlr8PuBmC9el0/zAWi33zVbdbDrFv+ofE3VJPQ5cKWaQiwpwNBQ3TuYZql+e4UI/UOKNllqRePJnPrcR9l0qeICxZ6FoR5eOqlhq/8lfPtE45vyAem7+mxYiLyY1i6IAPnrwv7cXsXKcOyKkkn4VpoDsri/uAHupHuYJW95PHj3og7Y7omt021DiC+dD7T2NMi5U/yok8Q8lD7GxvEwz2xc1BjnX5ocYV6vn3MV5rHwSg4T3tg1C7P709qWMlYwUIwt+BcLjH5arev/Rut1VR/AO16WEjQwATeRsywNDj7XM/PqwXHk1CknalW6AEptI02porBUaU/mE7z3vKI7hj9q7ZWTg5mArcusUgyOmhQHq1sPSCUElDaJ5Uw0acTd+Gdi+beWwjAdMT3bjaf1Ef7bPWvBfMScozyKEHyIyO/sSFYTFBXQN/tT8yqO3b7oj12RPnURDXdEWMkpBaGHeg4eyaa3HFYZryh/YegZm04hBlJ/BpadN7mhOYLDQCBmJ3jTM2qKpI8TqIDDeOKXU/6zWaiyK5F50bj+xcNAZMpi8cTTT8kcdB7wry4HYSBEAlwyvHpW2pYAwgeXACinDwKSSbkAHM8tUNZjT5fDLHZZTgGF8X0b7tsZFuh+H3AMOEKPS84RZf/cs1b+60bTs1ftYsQCYQNuFJfB6jjTKD9BGzgBr9potSxEZ89WDer+L/Am5pFS/EFBUljnCxmY= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(376002)(346002)(39860400002)(136003)(396003)(451199021)(46966006)(40470700004)(36840700001)(356005)(82740400003)(7696005)(6666004)(40460700003)(54906003)(2906002)(4744005)(81166007)(40480700001)(478600001)(83380400001)(336012)(426003)(47076005)(16526019)(186003)(2616005)(1076003)(26005)(82310400005)(36860700001)(4326008)(70586007)(5660300002)(44832011)(316002)(70206006)(6916009)(41300700001)(86362001)(8936002)(36756003)(8676002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Apr 2023 08:25:54.8704 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5b7846d7-c1ae-41bb-0c76-08db3fe6875e X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT053.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4285 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 mwaitx allows EPYC processors to enter a implementation dependent power/performance optimized state (C1 state) for a specific period or until a store to the monitored address range. Sivaprasad Tummala (4): doc: announce new cpu flag added to rte_cpu_flag_t eal: add x86 cpuid support for monitorx eal: removed unnecessary checks in x86 power monitor APIs power: amd power monitor support doc/guides/rel_notes/deprecation.rst | 3 + lib/eal/x86/include/rte_cpuflags.h | 1 + lib/eal/x86/rte_cpuflags.c | 3 + lib/eal/x86/rte_power_intrinsics.c | 84 +++++++++++++++++++++++----- 4 files changed, 78 insertions(+), 13 deletions(-) -- 2.34.1 Cc: dev@dpdk.org Cc: david.marchand@redhat.com Cc: ferruh.yigit@amd.com v3: * patch rework based on review comments v4: * no code changes. only for patchworks