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 C51CAAC1A4B for ; Mon, 22 Apr 2024 19:54:11 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=zkMGhnADyBFOukwaSAq5NlyYSZSSAcEaRsktJIziWGk=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:User-Agent:Subject:To:Cc:References:From:In-Reply-To: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=1713815650; v=1; b=ELb5lBei8v4AF3YyVptOB0T8NpJpaP9P2g0bWNL9AUuMYk4TzZOnPXYOS0Ish4dFi4zwzSel dsahEfwZH1w7fOjqEZrH2AQKhyUwe5dSd/sVjtOyENxfQfxirpVGQ7XtLD3KYstj21DTzAqe7Ll qXkW2jbjC/61vXYbFj+KnmqUzdZkBS4ioiaqK7B2aPAWSGbEY3eN/FACnPCCetto1gZZWC50nyc jk0T4nVrfz37RW0llI3rrugV8DDuqE1/zHk5PUw41nrlS2p2EVR9rN4MjgLkFUZpZhKh2wpCT0G Xxn6ToUx9+ZTbdOBtEo640ufZXI9x4NmOrzVnmrGAcsXQ== X-Received: by 127.0.0.2 with SMTP id uMt4YY7687511xjHrHDMmvnp; Mon, 22 Apr 2024 12:54:10 -0700 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.45]) by mx.groups.io with SMTP id smtpd.web11.1901.1713815649368266614 for ; Mon, 22 Apr 2024 12:54:09 -0700 X-Received: from BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) by LV3PR12MB9266.namprd12.prod.outlook.com (2603:10b6:408:21b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Mon, 22 Apr 2024 19:54:06 +0000 X-Received: from BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::bf0:d462:345b:dc52]) by BL1PR12MB5732.namprd12.prod.outlook.com ([fe80::bf0:d462:345b:dc52%7]) with mapi id 15.20.7472.044; Mon, 22 Apr 2024 19:54:06 +0000 Message-ID: Date: Mon, 22 Apr 2024 14:54:04 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [edk2-devel] [PATCH 7/7] OvmfPkg: Use newly defined Unaccepted Memory Type To: Sachin Ganesh , "devel@edk2.groups.io" Cc: "gaoliming@byosoft.com.cn" , "zhiguang.liu@intel.com" , "michael.d.kinney@intel.com" , "ardb+tianocore@kernel.org" , "kraxel@redhat.com" , "jiewen.yao@intel.com" , "erdemaktas@google.com" , "min.m.xu@intel.com" , Felix Polyudov , Dhanaraj V References: From: "Lendacky, Thomas via groups.io" In-Reply-To: X-ClientProxiedBy: SA0PR11CA0100.namprd11.prod.outlook.com (2603:10b6:806:d1::15) To BL1PR12MB5732.namprd12.prod.outlook.com (2603:10b6:208:387::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL1PR12MB5732:EE_|LV3PR12MB9266:EE_ X-MS-Office365-Filtering-Correlation-Id: ddf72f7c-5e28-4a09-3bef-08dc6305f7ea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: =?utf-8?B?MGRrVmJVL2czOEZMS0QwNk9DanhyNXVqVndsRVZ4azVUdW13Mlg4WFp1ODVM?= =?utf-8?B?NzVKN3RKTnk5RXVVOXhDcTBma3NBOXE1a2FaWjhYdDRzek5HVUZiQWh3ZVZI?= =?utf-8?B?OEJta1pEUGdxcUllNXJMVVU2SkJhV3Y3K2RSMTVWUW5jeVJBQUxLTmtjbXZY?= =?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?a3k4bnhKMWhyRzZDN1Z4bDNFVzdRQWhsenRlbGE0VW95c1JYaURqeTExallB?= =?utf-8?B?RXU4L0dxUWd4a0RZNVcyMmdZczlBbVRKUWVpL3VTU0xqUW9tZ0tyRVl0VW9W?= =?utf-8?B?U2s5MGZNTmVRMWJQTi9ZNHZVSUF2Z0ZBc05BR3ZwSGRwbGVRdmVDTTR5WGpE?= =?utf-8?Q?Z2Ug44ibuIGsb+94kD4guUO7O?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: ddf72f7c-5e28-4a09-3bef-08dc6305f7ea X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5732.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2024 19:54:06.6230 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cidc623HJH1wQoxTv/ViNDogo9m0qoTu1koujR12ZGSabebCm/5fEzxNQPyZrgz9gJ7mTYExZZh9nH9xORp2+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9266 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, 22 Apr 2024 12:54:09 -0700 Resent-From: thomas.lendacky@amd.com Reply-To: devel@edk2.groups.io,thomas.lendacky@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: hnjVsZODXfWcivm9kSfhIRlmx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed 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=ELb5lBei; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io On 4/19/24 16:46, Sachin Ganesh wrote: > 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. >=20 > Cc: Felix Polyudov > Cc: Dhanaraj V > Cc: Jiewen Yao > Cc: Liming Gao > Signed-off-by: Sachin Ganesh Reviewed-by: Tom Lendacky > --- > 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(-) >=20 > 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 >=20 > #include >=20 > #include >=20 > -#include >=20 > +#include >=20 > #include >=20 > #include >=20 > #include >=20 > @@ -119,7 +119,7 @@ AcceptAllMemory ( > CONST EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Desc; >=20 >=20 >=20 > Desc =3D &AllDescMap[Index]; >=20 > - if (Desc->GcdMemoryType !=3D EFI_GCD_MEMORY_TYPE_UNACCEPTED) { >=20 > + if (Desc->GcdMemoryType !=3D EfiGcdMemoryTypeUnaccepted) { >=20 > continue; >=20 > } >=20 >=20 >=20 > diff --git a/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c b/OvmfPkg/Intel= Tdx/TdxHelperLib/SecTdxHelper.c > index 3372cee2f7..b6085eab44 100644 > --- a/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c > +++ b/OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c > @@ -19,7 +19,7 @@ > #include >=20 > #include >=20 > #include >=20 > -#include >=20 > +#include >=20 > #include >=20 > #include >=20 > #include >=20 > @@ -351,7 +351,7 @@ AcceptMemoryForAPsStack ( > if (Hob.Header->HobType =3D=3D EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) { >=20 > DEBUG ((DEBUG_INFO, "\nResourceType: 0x%x\n", Hob.ResourceDescrip= tor->ResourceType)); >=20 >=20 >=20 > - if (Hob.ResourceDescriptor->ResourceType =3D=3D BZ3937_EFI_RESOURC= E_MEMORY_UNACCEPTED) { >=20 > + if (Hob.ResourceDescriptor->ResourceType =3D=3D EFI_RESOURCE_MEMOR= Y_UNACCEPTED) { >=20 > ResourceLength =3D Hob.ResourceDescriptor->ResourceLength; >=20 > PhysicalStart =3D Hob.ResourceDescriptor->PhysicalStart; >=20 > PhysicalEnd =3D PhysicalStart + ResourceLength; >=20 > @@ -427,7 +427,7 @@ AcceptMemory ( > // >=20 > while (!END_OF_HOB_LIST (Hob)) { >=20 > if (Hob.Header->HobType =3D=3D EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) { >=20 > - if (Hob.ResourceDescriptor->ResourceType =3D=3D BZ3937_EFI_RESOURC= E_MEMORY_UNACCEPTED) { >=20 > + if (Hob.ResourceDescriptor->ResourceType =3D=3D EFI_RESOURCE_MEMOR= Y_UNACCEPTED) { >=20 > PhysicalStart =3D Hob.ResourceDescriptor->PhysicalStart; >=20 > PhysicalEnd =3D PhysicalStart + Hob.ResourceDescriptor->Resou= rceLength; >=20 >=20 >=20 > @@ -563,7 +563,7 @@ ValidateHobList ( > EFI_RESOURCE_MEMORY_MAPPED_IO_PORT, >=20 > EFI_RESOURCE_MEMORY_RESERVED, >=20 > EFI_RESOURCE_IO_RESERVED, >=20 > - BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED >=20 > + EFI_RESOURCE_MEMORY_UNACCEPTED >=20 > }; >=20 >=20 >=20 > if (VmmHobList =3D=3D NULL) { >=20 > diff --git a/OvmfPkg/Library/PeilessStartupLib/Hob.c b/OvmfPkg/Library/Pe= ilessStartupLib/Hob.c > index 318b74c95d..725927da73 100644 > --- a/OvmfPkg/Library/PeilessStartupLib/Hob.c > +++ b/OvmfPkg/Library/PeilessStartupLib/Hob.c > @@ -20,7 +20,7 @@ > #include >=20 > #include >=20 > #include >=20 > -#include >=20 > +#include >=20 > #include "PeilessStartupInternal.h" >=20 >=20 >=20 > /** >=20 > @@ -92,7 +92,7 @@ ConstructFwHobList ( > // >=20 > while (!END_OF_HOB_LIST (Hob)) { >=20 > if (Hob.Header->HobType =3D=3D EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) { >=20 > - if (Hob.ResourceDescriptor->ResourceType =3D=3D BZ3937_EFI_RESOURC= E_MEMORY_UNACCEPTED) { >=20 > + if (Hob.ResourceDescriptor->ResourceType =3D=3D EFI_RESOURCE_MEMOR= Y_UNACCEPTED) { >=20 > PhysicalEnd =3D Hob.ResourceDescriptor->PhysicalStart + Hob.= ResourceDescriptor->ResourceLength; >=20 > ResourceLength =3D Hob.ResourceDescriptor->ResourceLength; >=20 >=20 >=20 > 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 >=20 > #include >=20 > #include >=20 > -#include >=20 > +#include >=20 > #include >=20 > #include >=20 >=20 >=20 > @@ -40,9 +40,9 @@ BuildResourceDescriptorHobForUnacceptedMemory ( > EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute; >=20 > UINT64 MaxAcceptedMemoryAddress; >=20 >=20 >=20 > - ASSERT (Hob->ResourceType =3D=3D BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED= ); >=20 > + ASSERT (Hob->ResourceType =3D=3D EFI_RESOURCE_MEMORY_UNACCEPTED); >=20 >=20 >=20 > - ResourceType =3D BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED; >=20 > + ResourceType =3D EFI_RESOURCE_MEMORY_UNACCEPTED; >=20 > ResourceAttribute =3D Hob->ResourceAttribute; >=20 > PhysicalStart =3D Hob->PhysicalStart; >=20 > ResourceLength =3D Hob->ResourceLength; >=20 > @@ -104,7 +104,7 @@ TransferTdxHobList ( > ResourceType =3D Hob.ResourceDescriptor->ResourceType; >=20 > ResourceAttribute =3D Hob.ResourceDescriptor->ResourceAttribute= ; >=20 >=20 >=20 > - if (ResourceType =3D=3D BZ3937_EFI_RESOURCE_MEMORY_UNACCEPTED) { >=20 > + if (ResourceType =3D=3D EFI_RESOURCE_MEMORY_UNACCEPTED) { >=20 > BuildResourceDescriptorHobForUnacceptedMemory (Hob.ResourceDe= scriptor); >=20 > } else { >=20 > BuildResourceDescriptorHob ( >=20 > diff --git a/OvmfPkg/PlatformPei/AmdSev.c b/OvmfPkg/PlatformPei/AmdSev.c > index e6724cf493..88ca14507f 100644 > --- a/OvmfPkg/PlatformPei/AmdSev.c > +++ b/OvmfPkg/PlatformPei/AmdSev.c > @@ -17,7 +17,7 @@ > #include >=20 > #include >=20 > #include >=20 > -#include >=20 > +#include >=20 > #include >=20 > #include >=20 > #include >=20 > @@ -149,7 +149,7 @@ AmdSevSnpInitialize ( >=20 >=20 > if (ResourceHob->ResourceType =3D=3D EFI_RESOURCE_SYSTEM_MEMORY) = { >=20 > if (ResourceHob->PhysicalStart >=3D SIZE_4GB) { >=20 > - ResourceHob->ResourceType =3D BZ3937_EFI_RESOURCE_MEMORY_UNACC= EPTED; >=20 > + ResourceHob->ResourceType =3D EFI_RESOURCE_MEMORY_UNACCEPTED; >=20 > continue; >=20 > } >=20 >=20 >=20 > -- > 2.24.1.windows.2 > -The information contained in this message may be confidential and propri= etary to American Megatrends (AMI). This communication is intended to be re= ad only by the individual or entity to whom it is addressed or by their des= ignee. 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 telepho= ne at 770-246-8600, and then delete or destroy all copies of the transmissi= on. -=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 (#118102): https://edk2.groups.io/g/devel/message/118102 Mute This Topic: https://groups.io/mt/105630626/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-