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 8BC18D80C7F for ; Mon, 11 Dec 2023 03:16:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=MEaD3cM2I/bpykgyaokcKK74raA0KSE4hGntOPDQ84w=; 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=1702264579; v=1; b=breoI8F3QUQxIKzsviazD28O3404Wm6uWsoVT4msowGRz4SMZo9Y7Y0NDgP35WeX1Lu7tOqG pTwQizuB2vAz0GE8Tk1KosrLIwTbDdeqr3GrQioNhNEEmX97hnsOZSOpc1GCD+5yymXJcUcCCjc dygk4ukdl5N+LAdjYohp6orU= X-Received: by 127.0.0.2 with SMTP id OqtBYY7687511x8WNTVXEy5Q; Sun, 10 Dec 2023 19:16:19 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by mx.groups.io with SMTP id smtpd.web10.403.1702264578109484775 for ; Sun, 10 Dec 2023 19:16:18 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10920"; a="1399140" X-IronPort-AV: E=Sophos;i="6.04,266,1695711600"; d="scan'208";a="1399140" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2023 19:16:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10920"; a="801833635" X-IronPort-AV: E=Sophos;i="6.04,266,1695711600"; d="scan'208";a="801833635" X-Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga008.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 10 Dec 2023 19:16:17 -0800 X-Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 10 Dec 2023 19:16:16 -0800 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sun, 10 Dec 2023 19:16:16 -0800 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Sun, 10 Dec 2023 19:16:16 -0800 X-Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Sun, 10 Dec 2023 19:16:15 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J+WK2B4xe0tUvj6fyOzLfRZVGyvSRIZzsXh3Fj8rM46mpb4SiefRyP6Dv7UHtpvWlodzjuw/Nb+FUlo+UfesE96PpXC6J4l3CgKEUEJ38g5H81CA+mlksqEvYGLQGOkDS+ZHey847fmmTFu6thgsvJjl6OExu9YnUBIwQU1RKQaOa/yMi+sPGMZNELB/kJ2KUaDsYz0nG1G8LNR1PGnrp8HDbASxmZ3o881tcLbSZQ6KNDo4dcFFMJw3omzn58XOi84AP1f9Yc+sMQZeB3p90QTBbOdszEIDIWpXNuN/Q1cGGI2cr/1JJGsJguqHbnnTQYS+yQyfreDZCNvHJqk4Kw== 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=nCq9P2WzQ+cR/Rc/0r4IgwPIVg1W8aZhCkBakNlo1ro=; b=l1tuO/6tE3C5W+YUYVECjAK/xW1Ei4AVIrtZQF1iTNmYghF5hlcG31BV/bf4+bETjtmhR/u1gxpCtjf93QxCjTysNFHDlIb048UqhGx8Phxl6KJ5HOm09WhLuJyNY55pflPeI6sf2lvLxA3hpR4Z9EAT856anqXXVipY7Mt+s/9lNcupo5u2hEebxNRsVLD9uQletnSzbJORSq6q96B7nWedKjMc4wZLvJNyaMJszZsYP8r3az6CTcmMyRoITQllEYmdMexTIF8oh2PCP0iwdRbCR3zBQYatq774VTRfyeJJ1SsehcelBzM1AKZkyAGiVjVfzpfoQNoExsYLOWDEWA== 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 DM3PR11MB8736.namprd11.prod.outlook.com (2603:10b6:0:47::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.32; Mon, 11 Dec 2023 03:16:12 +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.031; Mon, 11 Dec 2023 03:16:12 +0000 From: "duntan" To: "devel@edk2.groups.io" , "Tan, Dun" , Laszlo Ersek CC: "Ni, Ray" Subject: Re: [edk2-devel] [Patch V3 0/6] Create and consume a new gMpInformationHobGuid2 in UefiCpuPkg. Thread-Topic: [edk2-devel] [Patch V3 0/6] Create and consume a new gMpInformationHobGuid2 in UefiCpuPkg. Thread-Index: AQHaKby5kbBQa+Uijk6sEi9S26d8y7CjZ+jA Date: Mon, 11 Dec 2023 03:16:12 +0000 Message-ID: References: <179ED2A497A4E732.16398@groups.io> In-Reply-To: <179ED2A497A4E732.16398@groups.io> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5483:EE_|DM3PR11MB8736:EE_ x-ms-office365-filtering-correlation-id: 1fe6bce3-b055-45c4-4998-08dbf9f78719 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: j6W0dNEdvwcp4DbgBwVNChFLspiDFFwyMiBiWPV+pIxLqJv96l2vQkQEqyl20/nJy4JvUrocgGWLvoy6+5lM2F9Pry7CE2MkiA4kIHtyLVQdVTeChcUHDE0ldtzZdJEMqsx0f+hikuNvnXLIH8NTZqS0wruuMCpV+0ij6MsScGR9IHA6S0cRX5w/M86k/mDKD3WVos/VUfy5yAGaW3l4JZJbLfs9yr0p3ZzHfJBQ22pDvO5RCWJp7I/VLZj3IqbCX1VIjEK8Oek4/JfhLfi8A7mvMUJ6na1STyBSeKcrCaGqftdvu5dVj7KI+owDZe5R6ZZIMdUh2Kp+ikU6qFsdynQ1Jzty19D9T3zpLwSmfTid4QZ1L33zg0BOY1rdGCW5YJV6wfHQaA58Nfu01usLsqerJEWDcW59wOBq6B7V7l2mU2Xtn0+t07YCsJ/B8ARbNGKdOe6ToMfifL+TNtvsnao0aOCwC2sdnEuG6UYsnQTDZGazgWsUJITm+FZ6Bq+eL8kakn93cf9mcCcF3WCqynGt2GPqxhcRvcbYVbUYiJG4E9/EEuu5G0IJkcTCSmvzla5AN8zj8MyiIKno3LE+K/QwJAKYaebedZx1sykc2AWe8koqXlYMNnEvVdx6CytWs2ZFpfIJre32fJvNwLOvNw== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?b/FAwYM7XhOpB+4WNryXKJe1rSifxSZYSPEbUmjHpogBDNHQ7sD1utWZaLF9?= =?us-ascii?Q?H+KHGqpGGX+IoVJppt86bPEM2Nj68bmgK+dA1J45BRZgPUsjp/7JuR6d4uTd?= =?us-ascii?Q?6GIvoI+hhvKiZkwFq4bzUaxWNmmzvxfR5VQVF4SLIJcsdkKFIbxL2bAJYO7A?= =?us-ascii?Q?T3dfhb52opGvM9C8KI19qq3Eza++vNC8JewEl7q6tIDeu9G2XEPLWuvmUmS6?= =?us-ascii?Q?xi941xDfOWR1b8qs/U5YlKtxbpzfS48P+4xByZeh4bH2T2cVFMad9dNiPLEM?= =?us-ascii?Q?uy2yB2lGQ6gPaz7NI39a9SkNC0xmuPB+bvI4kcB72u7mx23Yct9eoyfchWdl?= =?us-ascii?Q?oiBuaeG52kNBi4tHQGyaUumb48KQbWpgSIw6Ly4cMLy/JI/fiSHwE04eSZwu?= =?us-ascii?Q?KnPlLbgSJPEN4nm+NkjRuKegHrImjb4x/Uk4QqSad6N5Ru9bgrhT0bmNnjSb?= =?us-ascii?Q?cXW3/t2PGC6eTIlX6RsMLTn7udlANX8rLSU0Owp/8M2v5XBNOsA5GJWgixy7?= =?us-ascii?Q?P2FBbaXGSQhP4I70cQId3rVBbIZKs5sShQo44jP+8NJ72qG521Oi+54qWgjO?= =?us-ascii?Q?VY+XL1GQU2I8HM3V6ugYkvSp6YiirYJMkHjhPs3pTIaQ4S0RJSqsexlCEGQ+?= =?us-ascii?Q?ufVIVsSu9d2PWvjEcCIEdVuwjbat+e5ZxcfiqBP5M2/Podhp6d5Jw91z/bJH?= =?us-ascii?Q?yVXaT7nSKKsEW2TqNNciE2xa/1yqyshX6rEVLHn/OfdBUqLRpT9Lr7XQHE80?= =?us-ascii?Q?2o5hhETETdgPU67vVTyQvQU+whoOD9mVycBk7wvoAR73J/EZ68Qs3UrnULBO?= =?us-ascii?Q?OqTeNHKzhSpCnRdva0RF7kSg66lH4QEfotX3a5i5vr1W++ozarkXjMjBZlA/?= =?us-ascii?Q?1/VbCM573P+jM5t+6AjvAaqHjFdX5q752Au+TSpwsQFaI0AoNFYOsr0c3VCr?= =?us-ascii?Q?T1gvhSV+n4O3mClpdbPlcevS69faCelLOQZbVTXvdKQWFM/0JAYV4niFLtHB?= =?us-ascii?Q?rSSvCC3HRokjJ6g3YeVrSRqxs9PcV/XD7yBs+fVuv1Yc49unxO7SlNLSyekF?= =?us-ascii?Q?76pdvWhiimA1gmoQg/kHrX2jMaOml8/a16lGjf5wbeCtYIAFb8p4YnDjpCOm?= =?us-ascii?Q?kftETKzu1kvPnrflj7gsTSbP8TSs714jCWxiljvumpfwBX7U3OL6BgUyyGJO?= =?us-ascii?Q?6Dt9coIU6AjK13/A+U8lqWQDFE1s9fqi2mCApYU35jD92Q3kk8GmqzybM1SI?= =?us-ascii?Q?EAek67l566vWhx6xcky4krq5n7SXsetNAM8qvFAmSfYuB77ctC3ht7qq0uRU?= =?us-ascii?Q?jLKh0yxyiabWj4DpXCnf9GH84DpC+tUEQH581GAKjoguG7vOzvmDWv7PIKfs?= =?us-ascii?Q?Ki4CXKaKSMLTkvsG7Cyi8+ZYjOEpliLjWKYV8wTldRXNyOOCEaS1Ou49cIfI?= =?us-ascii?Q?uO7U7STDwlKTPXGvCYYbHNKVgw/ua8c/ZAteqWjp4zcicNW0GwAkZGTqAl7P?= =?us-ascii?Q?h1lZQ74eY7anH9KcMuJ/nl3Ehg+7Lw1OLbf0PShR5KBb92mN8FE97k0287aI?= =?us-ascii?Q?YFR9POHzyvHbPC7B4cA=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: 1fe6bce3-b055-45c4-4998-08dbf9f78719 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2023 03:16:12.1311 (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: jMwujsOQF671KsJKZwPO985QygHwpe845H/BbEw1We4viOMmDRx6jwORXZyvmg7s82s1IMOc7SSL/0sSbGHf5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR11MB8736 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: FsGXnAgWva9G26bl3diuUFWxx7686176AA= 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=breoI8F3; 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}") Hi Laszlo, Previously I sent a patch set " Move gMpInformationHobGuid from StandaloneM= mPkg to UefiCpuPkg. " and thanks for your review. To solve the issue that t= he maximum length of one HOB might not be enough when CPU count is 1-2000 o= r bigger and extend the HOB, we decide to create a new MpInfo2Hob in UefiCp= uPkg in this patch set. Do you have any comments about the patch set? Thanks,=20 Dun -----Original Message----- From: devel@edk2.groups.io On Behalf Of duntan Sent: Friday, December 8, 2023 5:55 PM To: devel@edk2.groups.io Subject: [edk2-devel] [Patch V3 0/6] Create and consume a new gMpInformatio= nHobGuid2 in UefiCpuPkg. In the V3 patch set, In patch "UefiCpuPkg: Build MpInfo2HOB in CpuMpPei", the DEBUG message form= at is modified In patch "UefiCpuPkg: Consume MpInfo2Hob in PiSmmCpuDxe", re= move unneccesary assert check. In patch "UefiCpuPkg: Avoid assuming only one smmbasehob", free allocated b= uffer when error returning case happen. Dun Tan (6): UefiCpuPkg: Create gMpInformationHobGuid2 in UefiCpuPkg UefiCpuPkg: Build MpInfo2HOB in CpuMpPei UefiCpuPkg: Consume MpInfo2Hob in PiSmmCpuDxe UefiCpuPkg: Add a new field in MpInfo2 HOB UefiCpuPkg: Cache core type in MpInfo2 HOB UefiCpuPkg: Avoid assuming only one smmbasehob UefiCpuPkg/CpuMpPei/CpuMpPei.c | 146 +++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++++++++++++++++++++++++++++++ UefiCpuPkg/CpuMpPei/CpuMpPei.h | 6 +++++- UefiCpuPkg/CpuMpPei/CpuMpPei.inf | 3 ++- UefiCpuPkg/Include/Guid/MpInformation2.h | 58 +++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++ UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 354 +++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++++++++++++++++++++++++++++++++++++++++-----------------------------= ------------------------------- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 2 +- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 8 ++++---- UefiCpuPkg/UefiCpuPkg.dec | 3 +++ 8 files changed, 513 insertions(+), 67 deletions(-) create mode 100644 Ue= fiCpuPkg/Include/Guid/MpInformation2.h -- 2.31.1.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 (#112267): https://edk2.groups.io/g/devel/message/112267 Mute This Topic: https://groups.io/mt/103052268/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-