Re: [PATCH] wait_on_bit: add an acquire memory barrier

From: Mikulas Patocka
Date: Fri Aug 26 2022 - 10:08:55 EST




On Fri, 26 Aug 2022, Mikulas Patocka wrote:

>
>
> On Fri, 26 Aug 2022, Will Deacon wrote:
>
> > On Thu, Aug 25, 2022 at 05:03:40PM -0400, Mikulas Patocka wrote:
> > >
> > > For me, the kernel 6.0-rc2 doesn't boot in an arm64 virtual machine at all
> > > (with or without this patch), so I only compile-tested it on arm64. I have
> > > to bisect it.
> >
> > It's working fine for me and I haven't had any other reports that it's not
> > booting. Please could you share some more details about your setup so we
> > can try to reproduce the problem?
>
> I'm bisecting it now. I'll post the offending commit when I'm done.

So, the bad commit is aacd149b62382c63911060b8f64c1e3d89bd405a ("arm64:
head: avoid relocating the kernel twice for KASLR").

> It gets stuck without printing anything at this point:
> Loading Linux 6.0.0-rc2 ...
> Loading initial ramdisk ...
> EFI stub: Booting Linux Kernel...
> EFI stub: Using DTB from configuration table
> EFI stub: Exiting boot services...
>
> I uploaded my .config here:
> https://people.redhat.com/~mpatocka/testcases/arm64-config/config-6.0.0-rc2
> so you can try it on your own.
>
> The host system is MacchiatoBIN board with Debian 10.12.

Mikulas