[edk2-devel] [PATCH v7 17/31] OvmfPkg/SecMain: pre-validate the memory used for decompressing Fv

Brijesh Singh via groups.io brijesh.singh=amd.com at groups.io
Thu Sep 16 11:11:54 UTC 2021


On 9/16/21 3:58 AM, Gerd Hoffmann wrote:
>   Hi,
>
>> +  ## The range of memory that need to be pre-validated in the SEC phase
>> +  #  when SEV-SNP is active in the guest VM.
>> +  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSnpSecPreValidatedStart|0|UINT32|0x56
>> +  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSnpSecPreValidatedEnd|0|UINT32|0x57
> I guess TDX needs to do that too?
> Should we pick more generic names for the PCDs then?

I was not sure how TDX is approaching the validation in the SEC phase;
i.e, will it go with validating the entire guest RAM at once or validate
the selective portion then push everything to PEI or DXE phase. Min or
Jiewen, can you comment on it ?

But I agree with you that picking generic name to start with is a good
idea. I will drop SNP name from it.

thanks


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#80780): https://edk2.groups.io/g/devel/message/80780
Mute This Topic: https://groups.io/mt/85582706/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list