[PATCH 0/2] arm64 head.S fixes

Ard Biesheuvel ardb+git at google.com
Mon Apr 15 00:54:13 PDT 2024


From: Ard Biesheuvel <ardb at kernel.org>

Ensure the MMU is off before changing HCR_EL2.E2H when entering at EL2.
Drop MMU disable workarounds where they are not needed.

Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Will Deacon <will at kernel.org>
Cc: Marc Zyngier <maz at kernel.org>
Cc: Mark Rutland <mark.rutland at arm.com>

Ard Biesheuvel (2):
  arm64/head: Drop unnecessary pre-disable-MMU workaround
  arm64/head: Disable MMU at EL2 before clearing HCR_EL2.E2H

 arch/arm64/kernel/head.S | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.44.0.683.g7961c838ac-goog




More information about the linux-arm-kernel mailing list