Re: [PATCH v7 22/22] x86/efistub: Avoid legacy decompressor when doing EFI boot

From: Borislav Petkov
Date: Wed Aug 02 2023 - 11:55:58 EST

On Wed, Aug 02, 2023 at 12:47:24PM +0200, Ard Biesheuvel wrote:
> I'll prepare the v8 based on this branch after doing some more tests
> on bare metal. I'll probably send it out later today.

Thx, I'll run it here too.

> It depends on the timing. If we take the whole thing now, it should
> ideally go through -tip.

Now's fine, if it passes testing.

> There is a conflict with the kexec sev patch you just suggested on the
> list, though. I'll rebase onto that in any case, but if that causes
> any problems, we might decide to take everything except the last two
> (or three *) patches now, and defer those for later.


> * 'efi/libstub: Add limit argument to efi_random_alloc()' may conflict
> with some changes that may arrive via the RISC-V tree. That patch is
> completely independent, so perhaps I should put it on a shared stable
> branch in the EFI tree. Or alternatively, depending on how you decide
> to organize the branches, you could put it at the beginning of the
> topic branch where the RISC-V tree can merge it in.

I could simply give them the tip branch with the stuff and they can
merge it. It'll be immutable ofc.

> Or we might just ignore the conflict - it just adds a function
> argument to a function call that gets moved from one source file to
> the another in the conflicting branch, so it should be rather
> straight-forward to resolve.

That's also a possibility.