Re: [PATCHv7 00/14] mm, x86/cc: Implement support for unaccepted memory

Dave Hansen
2022-06-24T18:14:12Z

On 6/24/22 11:10, Peter Gonda wrote:
>> How big is the window going to be where we have guests that can have
>> unaccepted memory, but don't have acceptance support? For TDX, it's
>> looking like it'll probably _just_ be 5.19. Is TDX on 5.19 in shape
>> that cloud providers can deploy it? Or, is stuff like lack of
>> attestation a deal breaker?
> This is complicated because distros don't run upstream linux versions.
> If I understand correctly (I see some distro emails on here so please
> correct me) distros normally maintain forks which they backport things
> into. So I cannot answer this question. It is possible that a
> hypothetical distro backports only the SNP/TDX initial patches and
> doesn't take these for many releases.

Distros could also backport a bare-bones version of this set that
doesn't do anything fancy and just synchronously accepts the memory at
boot. No bitmap, no page allocator changes. It'll slow boot down, but
is better than having no RAM.