[edk2-devel] [PATCH v7 7/7] OvmfPkg/PlatformPei: SEV-SNP make >=4GB unaccepted

Lendacky, Thomas via groups.io thomas.lendacky=amd.com at groups.io
Wed Oct 5 21:02:33 UTC 2022


On 10/5/22 15:33, Dionna Glaze wrote:
> Instead of eagerly accepting all memory in PEI, only accept memory under
> the 4GB address. This allows a loaded image to use the
> ACCEPT_ALL_UNACCEPTED_MEMORY_PROTOCOL to disable the accept behavior and
> indicate that it can interpret the memory type accordingly.
> 
> This classification is safe since ExitBootServices will accept and
> reclassify the memory as conventional if the disable protocol is not
> used.
> 
> Cc: Ard Biescheuvel <ardb at kernel.org>
> Cc: "Min M. Xu" <min.m.xu at intel.com>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: James Bottomley <jejb at linux.ibm.com>
> Cc: Tom Lendacky <Thomas.Lendacky at amd.com>
> Cc: Jiewen Yao <jiewen.yao at intel.com>
> Cc: Erdem Aktas <erdemaktas at google.com>
> 
> Signed-off-by: Dionna Glaze <dionnaglaze at google.com>

Reviewed-by: Tom Lendacky <thomas.lendacky at amd.com>

> ---


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#94775): https://edk2.groups.io/g/devel/message/94775
Mute This Topic: https://groups.io/mt/94144539/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