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 2437578003C for ; Tue, 30 Apr 2024 05:45:14 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=RfPDiTYwEK6TNbmbSKcTadIjd8+KNjxhMCkV1yGBuQ4=; 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=1714455913; v=1; b=MXSkZKJZN7WHLaQsTcvzpNntwGSXfqLtSc70Pk4iAlO5M50vi2nojzxu7riF7Ul7jtrtMCM6 RuJOO/sRWuhI+8r8IUodcm6pCsSgQ9YlxdnkMdelaZIEvHyaLZtWFpEARfVWXZfvZKQXbcfYDqp +eqpzucVDZygcEW6k5dqBST/9GD8uPzh5oBvkHintUSKKkIRY+PnfSLU7oukVgXCGDKZcotVXC5 rKtoTJELU83vWtfiL4i8yQSCAuAockgxATzfSq6F0v/f8wBwXMdn9F0qhCKVtkcSrtJ9Se88Pn5 P05+im5Em6nVb0HJxPqntggJE76pMwyWFoPOca2RAsHXg== X-Received: by 127.0.0.2 with SMTP id 4n6PYY7687511xUsJ6V0U9QA; Mon, 29 Apr 2024 22:45:13 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by mx.groups.io with SMTP id smtpd.web11.8508.1714455912926784871 for ; Mon, 29 Apr 2024 22:45:12 -0700 X-CSE-ConnectionGUID: ESLwIivyRRONswaXaTsP7w== X-CSE-MsgGUID: uHlTnNvRSmWdX0DP/tfstg== X-IronPort-AV: E=McAfee;i="6600,9927,11059"; a="21551424" X-IronPort-AV: E=Sophos;i="6.07,241,1708416000"; d="scan'208,217";a="21551424" X-Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2024 22:45:12 -0700 X-CSE-ConnectionGUID: GydkE4UqQ5a+JA15irZs2Q== X-CSE-MsgGUID: vZ0WDn50QtG/zL9bnGKQqA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,241,1708416000"; d="scan'208,217";a="26959904" X-Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa008.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 29 Apr 2024 22:45:12 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) 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:45:11 -0700 X-Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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:45:11 -0700 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (134.134.137.102) 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:45:11 -0700 X-Received: from MN0PR11MB6158.namprd11.prod.outlook.com (2603:10b6:208:3ca::18) by SJ2PR11MB8371.namprd11.prod.outlook.com (2603:10b6:a03:543::15) 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:45:09 +0000 X-Received: from MN0PR11MB6158.namprd11.prod.outlook.com ([fe80::b0c8:dcaf:59ea:9e99]) by MN0PR11MB6158.namprd11.prod.outlook.com ([fe80::b0c8:dcaf:59ea:9e99%6]) with mapi id 15.20.7519.031; Tue, 30 Apr 2024 05:45:09 +0000 From: "Wu, Jiaxin" To: "Ni, Ray" , "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: AQHamq8p5xM7KHwEa0mUMRIGetPRh7GAQZnOgAAL++A= Date: Tue, 30 Apr 2024 05:45:09 +0000 Message-ID: References: <20240430033313.30152-1-jiaxin.wu@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN0PR11MB6158:EE_|SJ2PR11MB8371:EE_ x-ms-office365-filtering-correlation-id: edc6fe67-cd64-4276-528d-08dc68d8b24e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?z567FhjhXo8WloMGtbuA4k92MG4u6dBV7iX0Kz2CNwCfyt0BENz7pRU3E38/?= =?us-ascii?Q?MujsqZapP+X9O1/2S9ZLKC600KqJlKSyNb/3hB4YEhqubjGOccWHIYTkUzrM?= =?us-ascii?Q?DYahH/M6bg/xepEiToe04lKc9nrPjEk25pqibxX8hyO5+EPw+sIJhgwvwbqd?= =?us-ascii?Q?cTorHZMWaB4zOwwE387hcHDZTHDQ4qS0vRuauMPCd0iAM8VqzStrjt29gj00?= =?us-ascii?Q?m34csGNxtiHu/KhNjHI8OR4iU2STwbcW4tbUNft9PP8VLjfYbg5y6SFs/nm2?= =?us-ascii?Q?UKJ8sXqpe1ovZKQkp8ECJxkRzyZPsS9dDydLgOPFQblDhRC9HCNY3V28xOTu?= =?us-ascii?Q?RAMbdQ+LJOVKQJp17t12hNa+CatEkGfpKpq/aFWP/V5xL4GuyNgJggquFCDU?= =?us-ascii?Q?/HMHCRPYFyJlSiafz/dn0aQ7us5NNq48XqmvRScVKzEof7s2nM44GGmk4FQk?= =?us-ascii?Q?LRXB8uQyFIixfp1LNL35oSbQkyicHpCRh4nnD831zKSlmv4GaT0h8syFKdZo?= =?us-ascii?Q?HJuJNSJtzH9uGOEazIj4gENwYvOvEwrxPuhI2SjLO2aZ77IvQsLQxRElshZX?= =?us-ascii?Q?gWfyLjhEQ+b2erbDTkvryUqsxiJjesVZROl2Q0SwT21m1xnDDrA0pP6Y7RVs?= =?us-ascii?Q?aoZPWGWuD1RiwaY0Uj1xIOqYjIXRu9JD3INkS/lsytSCnI5/ca/t4SGxtNvE?= =?us-ascii?Q?FN6M1kSWReyBx5jjoqfYO+/0DdJsBYY6KurQTP0YQi+kkpOe+bQ0DtLy2pSV?= =?us-ascii?Q?DPFHWU8aSeCudiwkWRM1kt+8FAU74OGnEQqlM15dy0nZwbdVUjbVRrxpvZ2o?= =?us-ascii?Q?63jMzImVLudN/TaqK/JRjr8KiTqw6yhixQruitQSrrKgfjcrVtRNAQaQNYyS?= =?us-ascii?Q?tXpEruVzTQGhFjChW0b4zXpnf6gf1jW6btbXEOWypQQCqb9lPahC+0+U2XnA?= =?us-ascii?Q?eP4BsNbV+V9fc9tAEkFUzhWzmPdWBKgIoikSdiqN7f4toRPkChY4e5zvKvE6?= =?us-ascii?Q?E8iN0GSCMbBwU9GIsh2zSxLzvXzxslaOvc220l+NwSStKEP9to4QpoJQ095a?= =?us-ascii?Q?3FevN7xJTACB4D90ekgkIgqLP9bhk2GRXDOMlONHTmDo0ufBN2pZ/K246XZq?= =?us-ascii?Q?LDl5NbQZmRLCB5ExNc0T1m5dpRi9jfSjPTrUEulnxQe7zUjHM5zc4Yd4Fkbd?= =?us-ascii?Q?vgE4EkIkVrOsNf59U6zVexwjPCf+AXON2jGbTDlaGgTP/OqH07b5JV4PPi8a?= =?us-ascii?Q?xFFNZ6T73N8/Lq6ycKFbV6WxIV/JKG07AjrSNiHkyRWVFcNwf1jIwp73iyQO?= =?us-ascii?Q?tJevz0FlS12T9v+ODkQvNnuDtkszd9oHSiYc7MIADDqNZg=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5KQ/eWVLujchaXFb02/9cocKb8m89wgUxXMuvcaAkqwSjxxR2tCMiSoEh5dC?= =?us-ascii?Q?7or1lCtRKBCQrNCVqXNSBvm8fK2jhik2V7zaK13lpKIqeNyd1hkmYn9A52oc?= =?us-ascii?Q?Em9R4ZroIWauNziYlG7Kh4mWKAHwV9LzDUouIE5JHZKP/JR2SmUTT7lkdCJJ?= =?us-ascii?Q?Q8zFfrdHIAfPniQyBgyOPTL/kYK8egHVOCabElfTEBn+1INyd/3UBieCu4uy?= =?us-ascii?Q?qpT58lxfR6BjAtvad6TRa+5EFEMsHA7nPi2rl3cSBT9ilDF7OcpQHMeTqfnD?= =?us-ascii?Q?M6o1yMQVoHogtJdA+cXXEqE2q4wvTQX5QjlB0T+Tj2h5ZP7yjzRuaq+3NZHq?= =?us-ascii?Q?udnlKWu+4jPKsFZONzhWh8Q0QlqI5t88Htws/6Lxza6vGmEGlbA/d2ItEk7i?= =?us-ascii?Q?r3ndjWRvfAXaBnB1iVlDOyv9cxlQtQhfpJFs5jmd+Se6RERiNEFtdttxjb3V?= =?us-ascii?Q?dD7VPyq2IHImL1kurgbvidkjP+XV6ykICBOXYmTDazOFmnybD/kr8evS9pp1?= =?us-ascii?Q?wpkpL/GCCgc6EaJkyql2qJIOCt/6nOF58aGUkqO8aaceuxUJkR+LcAlsZkO2?= =?us-ascii?Q?yedurYVqKR9lZYD3uQB0q/ecZ4GRtgStlViKmvF91zgKwOOw6K9Ob+XXTdbH?= =?us-ascii?Q?BeJVZoiScSmtFYG129G+0WhMLG/KgUCtRivQWepEalqeK5BRLyQLQW/zGnB9?= =?us-ascii?Q?OSRVwX5+To1/fxBOV+qDsJvDqtUhIF1Qnan7t/zn0tcwkaeubo2XD3p445Jx?= =?us-ascii?Q?YrE+mFyaByit0/QostoDww9FHcGr9nBMF/RJ27XLXRau+zsrzN9j/YHQJqXf?= =?us-ascii?Q?QmzFwHgPGG06VFW5wRL2VnlE6LrenafXtdqM0lzONnSxWn32yWI7XYRSfZCQ?= =?us-ascii?Q?CZSkfZ9dXfEdQ80CiHcML49TpLuUctUfa30HWe1t4XgHedAIQXV5vzJckTy9?= =?us-ascii?Q?SUui/EnsgN9q5+Ejt77KkvfwTXQnETYOPJinJGsV1+3IXMlnYfpZpYG9LqOr?= =?us-ascii?Q?6EaQ/OzrGjiIO5X3TdHm+7Shh3cDtlqvcLN5cngzUZ1TaHyTNL+eC9znsL90?= =?us-ascii?Q?qJyEiH0XnMuBDa8aI7Tb2D60CN0KnQxyHk7iPIquk/0AIdezt/sNFiqqiwMI?= =?us-ascii?Q?nbJcks5Axan4yMuhL5vTswa9dkV9cyzfTJrGqViu7MlVEkND8YY3TYN2ky4H?= =?us-ascii?Q?7tnw05bywF+lb8GFao4Av/MPl7jUZt49ShMDqwrwMhublJZ8CUbP3EGqP83M?= =?us-ascii?Q?IQTNKvhetKx21b51xGuQBXs6RBMXnDHa0atavEqKiuy1Qt7f3o4lv7ZP8BQy?= =?us-ascii?Q?5nf4BtduLhSVLjp+0jOrWs7zuk9/C+bNHPr8AA1zsZfFKQdmi+3Jyj2sBkvu?= =?us-ascii?Q?XzERaWmFO85ceJXSyk1YLCoDcDFGNuX5jevXRZTfKweYWPsiVLSC7jkJrJWL?= =?us-ascii?Q?XZDHrMEO2HjkAjjhIpy1m0um9Px4RADGO6dUMhlQZaCBH0s9FfROcM/UpHNH?= =?us-ascii?Q?bx1bVsDP7vbYFyqGTackoRz/zrNiNtCoHVaJAUXJ1BezBmNg96RzrnBX892t?= =?us-ascii?Q?fo6XRj2h0JfVuPJakF22yBPTe0iqQ376nJwXktoT?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN0PR11MB6158.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: edc6fe67-cd64-4276-528d-08dc68d8b24e X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2024 05:45:09.2928 (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: JSBiZppvnVfPyRrwNeURQzkSFanWdkYzFKmhnqrydLB41y0ulKW9BvCs+P8sBEUwPncpdGBdQGmC+6Kk0FurKA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR11MB8371 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:45:13 -0700 Resent-From: jiaxin.wu@intel.com Reply-To: devel@edk2.groups.io,jiaxin.wu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: gn8mYuZgMK4NfL7n5fTWRalzx7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MN0PR11MB615895A15D1B7282B76823D9FE1A2MN0PR11MB6158namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=MXSkZKJZ; 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_MN0PR11MB615895A15D1B7282B76823D9FE1A2MN0PR11MB6158namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks Ray, please help add the push label for the PR: https://github.com/t= ianocore/edk2/pull/5608 From: Ni, Ray Sent: Tuesday, April 30, 2024 1:33 PM To: Wu, Jiaxin ; devel@edk2.groups.io Cc: Zeng, Star ; Gerd Hoffmann ; Ku= mar, Rahul R Subject: Re: [PATCH v1] UefiCpuPkg/Library: Support to get processor extend= ed info 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 Hoffmann >; 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 (#118409): https://edk2.groups.io/g/devel/message/118409 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_MN0PR11MB615895A15D1B7282B76823D9FE1A2MN0PR11MB6158namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Thanks Ray, please help add the push label for the P= R: https://github.com/tianocore/edk2/pull/5608

 

 

From: Ni, Ray <ray.ni@intel.com>
Sent: Tuesday, April 30, 2024 1:33 PM
To: Wu, Jiaxin <jiaxin.wu@intel.com>; devel@edk2.groups.io
Cc: Zeng, Star <star.zeng@intel.com>; Gerd Hoffmann <kraxel= @redhat.com>; Kumar, Rahul R <rahul.r.kumar@intel.com>
Subject: Re: [PATCH v1] UefiCpuPkg/Library: Support to get processor= extended info

 

Reviewed-by: Ray Ni <ray.ni@intel.com>

 

Thanks,

Ray

 


From: Wu, Jiaxin <jiaxin.wu@intel.com>
Sent: Tuesday, April 30, 2024 11:33
To: devel@edk2.groups.i= o <devel@edk2.groups.io&= gt;
Cc: Ni, Ray <ray.ni@inte= l.com>; Zeng, Star <star.z= eng@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 featur= es 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.co= m>
Cc: Gerd Hoffmann <kraxel@redhat.co= m>
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 (#118409) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--_000_MN0PR11MB615895A15D1B7282B76823D9FE1A2MN0PR11MB6158namp_--