Re: [edk2-devel] [PATCH v2] x86/efi: Safely enable unaccepted memory in UEFI

From: Gerd Hoffmann
Date: Wed Jan 18 2023 - 03:30:49 EST


Hi,

> To Gerd's point, removing "first in edk2, later in linux too" I think
> is backwards. We need all users of the protocol to agree that SEV-SNP
> and TDX strictly imply unaccepted memory support. Only then can we
> remove the protocol from EDK2.

Its not backwards.

edk2 dropping support first would result in break kernels without
support for unaccepted memory. Which is why we wait until such
kernels are EOL.

Linux dropping support first would result in firmware accepting all
memory again. So that isn't a good plan. Thats why linux should
support the protocol a bit longer, while firmware versions which
expect negotiation happening are still in use.

take care,
Gerd