audk/OvmfPkg/PlatformPei
Dionna Glaze 0d129ef7c3 OvmfPkg/PlatformPei: SEV-SNP make >=4GB unaccepted
Instead of eagerly accepting all memory in PEI, only accept memory under
the 4GB address. This allows a loaded image to use the
MEMORY_ACCEPTANCE_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@kernel.org>
Cc: "Min M. Xu" <min.m.xu@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Tom Lendacky <Thomas.Lendacky@amd.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Erdem Aktas <erdemaktas@google.com>

Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
2023-01-26 23:00:51 +00:00
..
AmdSev.c OvmfPkg/PlatformPei: SEV-SNP make >=4GB unaccepted 2023-01-26 23:00:51 +00:00
ClearCache.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FeatureControl.c OvmfPkg/PlatformPei: remove mFeatureControlValue 2022-12-14 17:45:41 +00:00
Fv.c OvmfPkg/PlatformPei: PeiFv: stop using mPlatformInfoHob 2022-12-14 17:45:41 +00:00
IntelTdx.c OvmfPkg: Update PlatformPei to support Tdx guest 2022-04-02 08:15:12 +00:00
MemDetect.c OvmfPkg/PlatformInitLib: Add PlatformGetLowMemoryCB 2023-01-17 16:36:59 +00:00
MemTypeInfo.c OvmfPkg/PlatformPei: MemTypeInfo: stop using mPlatformInfoHob 2022-12-14 17:45:41 +00:00
Platform.c OvmfPkg/PlatformPei: remove mFeatureControlValue 2022-12-14 17:45:41 +00:00
Platform.h OvmfPkg/PlatformPei: remove mFeatureControlValue 2022-12-14 17:45:41 +00:00
PlatformPei.inf OvmfPkg/UefiCpuPkg/UefiPayloadPkg: Rename VmgExitLib to CcExitLib 2022-11-14 04:55:34 +00:00