Re: [edk2-devel] [PATCH 0/3] Add safe unaccepted memory behavior

2022-09-26 Thread Gerd Hoffmann
On Fri, Sep 23, 2022 at 02:42:57PM -0500, Tom Lendacky wrote: > On 9/23/22 14:34, Dionna Amalie Glaze wrote: > > Ah yes, I did forget to include that patch. Will add to v2. I was just > > setting the ResourceType to unaccepted and skipping the Prevalidate call > > in PlatformPei if the start

Re: [edk2-devel] [PATCH 0/3] Add safe unaccepted memory behavior

2022-09-23 Thread Lendacky, Thomas via groups.io
On 9/23/22 14:34, Dionna Amalie Glaze wrote: Ah yes, I did forget to include that patch. Will add to v2. I was just setting the ResourceType to unaccepted and skipping the Prevalidate call in PlatformPei if the start address is greater or equal to SIZE_4GB. That seemed more self-contained than

Re: [edk2-devel] [PATCH 0/3] Add safe unaccepted memory behavior

2022-09-23 Thread Dionna Glaze via groups.io
Ah yes, I did forget to include that patch. Will add to v2. I was just setting the ResourceType to unaccepted and skipping the Prevalidate call in PlatformPei if the start address is greater or equal to SIZE_4GB. That seemed more self-contained than messing with PlatformInitLib. Would you prefer

Re: [edk2-devel] [PATCH 0/3] Add safe unaccepted memory behavior

2022-09-23 Thread Lendacky, Thomas via groups.io
On 9/22/22 15:50, Dionna Glaze wrote: These three patches build on the lazy-accept patch series "Introduce Lazy-accept for Tdx guest" by adding SEV-SNP support for the MemoryAccept protocol, and importantly making eager memory acceptance the default behavior. For unaccepted memory to be

[edk2-devel] [PATCH 0/3] Add safe unaccepted memory behavior

2022-09-22 Thread Dionna Glaze via groups.io
These three patches build on the lazy-accept patch series "Introduce Lazy-accept for Tdx guest" by adding SEV-SNP support for the MemoryAccept protocol, and importantly making eager memory acceptance the default behavior. For unaccepted memory to be enabled, we must know that the booted image