arm64: Use INIT_SCTLR_EL1_MMU_OFF to disable the MMU on CPU restart
authorMarc Zyngier <maz@kernel.org>
Wed, 10 Mar 2021 13:25:57 +0000 (13:25 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 18 Mar 2021 15:51:07 +0000 (15:51 +0000)
commit45879a57751d272ced9ed5ccfd28c58e2095ceb7
treebcffd493d66115a61808fabc119cf27f689742dd
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0
arm64: Use INIT_SCTLR_EL1_MMU_OFF to disable the MMU on CPU restart

Instead of doing a RMW on SCTLR_EL1 to disable the MMU, use the
existing define that loads the right set of bits.

Acked-by: Will Deacon <will@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kernel/cpu-reset.S