]> git.itanic.dy.fi Git - linux-stable/commit
arm64/head: Drop unnecessary pre-disable-MMU workaround
authorArd Biesheuvel <ardb@kernel.org>
Mon, 15 Apr 2024 07:54:14 +0000 (09:54 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 18 Apr 2024 17:00:37 +0000 (18:00 +0100)
commit2b504e1620376052744ebee408a84394bdaef40a
treecc412fa40a6e2fb4b3a6ae5d50a81253de4c1718
parent015a12a4a6708d9cadcaea8334e270747923394c
arm64/head: Drop unnecessary pre-disable-MMU workaround

The Falkor erratum that results in the need for an ISB before clearing
the M bit in SCTLR_ELx only applies to execution at exception level x,
and so the workaround is not needed when disabling the EL1 MMU while
running at EL2.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20240415075412.2347624-5-ardb+git@google.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/head.S