[PATCH 0/6] arm64: boot cleanups

Will Deacon will at kernel.org
Wed May 26 15:16:42 PDT 2021


On Thu, May 20, 2021 at 12:50:25PM +0100, Mark Rutland wrote:
> This series (based on v5.13-rc1) reworks the way we initialize some state at
> boot time, simplifying and unifying the logic for primary and secondary CPUs.
> This allows us to initalize the per-cpu offsets earlier (which will help to
> enable KCSAN), and reduces the data we need to pass to a secondary. In future,
> this should allow us to transfer the secondary data atomically and make the
> secondary boot paths more robust to arbitrarily long delays.
> 
> I've based this on Mahdavan's stacktrace termination patch [1] (duplicated here
> unchanged), since it made sense to combine the unwind initialization along with
> the other CPU state, and otherwise there would be non-trivial merge conflicts.
> 
> I've given the series some boot testing with a variety of configurations,
> checking that stacktraces work correctly, etc.

Thanks. I've already got the stack trace patch queued on
for-next/stacktrace, so I've merged that branch into a new for-next/boot
branch and put the remainder of the patches on top of that.

Will



More information about the linux-arm-kernel mailing list