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 1B3FCAC0E1B for ; Thu, 18 Apr 2024 13:35:18 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Y8BAE9YRy4XgCb9d1qZ7t1XP6k5zr1WhRl1T0eaAOTE=; c=relaxed/simple; d=groups.io; h=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:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1713447317; v=1; b=x+W5ZQDehnDLCdGw0FADcwCBuG6FnGCurdUD2Uhmk1xV+2ujuGxYc0uBl59EiXCY5/tB9yIV nDwoZqwpWFvCljXNhy0ciUBhQapxDfwVfUFYS+IX2g+upjckdD4gwYyOGR9xEda6mBGRg5IwUSR 5t6gg8u6X1Z4CDRdL45J/XIAHElrmjw6TWMOWhBIeUf9rbfKWjQJKxk6H5OyZvu4p5/0oXOdM0o caV8ihh/cZe6I5eqnINUI3s8dmu3ZSYoOwiCS1BVobJW/0mgBEdir9UGLLLhK5knZcQ1dbZUmgU glGT2TVOSGLOyJ2d4mZWaysmzexLYXOG9Tsrw4p5DwJSw== X-Received: by 127.0.0.2 with SMTP id t5XYYY7687511xEEEo9O4hu1; Thu, 18 Apr 2024 06:35:17 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) by mx.groups.io with SMTP id smtpd.web10.13056.1713447316399627475 for ; Thu, 18 Apr 2024 06:35:17 -0700 X-CSE-ConnectionGUID: t9u+igxxRWqTVEa4yNPpXg== X-CSE-MsgGUID: FPLHjzGvQa+vJTn5qYfAOg== X-IronPort-AV: E=McAfee;i="6600,9927,11047"; a="8866636" X-IronPort-AV: E=Sophos;i="6.07,212,1708416000"; d="scan'208";a="8866636" X-Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2024 06:35:16 -0700 X-CSE-ConnectionGUID: 0LU5vyxIR8eKKen4imndBQ== X-CSE-MsgGUID: nho6uRhmRG+8juOvFSE5Pg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,212,1708416000"; d="scan'208";a="53925688" X-Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Apr 2024 06:35:16 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.35; Thu, 18 Apr 2024 06:35:15 -0700 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; Thu, 18 Apr 2024 06:35:15 -0700 X-Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) 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; Thu, 18 Apr 2024 06:35:14 -0700 X-Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by CY8PR11MB7266.namprd11.prod.outlook.com (2603:10b6:930:99::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7430.46; Thu, 18 Apr 2024 13:35:11 +0000 X-Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::be3f:5a4f:5180:2ba9]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::be3f:5a4f:5180:2ba9%4]) with mapi id 15.20.7472.027; Thu, 18 Apr 2024 13:35:11 +0000 From: "Yao, Jiewen" To: Sachin Ganesh , "devel@edk2.groups.io" CC: "gaoliming@byosoft.com.cn" , "ardb+tianocore@kernel.org" , "kraxel@redhat.com" , "Aktas, Erdem" , "Xu, Min M" , "thomas.lendacky@amd.com" , "POLUDOV, FELIX" , Dhanaraj V Subject: Re: [edk2-devel] [PATCH 6/6] OvmfPkg: Use newly defined Unaccepted Memory Type Thread-Topic: [EXTERNAL] RE: [PATCH 6/6] OvmfPkg: Use newly defined Unaccepted Memory Type Thread-Index: AQHakP+0e2mzyT5r3ky5Cur0xyWcgLFtKAFQgADdHKCAAAMYkA== Date: Thu, 18 Apr 2024 13:35:11 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW4PR11MB5872:EE_|CY8PR11MB7266:EE_ x-ms-office365-filtering-correlation-id: 841c32d1-25f4-4738-8fde-08dc5fac5f51 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: oCXwMmthNZDmRLsBBUs62F4ZYy69m5u10YKHMUGHP1cSC69lnLfaY97WG2uTbJjf6gpe1Qh/AqjSvvjE61JdCEhMf1JTmp6FGSnOObHL8UyVR226dURXxqUKZ301YY2pR9TMeAuZfvQd5QPDu2cI9z1IzzClNs4XXngZk2LSipkNw7Ho68RJkuu11xQcmpgRIEfYRdCauk6sWp7SG3FJVnwCLl8CFLMIYsDzkHkQVg+2BNusqPmJMaKeukr61wmBiVeJl43blGuBWVnU2iBo3ji+50uwIFOzZhkvJRI9QrAioRRFIqY3Kuu8UKk/Q3AeOlEDnLGGfLGs3W0XVBxn3CiGVMnVTTZY9Q7C6ONJNlDVMbyUDIBknipcEfkoSDGJLP1SgFZmep9GXIaifmeN2wEMGItZeo4tVPFbPOTWZVfrh/Kwu1UcgkyCcbzzRopcCSWaWsrJ4zdTs72hVjMLKOkbT/PrzoTvk3bk/0HiE5h6uCQqPET4WKaSZz6OjaN2HOOcmLSL2QSecgCNfIXZmK+jQix3MkOFeEK9xY4er2lYEEUHeopyshmrnpU6sHZxYw6oiQgXpqUVX/DSV8jXL+WVSUd+PQ+XuyW0DJZ8TYadg73TA7ijMTM3/GbVsHRd/xwS5nrokDzvR2Py0E3p8sgWXHMLS/A5EhkQTcTNcxOqP5x04iHQLOkkKC/8GPXXQxZH34F45R+wy+M5ZvP33933usV2wdgyNYBDDjQPkMA= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+BE+faJdTKUGIE75itmyyppaZcSYI8R9o+AGtqdZ55KpuI9qoWb0DoGZbaHq?= =?us-ascii?Q?HmPqHoiVqjOqG+vx9X+JXfuj6axqVN6V234jxxFN1SAYPvELrRXUZsHbldKQ?= =?us-ascii?Q?qPYYtWoCFAgUiP0LMfaZXCz37B/r33wBdThSGOuPjeps+N5EWL6YsKNM1Ipj?= =?us-ascii?Q?cf5PYHy4OY9HTdVi8D/cZJc9cvi/V+h4WB12PAeGGobkAoXMXDt/rRwIRVQm?= =?us-ascii?Q?lhxOqeEjDIL0z6N8aJOF8oHUWJJl+WRsyQf0paKE5iMYVmVGau+4HG5NFRjL?= =?us-ascii?Q?dm8VY44wbPnDYLpIGPoFa3/n9VjGqDNbdFoUUEJPVv6UTTmIVLA6VNmVfoVz?= =?us-ascii?Q?HWBkgaqQkUcLKh3p7JqrWYmz+YciXO7mW/GzeIr9prg4LfuoCYjrd79RWQA7?= =?us-ascii?Q?KJDxAnWKcEbYuNf1RuntqPZ5vfraeeZcIVFeNxOfDCI5m3wNnwkODc1J9Gcp?= =?us-ascii?Q?6ogCCAwhtyBl9ddGWaNS9io6LwmDnFKIw/RShZCUH+GCUQM7/BTTtki843Yr?= =?us-ascii?Q?SAlE5kPjEXg4UixFixZFpdUZA3Yn1O/IHIYDajhoIlrfTIYxFYLslKJAxENO?= =?us-ascii?Q?zOJYcwfwWQYbC03SBNwBolNs3nVh5ZLzRIpZobuPz4XNrqqpfe/6tqa/GYJ6?= =?us-ascii?Q?Y/Di7lzBQvora8BphOJnz1A/OFTSEqKCfwqVHb0H9gHiT2XFXGt7Kh/TDMcM?= =?us-ascii?Q?jJCMB/KQHFglf7shvsipFPi3xr9FsDYpyli/KxGMRIPrzWZuvnioRz042Z1D?= =?us-ascii?Q?jfGehlD5jcEnU93wiHC+SbpvsJvNy1QF2K8u6+nkR3CO/2iKYxya9+ZumWhl?= =?us-ascii?Q?jcEHqhfWfpcYKljKmPQibAZYf1lI5LT3gI2cm++Kp1s+zb3RO2Xdl796CFvU?= =?us-ascii?Q?fjR0+jtYQSi5gi5HniZOZazvvDImS709YSZMcVUZe7i6xMZ9A4QUFSkpQxYS?= =?us-ascii?Q?JfwXmyj2JhfegESz4J0is0L5zgEun+C/K6o291QHT/a0LBQtLmw3LrVJOz5+?= =?us-ascii?Q?9/LU8HysQeAX/oktHLwDQi63eJIFRjkSDv4HsqlxLAGYmYmBI1rNLV/h6qfC?= =?us-ascii?Q?dX3fdOAOrn4/nfVqJEomtWIo46r5Bi7FJ9k7ibrIBWzO00xOjzg1c0DpU+U7?= =?us-ascii?Q?Vuad4lSDoygYUE0cROpTMDHuFh0SpadsSgYiOdV+u02xCBJuvmwJb4WCtvlK?= =?us-ascii?Q?ML+pavBtwzCm/dFz4BlnYQVcmfRIWdg/B9EGoPre7M4VChlQaf6vwPGj4TZc?= =?us-ascii?Q?zN/BTaP1w0G9YNpGlhiby7pZKwBCZqGZOeQKeU4UMVrtWRVCcEBQyQ/iB/Od?= =?us-ascii?Q?P8hUG2VVI0kd3y1y25SCOm/59wbljAu2NdC2UaMiiPVyaDjgfanPZeg/ltg9?= =?us-ascii?Q?8SkxDzY+jGX12iTxcXJB2kJgilliIDgoNtU6VSm/zWRTc8C1iansqpJ3u3vr?= =?us-ascii?Q?q84qJ2JXmH9D0GHtPkpxEmEgmhU7v9h8H0oBUptUzQ9AG+XjcLvs5V5RInxd?= =?us-ascii?Q?i9Tg3d+sZ8E15uG+3ay2f9St+Atrvp6BuDq/MWZwlbYsgYeNWB5/+ZuyiCeB?= =?us-ascii?Q?d4g8XZI6cusYJFutO0FvK+DB7NeEK2Bxmr8hTysu?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 841c32d1-25f4-4738-8fde-08dc5fac5f51 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2024 13:35:11.7802 (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: /NayT858zGS/c78F2doMG8Re8zpErI3W6zKftKutmtzXkH4X3WejjCFSV92lPfAotdj94bxhdASswOxSyT19lg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7266 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: Thu, 18 Apr 2024 06:35:17 -0700 Resent-From: jiewen.yao@intel.com Reply-To: devel@edk2.groups.io,jiewen.yao@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: wx2PT0UCNY0Evi2jfvaKAEFQx7686176AA= 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=20240206 header.b=x+W5ZQDe; 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 Ah. That is good. I did not realize they are in one set. For this one, reviewed-by: Jiewen Yao > -----Original Message----- > From: Sachin Ganesh > Sent: Thursday, April 18, 2024 9:32 PM > To: Yao, Jiewen ; devel@edk2.groups.io > Cc: gaoliming@byosoft.com.cn; ardb+tianocore@kernel.org; kraxel@redhat.co= m; > Aktas, Erdem ; Xu, Min M ; > thomas.lendacky@amd.com; POLUDOV, FELIX ; Dhanaraj V > > Subject: RE: [EXTERNAL] RE: [PATCH 6/6] OvmfPkg: Use newly defined > Unaccepted Memory Type >=20 > Hi Jiewen, >=20 > The other patches are as follows. They are all related to UEFI 2.10 and P= I 1.8 > Specification updates: >=20 > 1) MdePkg: Add definition for NVMe Over Fabric Device Path - > https://edk2.groups.io/g/devel/message/117845?p=3D%2C%2C%2C20%2C0%2C0 > %2C0%3A%3Arecentpostdate%2Fsticky%2C%2Csachin%2C20%2C2%2C0%2C105 > 551420 > 2) MdePkg: Add new Resource Attributes defined in PI 1.8 Spec - > https://edk2.groups.io/g/devel/message/117796?p=3D%2C%2C%2C20%2C0%2C0 > %2C0%3A%3Arecentpostdate%2Fsticky%2C%2Csachin%2C20%2C2%2C0%2C105 > 540404 > 3) MdePkg: Use newly defined Unaccepted Memory Type - > https://edk2.groups.io/g/devel/message/117797?p=3D%2C%2C%2C20%2C0%2C0 > %2C0%3A%3Arecentpostdate%2Fsticky%2C%2Csachin%2C20%2C2%2C0%2C105 > 540405 > 4) MdePkg: Update Delayed Dispatch PPI as per PI 1.8 Spec - > https://edk2.groups.io/g/devel/message/117798?p=3D%2C%2C%2C20%2C0%2C0 > %2C0%3A%3Arecentpostdate%2Fsticky%2C%2Csachin%2C20%2C2%2C0%2C105 > 540406 > 5) MdePkg: Update to PI 1.8 Revision - > https://edk2.groups.io/g/devel/message/117799?p=3D%2C%2C%2C20%2C0%2C0 > %2C0%3A%3Arecentpostdate%2Fsticky%2C%2Csachin%2C20%2C2%2C0%2C105 > 540407 >=20 > This is the related MR - https://github.com/tianocore/edk2/pull/5569 >=20 > Thank You, > Sachin. >=20 > -----Original Message----- > From: Yao, Jiewen > Sent: Thursday, April 18, 2024 5:44 AM > To: Sachin Ganesh ; devel@edk2.groups.io > Cc: gaoliming@byosoft.com.cn; ardb+tianocore@kernel.org; kraxel@redhat.co= m; > Aktas, Erdem ; Xu, Min M ; > thomas.lendacky@amd.com; Felix Polyudov ; Dhanaraj V > > Subject: [EXTERNAL] RE: [PATCH 6/6] OvmfPkg: Use newly defined Unaccepted > Memory Type >=20 >=20 > **CAUTION: The e-mail below is from an external source. Please exercise > caution before opening attachments, clicking links, or following guidance= .** >=20 > Hi Sachin > I like this clean up. Thanks for doing this. >=20 > I saw this patch is 6/6, but I did not see any other such as 1/6 ~ 5/6 in= my > mailbox. Not sure what is happening on my side. >=20 > Just double confirm, have you sent those patches? >=20 > Thank you > Yao, Jiewen >=20 > > -----Original Message----- > > From: Sachin Ganesh > > Sent: Thursday, April 18, 2024 3:45 AM > > To: devel@edk2.groups.io > > Cc: gaoliming@byosoft.com.cn; ardb+tianocore@kernel.org; > > kraxel@redhat.com; Yao, Jiewen ; Aktas, Erdem > > ; Xu, Min M ; > > thomas.lendacky@amd.com; POLUDOV, FELIX ; Dhanaraj V > > ; Sachin Ganesh > > Subject: [PATCH 6/6] OvmfPkg: Use newly defined Unaccepted Memory Type > > > > EFI_RESOURCE_MEMORY_UNACCEPTED has been officially defined in the PI > > 1.8 specification. So all temporary solutions have been replaced with > > the actual definition. > > > > Cc: Felix Polyudov > > Cc: Dhanaraj V > > Cc: Ard Biesheuvel > > Cc: Jiewen Yao > > Cc: Gerd Hoffmann > > Cc: Erdem Aktas > > Cc: Min Xu > > Cc: Tom Lendacky > > Signed-off-by: Sachin Ganesh > > --- > > OvmfPkg/AmdSevDxe/AmdSevDxe.c | 4 ++-- > > OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c | 8 ++++---- > > OvmfPkg/Library/PeilessStartupLib/Hob.c | 4 ++-- > > OvmfPkg/Library/PlatformInitLib/IntelTdx.c | 8 ++++---- > > OvmfPkg/PlatformPei/AmdSev.c | 4 ++-- > > 5 files changed, 14 insertions(+), 14 deletions(-) > > > > diff --git a/OvmfPkg/AmdSevDxe/AmdSevDxe.c > > b/OvmfPkg/AmdSevDxe/AmdSevDxe.c index db3675ae86..d497a343d3 100644 > > --- a/OvmfPkg/AmdSevDxe/AmdSevDxe.c > > +++ b/OvmfPkg/AmdSevDxe/AmdSevDxe.c > > @@ -20,7 +20,7 @@ > > #include > > > > #include > > > > #include > > > > -#include > > > > +#include > > > > #include > > > > #include > > > > #include > > > > @@ -119,7 +119,7 @@ AcceptAllMemory ( > > CONST EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Desc; > > > > > > > > Desc =3D &AllDescMap[Index]; > > > > - if (Desc->GcdMemoryType !=3D EFI_GCD_MEMORY_TYPE_UNACCEPTED) { > > > > + if (Desc->GcdMemoryType !=3D EfiGcdMemoryTypeUnaccepted) { > > > > continue; > > > > } > > > > > > > > diff --git a/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c > > b/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c > > index 3372cee2f7..b6085eab44 100644 > > --- a/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c > > +++ b/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c > > @@ -19,7 +19,7 @@ > > #include > > > > #include > > > > #include > > > > -#include > > > > +#include > > > > #include > > > > #include > > > > #include > > > > @@ -351,7 +351,7 @@ AcceptMemoryForAPsStack ( > > if (Hob.Header->HobType =3D=3D EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) { > > > > DEBUG ((DEBUG_INFO, "\nResourceType: 0x%x\n", > > Hob.ResourceDescriptor- > > >ResourceType)); > > > > > > > > - if (Hob.ResourceDescriptor->ResourceType =3D=3D > > BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED) { > > > > + if (Hob.ResourceDescriptor->ResourceType =3D=3D > > EFI_RESOURCE_MEMORY_UNACCEPTED) { > > > > ResourceLength =3D Hob.ResourceDescriptor->ResourceLength; > > > > PhysicalStart =3D Hob.ResourceDescriptor->PhysicalStart; > > > > PhysicalEnd =3D PhysicalStart + ResourceLength; > > > > @@ -427,7 +427,7 @@ AcceptMemory ( > > // > > > > while (!END_OF_HOB_LIST (Hob)) { > > > > if (Hob.Header->HobType =3D=3D EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) { > > > > - if (Hob.ResourceDescriptor->ResourceType =3D=3D > > BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED) { > > > > + if (Hob.ResourceDescriptor->ResourceType =3D=3D > > EFI_RESOURCE_MEMORY_UNACCEPTED) { > > > > PhysicalStart =3D Hob.ResourceDescriptor->PhysicalStart; > > > > PhysicalEnd =3D PhysicalStart + Hob.ResourceDescriptor->Reso= urceLength; > > > > > > > > @@ -563,7 +563,7 @@ ValidateHobList ( > > EFI_RESOURCE_MEMORY_MAPPED_IO_PORT, > > > > EFI_RESOURCE_MEMORY_RESERVED, > > > > EFI_RESOURCE_IO_RESERVED, > > > > - BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED > > > > + EFI_RESOURCE_MEMORY_UNACCEPTED > > > > }; > > > > > > > > if (VmmHobList =3D=3D NULL) { > > > > diff --git a/OvmfPkg/Library/PeilessStartupLib/Hob.c > > b/OvmfPkg/Library/PeilessStartupLib/Hob.c > > index 318b74c95d..725927da73 100644 > > --- a/OvmfPkg/Library/PeilessStartupLib/Hob.c > > +++ b/OvmfPkg/Library/PeilessStartupLib/Hob.c > > @@ -20,7 +20,7 @@ > > #include > > > > #include > > > > #include > > > > -#include > > > > +#include > > > > #include "PeilessStartupInternal.h" > > > > > > > > /** > > > > @@ -92,7 +92,7 @@ ConstructFwHobList ( > > // > > > > while (!END_OF_HOB_LIST (Hob)) { > > > > if (Hob.Header->HobType =3D=3D EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) { > > > > - if (Hob.ResourceDescriptor->ResourceType =3D=3D > > BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED) { > > > > + if (Hob.ResourceDescriptor->ResourceType =3D=3D > > EFI_RESOURCE_MEMORY_UNACCEPTED) { > > > > PhysicalEnd =3D Hob.ResourceDescriptor->PhysicalStart + > > Hob.ResourceDescriptor->ResourceLength; > > > > ResourceLength =3D Hob.ResourceDescriptor->ResourceLength; > > > > > > > > diff --git a/OvmfPkg/Library/PlatformInitLib/IntelTdx.c > > b/OvmfPkg/Library/PlatformInitLib/IntelTdx.c > > index ada8592ddd..e561cee30b 100644 > > --- a/OvmfPkg/Library/PlatformInitLib/IntelTdx.c > > +++ b/OvmfPkg/Library/PlatformInitLib/IntelTdx.c > > @@ -17,7 +17,7 @@ > > #include > > > > #include > > > > #include > > > > -#include > > > > +#include > > > > #include > > > > #include > > > > > > > > @@ -40,9 +40,9 @@ BuildResourceDescriptorHobForUnacceptedMemory ( > > EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute; > > > > UINT64 MaxAcceptedMemoryAddress; > > > > > > > > - ASSERT (Hob->ResourceType =3D=3D > > BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED); > > > > + ASSERT (Hob->ResourceType =3D=3D EFI_RESOURCE_MEMORY_UNACCEPTED); > > > > > > > > - ResourceType =3D BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED; > > > > + ResourceType =3D EFI_RESOURCE_MEMORY_UNACCEPTED; > > > > ResourceAttribute =3D Hob->ResourceAttribute; > > > > PhysicalStart =3D Hob->PhysicalStart; > > > > ResourceLength =3D Hob->ResourceLength; > > > > @@ -104,7 +104,7 @@ TransferTdxHobList ( > > ResourceType =3D Hob.ResourceDescriptor->ResourceType; > > > > ResourceAttribute =3D > > Hob.ResourceDescriptor->ResourceAttribute; > > > > > > > > - if (ResourceType =3D=3D BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED)= { > > > > + if (ResourceType =3D=3D EFI_RESOURCE_MEMORY_UNACCEPTED) { > > > > BuildResourceDescriptorHobForUnacceptedMemory > > (Hob.ResourceDescriptor); > > > > } else { > > > > BuildResourceDescriptorHob ( > > > > diff --git a/OvmfPkg/PlatformPei/AmdSev.c > > b/OvmfPkg/PlatformPei/AmdSev.c index e6b602d79a..52fb4a7202 100644 > > --- a/OvmfPkg/PlatformPei/AmdSev.c > > +++ b/OvmfPkg/PlatformPei/AmdSev.c > > @@ -16,7 +16,7 @@ > > #include > > > > #include > > > > #include > > > > -#include > > > > +#include > > > > #include > > > > #include > > > > #include > > > > @@ -67,7 +67,7 @@ AmdSevSnpInitialize ( > > > > > > if (ResourceHob->ResourceType =3D=3D EFI_RESOURCE_SYSTEM_MEMORY)= { > > > > if (ResourceHob->PhysicalStart >=3D SIZE_4GB) { > > > > - ResourceHob->ResourceType =3D > > BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED; > > > > + ResourceHob->ResourceType =3D > EFI_RESOURCE_MEMORY_UNACCEPTED; > > > > continue; > > > > } > > > > > > > > -- > > 2.24.1.windows.2 > > -The information contained in this message may be confidential and > > proprietary to American Megatrends (AMI). This communication is > > intended to be read only by the individual or entity to whom it is > > addressed or by their designee. If the reader of this message is not > > the intended recipient, you are on notice that any distribution of > > this message, in any form, is strictly prohibited. Please promptly > > notify the sender by reply e-mail or by telephone at 770-246-8600, and = then > delete or destroy all copies of the transmission. > -The information contained in this message may be confidential and propri= etary > to American Megatrends (AMI). This communication is intended to be read o= nly by > the individual or entity to whom it is addressed or by their designee. If= the reader > of this message is not the intended recipient, you are on notice that any > distribution of this message, in any form, is strictly prohibited. Please= promptly > notify the sender by reply e-mail or by telephone at 770-246-8600, and th= en > delete or destroy all copies of the transmission. -=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 (#117991): https://edk2.groups.io/g/devel/message/117991 Mute This Topic: https://groups.io/mt/105585462/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-