audk/OvmfPkg/Library/BaseMemEncryptSevLib
Mikolaj Lisik via groups.io c1dd400a13 OvmfPkg: Create additional PML1 entries for large SEV-SNP VMs
Edk2 was failing, rather than creating more PML4 entries, when they
weren't present in the initial memory acceptance flow. Because of that
VMs with more than 512G memory were crashing. This code fixes that.

This change affects only SEV-SNP VMs.

The code was tested by successfully booting a 512G SEV-SNP VM.

Signed-off-by: Mikolaj Lisik <lisik@google.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
2023-06-02 23:59:20 +00:00
..
Ia32 OvmfPkg/MemEncryptSevLib: add support to validate system RAM 2021-12-09 06:28:10 +00:00
X64 OvmfPkg: Create additional PML1 entries for large SEV-SNP VMs 2023-06-02 23:59:20 +00:00
DxeMemEncryptSevLib.inf OvmfPkg/UefiCpuPkg/UefiPayloadPkg: Rename VmgExitLib to CcExitLib 2022-11-14 04:55:34 +00:00
DxeMemEncryptSevLibInternal.c OvmfPkg/BaseMemEncryptLib: use the SEV_STATUS MSR value from workarea 2022-02-28 02:46:08 +00:00
PeiDxeMemEncryptSevLibInternal.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiMemEncryptSevLib.inf OvmfPkg/UefiCpuPkg/UefiPayloadPkg: Rename VmgExitLib to CcExitLib 2022-11-14 04:55:34 +00:00
PeiMemEncryptSevLibInternal.c OvmfPkg: Replace GUEST_TYPE with CC_GUEST_TYPE 2022-04-19 01:26:08 +00:00
SecMemEncryptSevLib.inf OvmfPkg/UefiCpuPkg/UefiPayloadPkg: Rename VmgExitLib to CcExitLib 2022-11-14 04:55:34 +00:00
SecMemEncryptSevLibInternal.c OvmfPkg: Replace GUEST_TYPE with CC_GUEST_TYPE 2022-04-19 01:26:08 +00:00