Re: REGRESSION: kernel BUG at arch/arm64/kernel/alternative.c:157!

From: John Stultz
Date: Tue May 18 2021 - 14:22:10 EST


On Tue, May 18, 2021 at 2:59 AM Mark Rutland <mark.rutland@xxxxxxx> wrote:
>
> Adding Mark Brown and Mazahiro Yamada.
>
> It looks like there's a dependency issue where assembly files don't get rebuilt
> when a generated header they depend upon is rebuilt, and from commit:
>
> 0c6c2d3615efb7c2 ("arm64: Generate cpucaps.h")
>
> ... we can have stale objects with old cpucap values.


Thanks for confirming! I've also verified that things do get back to
booting ok w/ v5.13-rc2 after a make clean, so it does seem like some
sort of dependency, which explains the inconsistent bisection.

thanks
-john