audk/OvmfPkg/Library/BaseMemEncryptSevLib/X64
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
..
DxeSnpSystemRamValidate.c OvmfPkg: Realize EfiMemoryAcceptProtocol in AmdSevDxe 2023-01-12 16:03:30 +00:00
MemEncryptSevLib.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PeiDxeVirtualMemory.c OvmfPkg: Create additional PML1 entries for large SEV-SNP VMs 2023-06-02 23:59:20 +00:00
PeiSnpSystemRamValidate.c OvmfPkg/SecMain: validate the memory used for decompressing Fv 2021-12-09 06:28:10 +00:00
SecSnpSystemRamValidate.c OvmfPkg/MemEncryptSevLib: add function to check the VMPL0 2021-12-09 06:28:10 +00:00
SecVirtualMemory.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
SnpPageStateChange.h OvmfPkg/MemEncryptSevLib: add function to check the VMPL0 2021-12-09 06:28:10 +00:00
SnpPageStateChangeInternal.c OvmfPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
VirtualMemory.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
VirtualMemory.h OvmfPkg/MemEncryptSevLib: add support to validate > 4GB memory in PEI phase 2021-12-09 06:28:10 +00:00