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 3E09441CEC; Mon, 20 Feb 2023 02:56:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C39FE42DBA; Mon, 20 Feb 2023 02:56:20 +0100 (CET) Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2064.outbound.protection.outlook.com [40.107.104.64]) by mails.dpdk.org (Postfix) with ESMTP id DF29A40691 for ; Mon, 20 Feb 2023 02:56:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A/KLyCrq/NhKI5rCE2AdX1YmqJifn/JtcUz/vX2PLqE=; b=xgPCOvHA2VRdii+AezAhWakBIQORzyB52NHfxj1JSnPnqN+6eUgIa7+qHb1+L8Mab9W6wTCJmeAKcNxqaUJwsLju7LmvrfMPShzOkr9dtLbTsTZ799awivjkaD2bIGOdm7FHrJ+x2MOk9OgTQxXaGX9UysBq5uMzYmTu8cjMFvg= Received: from DUZPR01CA0125.eurprd01.prod.exchangelabs.com (2603:10a6:10:4bc::17) by VE1PR08MB5582.eurprd08.prod.outlook.com (2603:10a6:800:1a5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.19; Mon, 20 Feb 2023 01:56:16 +0000 Received: from DBAEUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4bc:cafe::5b) by DUZPR01CA0125.outlook.office365.com (2603:10a6:10:4bc::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.19 via Frontend Transport; Mon, 20 Feb 2023 01:56:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT025.mail.protection.outlook.com (100.127.142.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.18 via Frontend Transport; Mon, 20 Feb 2023 01:56:15 +0000 Received: ("Tessian outbound 0d7b2ab0f13d:v132"); Mon, 20 Feb 2023 01:56:15 +0000 X-CR-MTA-TID: 64aa7808 Received: from 2cfbedca9d3f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3DD5BAD8-6F8A-4F17-ABC8-68AA5DE90E59.1; Mon, 20 Feb 2023 01:56:05 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2cfbedca9d3f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 20 Feb 2023 01:56:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QZfjb1vtsJ+t/MzK9Pb5DIlHJHJc3hRMPDLYvWCweyD+Z+55s+fCiLtj24w6gJfDSPB7Npzw4TOkkLVB+zoAji7ipwuO+RNimVjnwWFyHkbWLN1sz4SChbaYFyLq/GYECPpgL4UNaEOl2mjd0fsEDuUaoMvdc2Pwz0Wu5KWcPq1fFhids5aEPfZxDxu5nzU0/MtkxnPoTpMPSrG3SxwSyXb6e8oQZltJnYdVBYvLtBAR5FGYOYiDfx+x4F8hWRXN6OSQKrlYgtpWSQpG8hnWZLYglyL3OLmEwhQhd85VHA/JPV8sHomiPlWct3G18Eae+ZhbjhCn2b7chF6e2E69Pw== 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=A/KLyCrq/NhKI5rCE2AdX1YmqJifn/JtcUz/vX2PLqE=; b=Ah+6YUoC3Dq/fM7BsMc6vWApVKdl6lqvgQfWJ2or/RMhwIy0xAaUidTuewHIqJAWwTJERUrT+fIXKjtQZX8EfHNBfv9JCtdhqKAtwDcnJQ77l+r7lZt4wCGB3EeH8A/2VGfaZFzurpbpxI1edDYJG0R3ms7X2zg6XxTI1BYymYr0dzIf+QBEBC33XhO6EA59twLCoIBbnojDT3SVjc3S1e1Icfq8m2R3SwN24HriePUSZ8+TC5VHnzi+hF1JWNlHqcx0JLhg6BXyQwR9ss/AO1gi0VFual/ZHkaiFdAycLY4q5TB/VJmiFEcOXW+HxdwkghegKjKa8OcRThRYFJqtA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=A/KLyCrq/NhKI5rCE2AdX1YmqJifn/JtcUz/vX2PLqE=; b=xgPCOvHA2VRdii+AezAhWakBIQORzyB52NHfxj1JSnPnqN+6eUgIa7+qHb1+L8Mab9W6wTCJmeAKcNxqaUJwsLju7LmvrfMPShzOkr9dtLbTsTZ799awivjkaD2bIGOdm7FHrJ+x2MOk9OgTQxXaGX9UysBq5uMzYmTu8cjMFvg= Received: from AS8PR08MB7718.eurprd08.prod.outlook.com (2603:10a6:20b:50a::22) by GV2PR08MB9350.eurprd08.prod.outlook.com (2603:10a6:150:da::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.19; Mon, 20 Feb 2023 01:56:02 +0000 Received: from AS8PR08MB7718.eurprd08.prod.outlook.com ([fe80::ea79:a12:9734:b23c]) by AS8PR08MB7718.eurprd08.prod.outlook.com ([fe80::ea79:a12:9734:b23c%6]) with mapi id 15.20.6111.019; Mon, 20 Feb 2023 01:56:02 +0000 From: Feifei Wang To: Stephen Hemminger CC: Ruifeng Wang , "dev@dpdk.org" , nd , David Hunt , nd Subject: =?utf-8?B?5Zue5aSNOiBbUEFUQ0ggdjUgMi8yXSBlYWw6IGFkZCBwb3dlciBtZ210IHN1?= =?utf-8?Q?pport_on_Arm?= Thread-Topic: [PATCH v5 2/2] eal: add power mgmt support on Arm Thread-Index: AQHZD5QkEn7PALAoS06ajuxAwomD8K7TuQyAgAPECZA= Date: Mon, 20 Feb 2023 01:56:02 +0000 Message-ID: References: <20220825064251.2637274-1-feifei.wang2@arm.com> <20221214081430.1717903-1-feifei.wang2@arm.com> <20221214081430.1717903-3-feifei.wang2@arm.com> <20230217082301.644addae@hermes.local> In-Reply-To: <20230217082301.644addae@hermes.local> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 3AE4429ED768E4408FDB12F5112BD1F2.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB7718:EE_|GV2PR08MB9350:EE_|DBAEUR03FT025:EE_|VE1PR08MB5582:EE_ X-MS-Office365-Filtering-Correlation-Id: 743c4012-2521-4427-fba1-08db12e5a6a6 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: mk/1T1VALxWyXoQeEbhLu3jbhJPFjnJ0+kL5rkf4J7eMbFZfJeba7NR74PR0eXgBz9MxDBS5a7U7pMFuAWHQJ1n0/nKH2hCw2VyA2SRG9fU8w73A8hMFN73YoSYbUDxQeTRe9qHdA+kQob8a2MOzWhIVyER87Xi55/kd/5AfiVvpJG1ACEAFZleCuclIdM9T2b72ISwBhkUYOEato8KRKGvowtf9w5EjpyGFA6khcuASpluT9qA+tZphtHBlnMVuUymfBnXBsfLa7nsDZX9cliglF//DGe3h3Tt4W468ASl4ADIhFhw5Swni7SZesExwMljX9LWtLtZjzpA0tUMkbHeWVE+hCNGukNQDpFeOeOBAg/4DXmbd0fdQv7rlTgGPesMvklIh0pCvT6V/tvAmpX+N1xDta2Lb+fz2kMhxstbyFq8YEOvK1cOxRx7cjDXV1mtZGl1g4cu0FA9I81EWY48Fy1p1djO+BK5mAgLlFKLJhplIjU8UG+mTmlmwq7fsAkrA9sbxFl3+B5YLFLqqEW44wsAGgtLf1jpWbyXDQuuFT5XqFl15xESQgRNEVmb6mwG+c8ve+3zAHWeVCHMpcoNNDWFF9ZRy8v/it5hC5Oz5UfV9po7PqrUnwpGJpEHJGq+1rEyfeFrlUb2vosaDEWcX1g+YGcxQsAUD+bufzO006gKbAoimmq7ynqFelR3qDXVdiL4QmH9/mlSoAU1xCA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB7718.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(396003)(346002)(376002)(366004)(136003)(451199018)(7696005)(478600001)(122000001)(38100700002)(83380400001)(4326008)(26005)(2906002)(186003)(6916009)(66446008)(66946007)(66476007)(64756008)(66556008)(6506007)(9686003)(54906003)(316002)(76116006)(71200400001)(38070700005)(8936002)(33656002)(52536014)(55016003)(224303003)(5660300002)(86362001)(41300700001); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB9350 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 63c20756-a78f-445c-bc46-08db12e59e9a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zm1e6nhDkDVSjFJecpXRQ1witnOXURHXIcWNvFo3ep+irUIiSxJkkiMceSmmQXiHoGQ5PzK1cIG4DdCWr+l2PiIpEx6mRm8ioE4wiaq19CxSwNiHnPutr8Rj0EvccPLK+Fo3MZFF01MV9+7VDa9f00KRljMWEPChCuZzHkUUq6TKuLT6UmCYdycIPWUmzpprlbqolWXasrRyxgRKMr5QG3WquOdK5CaFkyVVMASyCHiFZNkBjlqiRG8AL0NKYtvoSrQagIrnLIlY/XJ+irHrw3OQR0pzBRUZKy78sdOj2V3Ij4qLmKf2eyaOxWPpit3AvcbNde+ynd1dN0q6stQNQxqeCNOHBaW5H95xc8xRc/3XQkvIytfdeoDkzm+hC8at7ZAaD3wwL7+iqL2zcGlIWXJiEhFxQtFo8q/gW3fThgGnYqkkTNpoaCQxsJC8NumX8n2p4kCtsISXcPzRhVqPOOhLXwafD1fQSUfAE29cUeFTNLP0PmC7urff4VqzZheNaToip2N6Yf593jhaZTi0JLdesYb40MSRQ5GD6g5BSdd0oMDmESr4ZFQ25R+1yAkE1RRI19N/K9MgUFBnQqHkT3NdWAucLBYmdgoEdTjBp5BjtQ1haBIiYba5gm1PBGJdNIjgOAThsJiMHepv05iRkdmzt/2U1RISZAq5ggPq0tc= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230025)(4636009)(396003)(136003)(346002)(39850400004)(376002)(451199018)(36840700001)(46966006)(186003)(26005)(40480700001)(8936002)(55016003)(4326008)(224303003)(5660300002)(6862004)(83380400001)(52536014)(70586007)(70206006)(9686003)(6506007)(7696005)(336012)(478600001)(54906003)(47076005)(356005)(41300700001)(316002)(82740400003)(86362001)(81166007)(82310400005)(36860700001)(2906002)(33656002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2023 01:56:15.5829 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 743c4012-2521-4427-fba1-08db12e5a6a6 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5582 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 DQoNCj4gLS0tLS3pgq7ku7bljp/ku7YtLS0tLQ0KPiDlj5Hku7bkuro6IFN0ZXBoZW4gSGVtbWlu Z2VyIDxzdGVwaGVuQG5ldHdvcmtwbHVtYmVyLm9yZz4NCj4g5Y+R6YCB5pe26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