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 D2CDBD811A0 for ; Fri, 17 Nov 2023 09:57:53 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ZZijLUJJyM9YhzM0qyzDrGaNnODPbqr4OfLsoq/YK3k=; 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=1700215072; v=1; b=X/Xtn7gp7U036wEoowqxOCT9mJsziCxMDYqlY7tmCXcZ9vFupHQnRKi/M6CIJQ1nFcPOdkiX NaghKPRcIyuZhNhtu4Eejbg0ynYnwcDcfer74ml6iC9utKz389s0UnMNzz5NGlNt84sjrsaXOmx +351l05YWEgEcXb488KCcU0A= X-Received: by 127.0.0.2 with SMTP id YXgsYY7687511xrRrrUrbXBJ; Fri, 17 Nov 2023 01:57:52 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web10.8293.1700215071664428087 for ; Fri, 17 Nov 2023 01:57:51 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="371453217" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="371453217" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2023 01:57:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10896"; a="794790124" X-IronPort-AV: E=Sophos;i="6.04,206,1695711600"; d="scan'208";a="794790124" X-Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga008.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 17 Nov 2023 01:57:49 -0800 X-Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Fri, 17 Nov 2023 01:57:47 -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.34; Fri, 17 Nov 2023 01:57:47 -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.34 via Frontend Transport; Fri, 17 Nov 2023 01:57:47 -0800 X-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) 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.34; Fri, 17 Nov 2023 01:57:46 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dc5o9h3hyDJF+T0DDX1YCgJKXOsJXgVaZRy279Z4WCZiuFqQuioPNOhZdDDhldPWz5J6+jNZt1M3ETHwoOGeQ9NRCOLuhR1KLpkbyO1psHE1pzyl3yRn1KODAh+hdTAZWr1CzXLWV3FsDmWbACyPpv2o5qxUCfozENLNqb7FGgCQG4XFdL3HbpKUeW0fq8YjZ2m62kjoqWLBMJ5cn+H6OxqYBL9N12zrBzX/LHEBjnpvLuFMm1epGcgNg/eLdNp91u6lwpNHQ+tHSY+6TYlM9exUmtzZ5JRITobJWlBc1+p+i1RJwy9yiwnygXYKqEeJUsPu9A/KODNO6/oUAt8+Gg== 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=WIdZHFWX6hKz9M3fE+46PU3DEZVXyyBZc4jE7gSR5KM=; b=AVmvLFTsLWUjCyR24ktYkh3pB3m6knu/xPaN6TpbAtORcvojPn7YOJgRzVhN/4+sHjBpmTZqt9d6kUsvfJpwlJY2HhR9bMqro5Pma4esT5A+sCSr8hXIpgZd6PAewjqO4q6Uv8O/tLfqVx+d2hoy81Q1RWUkxjG13V5m7mfNwHPSbgt6NeaNORiqXdEm/PIqKefCiCUoN70NJYl4TwihMS29qGV7ziMRaEo4lmWEcdIjGccOpS6vrlY9tFvQY1M0u8Dm3j89uFezkcaImxFgiUkFdRQG4TkWEnqx+fl3BrGfTIMu6FVeq2eQQAFMkRTvCB3Vu8takhF+83CmON7r7g== 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 PH7PR11MB7075.namprd11.prod.outlook.com (2603:10b6:510:20e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7002.21; Fri, 17 Nov 2023 09:57:44 +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%4]) with mapi id 15.20.7002.022; Fri, 17 Nov 2023 09:57:43 +0000 From: "duntan" To: Ard Biesheuvel CC: "Ni, Ray" , "devel@edk2.groups.io" Subject: Re: [edk2-devel] [Patch V2 0/3] Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. Thread-Topic: [edk2-devel] [Patch V2 0/3] Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. Thread-Index: AQHaGToqfdjocAGZrkedA3Se9hPrtrB+Qzag Date: Fri, 17 Nov 2023 09:57:43 +0000 Message-ID: References: <17985FA7D8DAB616.3002@groups.io> In-Reply-To: <17985FA7D8DAB616.3002@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_|PH7PR11MB7075:EE_ x-ms-office365-filtering-correlation-id: d8a356ff-3b66-4590-f6c0-08dbe753a4e5 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: eipzeXCOtVceCzvR3la5EmXziT5Loa9vHslyDFYuviKGk9eJdmUVHA6kQ1tlFJz4RlyfP8REnuCK+is2SGjybrHP1aXyhFuAjD/mXOymAQRUf03XgB8XwGOJtF+YwrxrsKzbbvvXrzwKF8KG1lwmmPU9p9KvzTWpZg49u4Nr1t1h76ccEnhJpyJSdJVpa2dl8wbx6eV5KRL4OEdAY9wmPq7j3FBd4Yd6ztK6cEaQBlH2iD2sjmB46b8EP2wAvrkAwgRDsrTR19npCPh5O625ED6S3dtrAj1AppE/oeozrGeikElld5U0oRMlL+iX7A0xTvVHXeDVp3Q7PCJRBVF0GzF9gL3d9IwrVqaOHGdK5uJ7utzKXOB8XE3lWfuJ93WpwYqjktVZqJLqCsdZ89oJcHuyUPLTwpZrAdlNaP5q8rGd+f3qJ5+4GDCZS8GlMjw3FOUwmfr49WvxV9Y84q2LhKkSGHGQxKgo0qY24XIQC0/Jx68+SeX0xW0/UHZcHEwMaSK5l5DSoeUXbPFl26nEeXp3eIgiuzgglNaUHabJiRx6tFE9JWUVbXqEkS1f+b5+WvbpMorLoO5I26lJM4ut4Wg6WQwHGScHltBe5tEUPQNJB7jugd+mR04++nn93Cp/3DFLhSLKytXpAfxO+dnjLVEIl/yqq4wBmIf8tOKYpBE= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?amqWIPSePTs/dcp9XkpSpDxXTAX01a/Dgg/ahuyznac/GC9q7UCWftbQOzdk?= =?us-ascii?Q?nnUD9W8zBbMAap+2F9xPPDUyCEk7OB11JxZdQbAOxUfu0InmpM/zsiS11pQt?= =?us-ascii?Q?uCUzjytllHntfNwsGwTHD45Xvau7Xi1Ixk2ccNze5z9kI6RSdnvdWE5sIhbC?= =?us-ascii?Q?CFMkb2xQs0CZG7iSlY1VWx9pX+iexrvgwp4Xf4HB+0Zn4QpTRElFu3tf+27K?= =?us-ascii?Q?SUpfh6AI3DS3v4/1zIDtoBLurJUIYMjeBivc1FnpTpynRa+frK6ZK6nJsahM?= =?us-ascii?Q?z+24CTh6MiAEtcZTOB621UkgZJMP52i+1zFSVVtxcMKy+FbmuLR3wQtkPKk4?= =?us-ascii?Q?Cc8oPtiVW4mjr1dQc6j9jAeuwdrDT6ca5bvnG2iR3WHTKhp948KLQsA3uGLG?= =?us-ascii?Q?mfiXkcHVobEII1KTyi8GCIOEfhOfb3yuOFnsbb/JbQE2CquijB+jvRpYHld5?= =?us-ascii?Q?CBuEqYkfkZaCHbnJEpfDgRHjyziqZ+nv3bcGVMm3BSZ3SYWjnBq9IdXg9gWx?= =?us-ascii?Q?/1loZOJ+XjHUTHbjX9R7rX0L1ctJkRZRVtluo6ZWOuJStnCYqsCuGdzG7rDU?= =?us-ascii?Q?33Gx8AVOM7gR+G5gjWXtuBioDorq9XlQ6eBgvGm9FY670e0YfpppxYzYO+VQ?= =?us-ascii?Q?SS1/tCW3qxJKac2dCDxN0f+24pgZp8/fV9PZVdeCsexDoyXhNOrYgYFm7ted?= =?us-ascii?Q?rvc6VBEbmhEQ4X6hwFnFmit/gC/CJFfgnafiRwZ/VxDDNCOlPbSNmiOwNw+p?= =?us-ascii?Q?iUH7M+13CVtfu11I3ozRmGQp3PBPDqwsTuD1wXI+g7vXZdSVnZ36ifFHAol2?= =?us-ascii?Q?TR0xUwbZdUrxCLIgG925so6jYELpgzQXjaoiYWiXfCyMNJXen8X4Xr1/IU+r?= =?us-ascii?Q?vgeJI46khrm09WLdF7Wuhc1nH4YXsFFi1Xxw9ys/bFe6t5Fixgz3cs3ikXXz?= =?us-ascii?Q?X02h4HOQnzCNIp2hVKYM7cnm4E2zu2AAgggQmZa8RUFbatpQ+MA3xcVkXUZ1?= =?us-ascii?Q?F18S/0owFdZ1fbE4Js0dWUavbSHE0Y7uHMcoI3sVZUAhYWI2RWvP8S73FSdx?= =?us-ascii?Q?EOChMWaEi2Z5T/CjSzflUhbMnvyjTU5lFyWdzI3josEao21jVJazXgvtZNRb?= =?us-ascii?Q?xHocKNrSclMwCc9FvNOytgcSK1RaSdW90yp8iBlI1r6UBeADWgCvTRkzoFBb?= =?us-ascii?Q?+S5zQ3FZ1ePjYxafMP+5C1RcUhqAoACPewAjKcBvn8aKvSdms6lTxAMVts3s?= =?us-ascii?Q?ladMRnEEzTqYpgie99WEPINgc1bL6F/tf8I/aoE5ESmt0Phk9/upAJp7gAmN?= =?us-ascii?Q?2NakzNcyGUgZfJkIFZ6KbQByv6S1X+sImRaBH6Cl8GysQ9E43rWpIbIiO78T?= =?us-ascii?Q?ZPtuaZ3+rA2pKtcMGqEtZLYwy4K27lzmqpmi8NPHQWG0jtJvN8ES39JaEiQG?= =?us-ascii?Q?7bFWc0VOGeWdVIlMaFZJM5nHwEbDJ+jc2AKUXE6QLBQXPtupJMOyywaH9MHl?= =?us-ascii?Q?mCaHRfVgi52uUkGLhsr2jE4isOUYfAlz6e69DxtzNeJdZuLuV+Ucj9ktN02q?= =?us-ascii?Q?zKanNdMWvBnDjyZwyCw=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: d8a356ff-3b66-4590-f6c0-08dbe753a4e5 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2023 09:57:43.7530 (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: ZwJ8Wgu7IYDy/j2K8ia3B4SUIASTm5vBS2f1vwIvrvR2tYnKfbRGdKUJks4ZPfxKoGc34MdsplMsIgHXrHWw0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB7075 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: ulFNJUjK8ek7K9EoDNQcUeURx7686176AA= 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="X/Xtn7gp"; 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 Ard,=20 I'm working on moving gMpInformationHobGuid from StandaloneMmPkg to UefiCpu= Pkg in this patch series. Currently in Edk2, the HOB is only consumed by St= andaloneMmCpu.inf. As we know that this HOB is used to provide a lightweight static informatio= n of MP processor. However, there might be a concern that the maximum HOB s= ize 64KB is not large enough when CPU number is 1~2000 or bigger. May I know if you considered this situation or is there any solution to avo= id this issue on Arm? Thanks,=20 Dun -----Original Message----- From: devel@edk2.groups.io On Behalf Of duntan Sent: Friday, November 17, 2023 5:40 PM To: devel@edk2.groups.io Subject: [edk2-devel] [Patch V2 0/3] Move gMpInformationHobGuid from Standa= loneMmPkg to UefiCpuPkg. In the V2 patch set: Added more comments in the new MpInformation.h to docu= ment that some fields in this HOB may be invalidated. Move gMpInformationHobGuid from StandaloneMmPkg to UefiCpuPkg. Previously, the HOB is defined, created and consumed only in StandaloneMmPk= g. The HOB contains the number of processors and EFI_PROCESSOR_INFORMATION = structure. This is the same as the information that PiSmmCpuDxeSmm uses Efi= MpServiceProtocolGuid to get. The incoming plan is to create gMpInformationHobGuid for both StandaloneMm = and legacy DXE_SMM in early phase(for example in CpuMpPei). Then PiSmmCpuDx= eSmm can consume the hob, which can simplify code logic in PiSmmCpuDxeSmm d= river. So move this HOB definition to UefiCpuPkg in this patch series. Dun Tan (3): UefiCpuPkg: Create MpInformation.h in UefiCpuPkg StandaloneMmPkg:Add UefiCpuPkg.dec in DependencyCheck StandaloneMmPkg:Remove MpInformation.h StandaloneMmPkg/Drivers/StandaloneMmCpu/StandaloneMmCpu.inf = | 1 + StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPo= int.inf | 1 + StandaloneMmPkg/StandaloneMmPkg.ci.yaml = | 3 ++- StandaloneMmPkg/StandaloneMmPkg.dec = | 1 - {StandaloneMmPkg =3D> UefiCpuPkg}/Include/Guid/MpInformation.h = | 6 +++++- UefiCpuPkg/UefiCpuPkg.dec = | 3 +++ 6 files changed, 12 insertions(+), 3 deletions(-) rename {StandaloneMmPkg= =3D> UefiCpuPkg}/Include/Guid/MpInformation.h (71%) -- 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 (#111352): https://edk2.groups.io/g/devel/message/111352 Mute This Topic: https://groups.io/mt/102644629/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-