Re: [PATCH 0/3] Move memory acceptance x86 arch code into EFI stub

From: Edgecombe, Rick P

Date: Thu Sep 17 2026 - 19:54:58 EST


On Fri, 2026-09-18 at 01:19 +0200, Ard Biesheuvel wrote:
> The memory acceptance occurs after ExitBootServices(), and so there is little the
> EFI stub can do at this point except maybe set a variable with an error message
> and reset the system. If that is better than a panic(), this is something we can
> consider.
>
> However, I'd like to avoid going off into the weeds here with something that was
> intended to simply move some logic from one place to the other. The current code
> prints an error to the UART I/O port (rather than the PV console TDX uses when
> running in the decompressor) and then loops forever. Is that something we could
> retain for this series, and then continue the above discussion in the context of
> a separate series based on top of that?

Uhh, yea. I guess I don't see a strong reason. This definitely has some aspects
unrelated to removing panic() from that EFI stub. I thought we might find an
alternative simpler solution quickly.