arm64: Move SCTLR_EL1 initialisation to EL-agnostic code
authorMarc Zyngier <maz@kernel.org>
Mon, 8 Feb 2021 09:57:18 +0000 (09:57 +0000)
committerWill Deacon <will@kernel.org>
Tue, 9 Feb 2021 13:47:12 +0000 (13:47 +0000)
commitd077cb3cb90470f8bd7dbe357a474e13589390b9
treedcdcf5bbc3f7b604354f47a1a040fe378edbeb0a
parente2df464173f0b585adb958a09536eae2cd1dbefd
arm64: Move SCTLR_EL1 initialisation to EL-agnostic code

We can now move the initial SCTLR_EL1 setup to be used for both
EL1 and EL2 setup.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: David Brazdil <dbrazdil@google.com>
Link: https://lore.kernel.org/r/20210208095732.3267263-10-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/head.S