From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 60D94D80CA0 for ; Thu, 7 Dec 2023 00:23:23 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=oeaxMCXgkzzCTUlSCfti3Q0hNt8JXvbWIsA0+kxqlj0=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1701908602; v=1; b=ZB3L53S6W0ooJfAk8nqWeH4TfAWJs1EgRVwSxxg0K4XdWBKW0V3p/0hesJO7IXD4zApoWOKA xWR/fUqaWAhjUjlLl+3SX/VER5uYqoiJ9hV7cqQRUwdkmvYKHmDsI44/2ZsrlecurZTnwxD/g/6 f1XKcJ8/+/yMzkrIMPNuyYMw= X-Received: by 127.0.0.2 with SMTP id y80ZYY7687511xT4d8gyP2HM; Wed, 06 Dec 2023 16:23:22 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.67596.1701908601436043609 for ; Wed, 06 Dec 2023 16:23:21 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="379168890" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="379168890" X-Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2023 16:23:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="12904834" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 06 Dec 2023 16:23:21 -0800 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; Wed, 6 Dec 2023 16:23:20 -0800 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; Wed, 6 Dec 2023 16:23:20 -0800 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.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; Wed, 6 Dec 2023 16:23:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HUzzXIku/EhuCDRkOM/xta3OQ4MqVe1mXRN9kM+LwjW5enso+Z9GStCwfnSSbhS1E/U4sWUMQlTgvXV1Npp3Bu97IG0Fcd+/vGjz794iOT6aTfNc6Txotz5UjagoNhM89GUGqO+et4RBJRfKz2UaXBUpwfp0Ka/SORo13grgte8LQ+L203Sl2L6ZKSAyMn7Na2mNQoxL3RPFmOJkMqjAJeSlp6soeXG8iZWjQhLjVA83YaP/61pFKkfZpO6yhOBduySsuNIJBpLohBJmy6Tud73ZgHmPlUOYvNYgYYKJnVcudm35wc+CckSJZHLTYqWkMefn6eT7ychwVmuYMhdj6w== 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=5ymZlTAgFCoLS1W+bzaplIx1jaX1rXllHWPYQMr3zuo=; b=Kz+wpxgXpNRdkgqN9UCe+f4C63CjCaYteHs9pfFhl95FRvcT2Dl7yOlvs4wdQsGPjkatWdC073D9bwp3zTBaYbw06ZtXA9TMpaV2jlp70OX308FTTk6V8VScFSrxen/DPeS9dWyMfNO0mCsgk48ht+d0HSqRVrSEAlj6sNzVckw6MqvQfblj6ETcSZntdLfz1Odh6OOePyySdo6dq7yyiSB+DbTwei56DG3EmQ0lb1O+T2DoTCmynel194Fg2aJ5VV/NEOQ3bsiYirdLKYaRS6/Hu314iXBRj7gJezV8dFQy3YWRgw5YY1sdTeerOFW12FYpiAkgWUqcbp/7gr+QEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from BN9PR11MB5483.namprd11.prod.outlook.com (2603:10b6:408:104::10) by PH8PR11MB7965.namprd11.prod.outlook.com (2603:10b6:510:25c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.34; Thu, 7 Dec 2023 00:23:08 +0000 X-Received: from BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::6da1:a4b7:4771:14e1]) by BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::6da1:a4b7:4771:14e1%5]) with mapi id 15.20.7068.025; Thu, 7 Dec 2023 00:23:08 +0000 From: "duntan" To: "Ni, Ray" , "devel@edk2.groups.io" CC: "Dong, Eric" , "Kumar, Rahul R" , Gerd Hoffmann Subject: Re: [edk2-devel] [PATCH 5/6] UefiCpuPkg: Cache core type in MpInfo2 HOB Thread-Topic: [PATCH 5/6] UefiCpuPkg: Cache core type in MpInfo2 HOB Thread-Index: AQHaJz7UXE+YHwWcZkeR6KK0gQKxiLCcBn7ggADyBBA= Date: Thu, 7 Dec 2023 00:23:08 +0000 Message-ID: References: <20231205054900.926-1-dun.tan@intel.com> <20231205054900.926-6-dun.tan@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5483:EE_|PH8PR11MB7965:EE_ x-ms-office365-filtering-correlation-id: 9f8c813c-c125-4fa6-ccba-08dbf6bab052 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: IwBzPz8aSO/nHm5HU02FUlnrIm87bwQKwMCbdliHW/868clr6oJM7Who5xey1QytjFUy2Dgs5lAOJJ6cNb04kUpVF1aySjXfKPbDA+cw/5l0E2EBOj0b68IYASwNRXEwEourQZAdDTVEMij5blIGBepGgNwH3h7s138m+CCkx0Nr3BBiLaryI6XHEdFuYZw0ogzCKLgWnp+lKiRidOn+0nETXzMSaIE8v48pSFtrYBWcZyvMFonFyUcRB6iDSH7SG55tWfz2+vmWdHa7gp7ff6oN3qaljjTzFX533RShAMSxZHyDtCNy8z2NzTs4zSDR6gERDWpttFay7UI3f8bnnw5+2/Y1PAcxpW7mXyge/9ba9ZoT2IftKDvL3OzrzZidmHp3iJBue5rAmIwS1vErPlpoyp6h+09gXZn+Om91ZWIulujW6ztcMUuiAbqYh023kn5gYnJ6GNVMvHO+wsrAy9n+ytiKHO2Cj1lLsy9uj+OBMfoTstDfG+jTrbX2ZYF7er7H8HjRR+aEBAtjDx6rhCk0t7tv1N7jlgLGr4HBIyntrkbm6oxIL2WFyO9+1Ev3NxM8F7t9SVrM0X2Di0IdbRddKaJPh8Ags7zdrUs5MTY6ElWKCrGgbOTlA3C1wDJn x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Yy/Dfyb6iq9WJzlD1xcaBOONIc6LJmvHVXUiC54KyldztUHGZkz8gu1/RP3J?= =?us-ascii?Q?dSDM4/dArDetj3a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q?HcuhR9y5NylSpezDepZAI+GsuDRy4mgDeh3G/TavGn7C1HDXm9iJYVPLbM3y?= =?us-ascii?Q?dJYq4xdPD1TGc3NvuosvsYfNC6PAS3jBgfdL+yAimPhDk/YqbfpF/OnBqjb1?= =?us-ascii?Q?cMm34hIlr0jVHA1fQ60tnAS1H19Epnqsv4E0TtP1BCAA+vOebWVGFr++F+vo?= =?us-ascii?Q?IgfWG/oEJkykASJ9CRtlmL4w8ja8RsdZgJQakKBYvXPxo1R04PhomsFOqN7H?= =?us-ascii?Q?gtTUQeowQ7ykCLOU+uhiWGprWxgr4vGLlJx4kXCg8OSFIMLUwlCqirykagdD?= =?us-ascii?Q?4Up+Z8DeOEcUsCGN/1v9LuqNdNt2BZGVi4FJK5mVXV4viwlJ/TH170hA3Pr7?= =?us-ascii?Q?9XbaCYwZgYIDKCRIE/e8CxW3KFk8BhLMfVmLOEf40ihxlCGzhs1LMHiwfEQB?= =?us-ascii?Q?Dud8BzH3Kr3CIyQMRfw+HUpUCF/aFNg5xKw1ynAvDXpCjoz0FtbAcmABUrtm?= =?us-ascii?Q?hHaZPfRQyyR4V4Ygdxa3cmCVsWZ1ErCT35oOwhmWaDLai+yTpOA0xE0osDDn?= =?us-ascii?Q?9tcoNrqSE3ht6kJ2yfAjRZpZGVjz0sK9jiM7FHBA5YQJwy2YHUUPR7lJnNpl?= =?us-ascii?Q?MLEWdhU0Phu7eDmgH5o=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5483.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f8c813c-c125-4fa6-ccba-08dbf6bab052 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2023 00:23:08.5426 (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: 3dDd8LS/ayGEJ6/0/fXldhfze51qt+9pMTxMsBc4P9lC0WY+7uIiqxN/WaLef0iHOk+CN4Af+TZK1ihfSkuhlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB7965 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 Reply-To: devel@edk2.groups.io,dun.tan@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: gTPMn70HVveiNGuMTsokPeICx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=ZB3L53S6; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Will change the commit based on the comments Thanks, Dun -----Original Message----- From: Ni, Ray =20 Sent: Wednesday, December 6, 2023 6:02 PM To: Tan, Dun ; devel@edk2.groups.io Cc: Dong, Eric ; Kumar, Rahul R ; Gerd Hoffmann Subject: RE: [PATCH 5/6] UefiCpuPkg: Cache core type in MpInfo2 HOB > /** > Create gMpInformationHobGuid2. > **/ > @@ -558,13 +582,36 @@ BuildMpInformationHob ( > MP_INFORMATION2_HOB_DATA *MpInformation2HobData; > MP_INFORMATION2_ENTRY *MpInformation2Entry; > UINTN Index; > + UINT8 *CoreType; > + UINT32 CpuidMaxInput; > + UINTN Pages; 1. CoreTypes, CoreTypePages -=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 (#112147): https://edk2.groups.io/g/devel/message/112147 Mute This Topic: https://groups.io/mt/102987141/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-