Re: [edk2-devel] [PATCH v4 1/6] OvmfPkg: Realize EfiMemoryAcceptProtocol in AmdSevDxe

2022-09-30 Thread Dionna Glaze via groups.io
> > +{ > > + MemEncryptSevSnpPreValidateSystemRam ( > > +StartAddress, > > +EFI_SIZE_TO_PAGES (Size) > > Sorry, I forgot to ask this earlier in the series, but is StartAddress > guaranteed to be page-aligned and Size a multiple of 4KB? Should there be > any asserts for those just in case?

Re: [edk2-devel] [PATCH v4 1/6] OvmfPkg: Realize EfiMemoryAcceptProtocol in AmdSevDxe

2022-09-28 Thread Lendacky, Thomas via groups.io
On 9/28/22 10:33, Dionna Glaze wrote: From: Sophia Wolf When a guest OS does not support unaccepted memory, the unaccepted memory must be accepted before returning a memory map to the caller. EfiMemoryAcceptProtocol is defined in MdePkg and is implemented / Installed in AmdSevDxe for AMD

Re: [edk2-devel] [PATCH v4 1/6] OvmfPkg: Realize EfiMemoryAcceptProtocol in AmdSevDxe

2022-09-28 Thread Ard Biesheuvel
On Wed, 28 Sept 2022 at 17:33, Dionna Glaze via groups.io wrote: > > From: Sophia Wolf > > When a guest OS does not support unaccepted memory, the unaccepted > memory must be accepted before returning a memory map to the caller. > > EfiMemoryAcceptProtocol is defined in MdePkg and is implemented

[edk2-devel] [PATCH v4 1/6] OvmfPkg: Realize EfiMemoryAcceptProtocol in AmdSevDxe

2022-09-28 Thread Dionna Glaze via groups.io
From: Sophia Wolf When a guest OS does not support unaccepted memory, the unaccepted memory must be accepted before returning a memory map to the caller. EfiMemoryAcceptProtocol is defined in MdePkg and is implemented / Installed in AmdSevDxe for AMD SEV-SNP memory acceptance. Cc: Gerd