From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 5F34F78003C for ; Tue, 30 Apr 2024 05:32:46 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=wjbbuIgq5Q5zaPAGbFQ0x/dOCfWnTNIUAcMdp2MgP7I=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type; s=20240206; t=1714455164; v=1; b=C1i15mb4IHc20jt6g3PSV04WV6lpY3lrnO3qtdAgQ5RSxuK09B+RxdEjZqgN4jSrCH7n908q TUwm+CKaN15tK9hwkEJ2Gqon0URNvOLMA3fqxRu6eFZ0mwAlFdI43cjJiAkxKRN9jeHkgaGvP7L nyK9W9f3YpcQgw6dDka8HLuEubqKT9QfjTqZaT5De/N9fcpeB/jJyGvB3sqD842ixSzzUG9znoM sDbniJdEgEXlodUv2FyhO7uvnM6bawvnbbfhvMvyTBmc9t4zW3srYQ6CFJbRtL4yomPU8D+srkg sZOOsccqvuGg+nMgjX3FaZpGkgyDQz+rBrhYWqyuxJNuA== X-Received: by 127.0.0.2 with SMTP id JTU0YY7687511x6yI4dTC23f; Mon, 29 Apr 2024 22:32:44 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mx.groups.io with SMTP id smtpd.web11.8354.1714455163704076125 for ; Mon, 29 Apr 2024 22:32:43 -0700 X-CSE-ConnectionGUID: XH0gDRsnSgCG05rPK/23xQ== X-CSE-MsgGUID: VOboBdoqTqqjRt7dcJOPyg== X-IronPort-AV: E=McAfee;i="6600,9927,11059"; a="20828030" X-IronPort-AV: E=Sophos;i="6.07,241,1708416000"; d="scan'208,217";a="20828030" X-Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2024 22:32:43 -0700 X-CSE-ConnectionGUID: Hnroq077QS+WkV5GYBPOGQ== X-CSE-MsgGUID: wRtd2PnAT1Sfnbt3Ziz43Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,241,1708416000"; d="scan'208,217";a="57217303" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 29 Apr 2024 22:32:43 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 29 Apr 2024 22:32:42 -0700 X-Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 29 Apr 2024 22:32:42 -0700 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.100) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 29 Apr 2024 22:32:42 -0700 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by BL1PR11MB5253.namprd11.prod.outlook.com (2603:10b6:208:310::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.34; Tue, 30 Apr 2024 05:32:35 +0000 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::8774:81a7:c5b7:5c2c]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::8774:81a7:c5b7:5c2c%7]) with mapi id 15.20.7519.031; Tue, 30 Apr 2024 05:32:35 +0000 From: "Ni, Ray" To: "Wu, Jiaxin" , "devel@edk2.groups.io" CC: "Zeng, Star" , Gerd Hoffmann , "Kumar, Rahul R" Subject: Re: [edk2-devel] [PATCH v1] UefiCpuPkg/Library: Support to get processor extended info Thread-Topic: [PATCH v1] UefiCpuPkg/Library: Support to get processor extended info Thread-Index: AQHamq8p5xM7KHwEa0mUMRIGetPRh7GAQZnO Date: Tue, 30 Apr 2024 05:32:35 +0000 Message-ID: References: <20240430033313.30152-1-jiaxin.wu@intel.com> In-Reply-To: <20240430033313.30152-1-jiaxin.wu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|BL1PR11MB5253:EE_ x-ms-office365-filtering-correlation-id: 78beb01f-1227-47ac-d016-08dc68d6f0d6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?iso-8859-1?Q?A5KFtRKS0P4qoyVk5twGiZptfbQxAFW2QCmMphmfblT0aO3DHjAbFHVzZ5?= =?iso-8859-1?Q?9XlagXf7F70d85IGx72t+9GpmXtVxQwmyg5Jisve0Q747n9uoHxuxbQIj4?= =?iso-8859-1?Q?imZWzXu7sKYPocBytxIlvoUZ5w82vIDL9m/G8b25SIFIl6kO3+aouaxPCn?= =?iso-8859-1?Q?Gv2Pe6tw1xNA9+K1OUq+xX565i/Wgrzs2Kf4mr3KN01voTs/YCaF3EHKbS?= =?iso-8859-1?Q?oh4QQrSRK+a6A5hyWoWQpa4N2e5A7TyjPtvh6D1cJSRCtppqFsR+nOjTKg?= =?iso-8859-1?Q?A/7Xc8taUbt09ui9kv1yd8308R186AgeTkSRwEdfDLKnbTwrVnZ6qH/c1/?= =?iso-8859-1?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jT5Xr43Juwocb?= =?iso-8859-1?Q?KwFMQy62TJL29fq4nMu94sbhhVug13YIXIyaM48sJRmXqDfcMrkO+L5Nf0?= =?iso-8859-1?Q?6O3AaKi7w9vDt7BcjTCqlmwiaXWDHDWFJFLXDgbv9j/+SBOaYkhXWa15wv?= =?iso-8859-1?Q?zC5WzE6S2bgrVPsgBu7RPn/uAk2rZuEw=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?Tgk0xiPWE+jnmVm9zyN/yNZthkCeTh84uqmu/2WHBjl9t9CuefFWu0kpFy?= =?iso-8859-1?Q?LHx2EJh1KPC5SbW5XqTUDkOa/q1HLkCNHBfItQBQFvb++8w42RCyXKXJGc?= =?iso-8859-1?Q?tLs7Mxjp59eOjSLAn1DSpnVg+obJ/A6glzkCvG4/afeSWPco7thXe2VTpd?= =?iso-8859-1?Q?vocVcqb3XkjDApfvSje3TKuyo5fmMn/Ermc7Fs+1l+ebSurlv46VQSvxNB?= =?iso-8859-1?Q?2svaRke74Mrvv50Mly+c9GEIeuQbqbc5ZfK6q7GZf0eDrY5EnZmPDXKqAE?= =?iso-8859-1?Q?5IFg2jzTL7NfvR5XUH7ugFz9fVFaaf/Az/oW6MbWjgUurQaco1YCh9eAzH?= =?iso-8859-1?Q?cFcp4SkZ1Qr4HiwreCfnlIoiBbwlewfFvBbJPdM54uxSRx983L2Bygc0vY?= =?iso-8859-1?Q?YHG/ULjI8SdWrLIQcjC42HBj7oEX2TcDWNjZmabdFM0JidgqlJqImt49/Z?= =?iso-8859-1?Q?E2RNq4i95hG4WJbNgSTftK0fWK92GtTm0dIROGc9Xc1XTMnVZ1f8DWyV2T?= =?iso-8859-1?Q?DpFSW+v2Zs+xtmjd7DLn1A1VCuklw52EWsflBQ5OuR61BgcfUVCr75cCA9?= =?iso-8859-1?Q?9CoQoL3pvF3KafETI0H2J0pB41fMDrlPv5avj36t+eJovN0XGBPia+WnHA?= =?i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lIRlk8xRqgK7idrrveE/SDS4eq?= =?iso-8859-1?Q?2yRkwHPElNOhHOkH4AxCdR94/l78O5W1b4g/tOrPSFitRZT4QJxMRbU/ja?= =?iso-8859-1?Q?EWrP8dZOZX0/Y=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78beb01f-1227-47ac-d016-08dc68d6f0d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2024 05:32:35.2219 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7xSGFRxfIprrgwPiRmuj6ioJ91f65pJKBQ4rKgW4Nyp9w8igHmj66e5PIEcskggLFJHhe9fPk3W65E6pepa1XQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5253 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 29 Apr 2024 22:32:43 -0700 Resent-From: ray.ni@intel.com Reply-To: devel@edk2.groups.io,ray.ni@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: z6mp0vFGN1sFkm952T4MP6s1x7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MN6PR11MB8244CD6A2005567E9F3B693F8C1A2MN6PR11MB8244namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=C1i15mb4; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --_000_MN6PR11MB8244CD6A2005567E9F3B693F8C1A2MN6PR11MB8244namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni Thanks, Ray ________________________________ From: Wu, Jiaxin Sent: Tuesday, April 30, 2024 11:33 To: devel@edk2.groups.io Cc: Ni, Ray ; Zeng, Star ; Gerd Hoff= mann ; Kumar, Rahul R Subject: [PATCH v1] UefiCpuPkg/Library: Support to get processor extended i= nfo Intel has some features need to use processor extended information under CPU feature InitializeFunc(), so add code to support it: This patch is to add CPU_V2_EXTENDED_TOPOLOGY to get processor extended info. Cc: Ray Ni Cc: Zeng Star Cc: Gerd Hoffmann Cc: Rahul Kumar Signed-off-by: Jiaxin Wu --- UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.c | 4 = ++-- UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.c | 4 = ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeatur= esLib.c b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesL= ib.c index e635cade5d..d799b7f5d1 100644 --- a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.c +++ b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.c @@ -1,9 +1,9 @@ /** @file CPU Register Table Library functions. - Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
+ Copyright (c) 2017 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include @@ -99,11 +99,11 @@ GetProcessorInformation ( CpuFeaturesData =3D GetCpuFeaturesData (); MpServices =3D CpuFeaturesData->MpService.Protocol; Status =3D MpServices->GetProcessorInfo ( MpServices, - ProcessorNumber, + ProcessorNumber | CPU_V2_EXTENDED_TOPOLOGY, ProcessorInfoBuffer ); return Status; } diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeatur= esLib.c b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesL= ib.c index d4c528b3e9..1db6adc280 100644 --- a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.c +++ b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.c @@ -1,9 +1,9 @@ /** @file CPU Register Table Library functions. - Copyright (c) 2016 - 2020, Intel Corporation. All rights reserved.
+ Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include @@ -137,11 +137,11 @@ GetProcessorInformation ( CpuFeaturesData =3D GetCpuFeaturesData (); CpuMp2Ppi =3D CpuFeaturesData->MpService.Ppi; Status =3D CpuMp2Ppi->GetProcessorInfo ( CpuMp2Ppi, - ProcessorNumber, + ProcessorNumber | CPU_V2_EXTENDED_TOPOLOGY, ProcessorInfoBuffer ); return Status; } -- 2.16.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118405): https://edk2.groups.io/g/devel/message/118405 Mute This Topic: https://groups.io/mt/105815222/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --_000_MN6PR11MB8244CD6A2005567E9F3B693F8C1A2MN6PR11MB8244namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Reviewed-by: Ray Ni <ray.ni@intel.com>

Thanks,
Ray


From: Wu, Ji= axin <jiaxin.wu@intel.com>
Sent: Tuesday, April 30, 2024 11:33
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Ni, Ray <ray.ni@intel.com>; Zeng, Star <star.zeng@= intel.com>; Gerd Hoffmann <kraxel@redhat.com>; Kumar, Rahul R <= rahul.r.kumar@intel.com>
Subject: [PATCH v1] UefiCpuPkg/Library: Support to get processo= r extended info
 
Intel has some fea= tures need to use processor extended
information under CPU feature InitializeFunc(), so add code
to support it: This patch is to add CPU_V2_EXTENDED_TOPOLOGY
to get processor extended info.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Zeng Star <star.zeng@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
---
 UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.c= | 4 ++--
 UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.c= | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeatur= esLib.c b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesL= ib.c
index e635cade5d..d799b7f5d1 100644
--- a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.c=
+++ b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib.c=
@@ -1,9 +1,9 @@
 /** @file
   CPU Register Table Library functions.
 
-  Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.&= lt;BR>
+  Copyright (c) 2017 - 2024, Intel Corporation. All rights reserved.&= lt;BR>
   SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
 
 #include <PiDxe.h>
@@ -99,11 +99,11 @@ GetProcessorInformation (
   CpuFeaturesData =3D GetCpuFeaturesData ();
   MpServices      =3D CpuFeaturesData-&= gt;MpService.Protocol;
 
   Status =3D MpServices->GetProcessorInfo (
            &nb= sp;            = MpServices,
-            &n= bsp;            Proc= essorNumber,
+            &n= bsp;            Proc= essorNumber | CPU_V2_EXTENDED_TOPOLOGY,
            &nb= sp;            = ProcessorInfoBuffer
            &nb= sp;            = );
   return Status;
 }
 
diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeatur= esLib.c b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesL= ib.c
index d4c528b3e9..1db6adc280 100644
--- a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.c=
+++ b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/PeiRegisterCpuFeaturesLib.c=
@@ -1,9 +1,9 @@
 /** @file
   CPU Register Table Library functions.
 
-  Copyright (c) 2016 - 2020, Intel Corporation. All rights reserved.&= lt;BR>
+  Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.&= lt;BR>
   SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
 
 #include <PiPei.h>
@@ -137,11 +137,11 @@ GetProcessorInformation (
   CpuFeaturesData =3D GetCpuFeaturesData ();
   CpuMp2Ppi       =3D CpuFeaturesD= ata->MpService.Ppi;
 
   Status =3D CpuMp2Ppi->GetProcessorInfo (
            &nb= sp;            CpuMp= 2Ppi,
-            &n= bsp;           ProcessorN= umber,
+            &n= bsp;           ProcessorN= umber | CPU_V2_EXTENDED_TOPOLOGY,
            &nb= sp;            Proce= ssorInfoBuffer
            &nb= sp;            );    return Status;
 }
 
--
2.16.2.windows.1

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#118405) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--_000_MN6PR11MB8244CD6A2005567E9F3B693F8C1A2MN6PR11MB8244namp_--