arm64: Simplify init_el2_state to be non-VHE only
authorMarc Zyngier <maz@kernel.org>
Mon, 8 Feb 2021 09:57:17 +0000 (09:57 +0000)
committerWill Deacon <will@kernel.org>
Tue, 9 Feb 2021 13:47:11 +0000 (13:47 +0000)
commite2df464173f0b585adb958a09536eae2cd1dbefd
tree270c0e0c220d7eaa0a0f31a1092caa934e87affb
parent19e87e131915a2389a08874092a82fe5aa0f8952
arm64: Simplify init_el2_state to be non-VHE only

As init_el2_state is now nVHE only, let's simplify it and drop
the VHE setup.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: David Brazdil <dbrazdil@google.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210208095732.3267263-9-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/el2_setup.h
arch/arm64/kernel/head.S
arch/arm64/kvm/hyp/nvhe/hyp-init.S