[PATCH 0/2] arm64: __cpu_setup spring cleaning

Mark Rutland mark.rutland at arm.com
Fri Mar 26 18:01:35 GMT 2021


Presently __cpu_setup is a bit hard to read, since the lifetime and scope of
some temporary variables isn't clear. These patches aim to improve things by
using named reigsters and simplifying the control flow.

I've built and boot tested both patches atop v5.12-rc3.

Thanks,
Mark.

Mark Rutland (2):
  arm64: setup: name `mair` register
  arm64: setup: name `tcr` register

 arch/arm64/mm/proc.S | 48 ++++++++++++++++++++++--------------------------
 1 file changed, 22 insertions(+), 26 deletions(-)

-- 
2.11.0




More information about the linux-arm-kernel mailing list