Re: x86_64 32-bit EFI mixed mode boot broken

From: Ard Biesheuvel
Date: Sat Mar 23 2024 - 08:40:13 EST


On Fri, 22 Mar 2024 at 21:34, Clayton Craft <clayton@xxxxxxxxxxxxx> wrote:
>
> March 22, 2024 at 11:30 AM, "Ard Biesheuvel" <ardb@xxxxxxxxxx> wrote:
>
>
> >
> > On Fri, 22 Mar 2024 at 19:57, Clayton Craft <clayton@xxxxxxxxxxxxx> wrote:
> >
> > I have pushed a branch below that reverts the patch you identified in
> >
> > 4 separate steps. Could you please check which step makes your system
> >
> > boot again?
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/log/?h=efi-clayton
> >
>
> Thanks a lot for doing this, I really appreciate the help!
>
> It looks like if I build from 868a7245, booting breaks again on my Bay Trail systems. If I put back 00e85ab5, they boot again.
>

OK.

I have reshuffled the branch and put the patch you identified as the
one fixing the boot first. Please double check whether this change
still fixes the boot for you.

https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/log/?h=efi-clayton-2

If so, we can try applying it to mainline, and merge it if it works there too.

If not, we will need better debugging to figure out what the hell is going on.