[PATCH 0/6] arm64: boot cleanups

Mark Rutland mark.rutland at arm.com
Thu May 27 02:33:49 PDT 2021


On Wed, May 26, 2021 at 11:16:42PM +0100, Will Deacon wrote:
> 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.

Thanks!

I took a look and I see that you also handled the conflict with the
cache rework (where this series deltetes some maintenance); the result
looks good to me.

Mark.



More information about the linux-arm-kernel mailing list