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

From: Will Deacon
Date: Fri Aug 26 2022 - 13:44:09 EST


On Fri, Aug 26, 2022 at 10:08:42AM -0400, Mikulas Patocka wrote:
> 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").

Thanks. Any chance you could give this a go, please?

https://lore.kernel.org/r/20220826164800.2059148-1-ardb@xxxxxxxxxx

Will