Re: [tip: x86/boot] x86/boot/sev: Avoid shared GHCB page for early memory acceptance

From: Ingo Molnar
Date: Fri Apr 18 2025 - 04:14:53 EST



* Ingo Molnar <mingo@xxxxxxxxxx> wrote:

>
> * Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
>
> > On Sat, 12 Apr 2025 at 22:45, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
> > >
> > >
> > > * Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
> > >
> > > > On Sat, 12 Apr 2025 at 22:29, tip-bot2 for Ard Biesheuvel
> > > > <tip-bot2@xxxxxxxxxxxxx> wrote:
> > > > >
> > > > > The following commit has been merged into the x86/boot branch of tip:
> > > > >
> > > >
> > > > This may be slightly premature. I took some of Tom's code, hence the
> > > > co-developed-by, but the should really confirm that what I did is
> > > > correct before we queue this up.
> > >
> > > OK, I've zapped it again, especially as the rest of the series wasn't
> > > ready either, please include the latest version of this patch as part
> > > of the boot/setup/ series, which hard-relies upon it.
> > >
> >
> > I have sent out a v4 here [0].
> >
> > I am not including it in the next rev of the startup/ refactor series,
> > given that this change is a fix that also needs to go to stable.
> > Please apply it as a fix and merge back the branch into tip/x86/boot -
> > I will rebase the startup/ refactor series on top of that.
> >
> > Thanks,
> >
> > [0] https://lore.kernel.org/linux-efi/20250417202120.1002102-2-ardb+git@xxxxxxxxxx/T/#u
>
> Noted, thanks for the heads up!

So there's this new merge commit in tip:x86/boot:

54f71aa90c84 Merge branch 'x86/urgent' into x86/boot, to merge dependent commit and fixes

which brings this fix into x86/boot:

a718833cb456 ("x86/boot/sev: Avoid shared GHCB page for early memory acceptance")

thus 54f71aa90c84 should be a proper base the rest of the startup/
series, right?

Thanks,

Ingo