arm64: Get rid of CONFIG_ARM64_VHE
authorMarc Zyngier <maz@kernel.org>
Thu, 8 Apr 2021 13:10:10 +0000 (14:10 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 8 Apr 2021 17:45:16 +0000 (18:45 +0100)
commit2d726d0db6ac479d91bf74490455badd34af6b1d
treec53214d84b012914407694d5f2379a6f059c5285
parent31a32b49b80f79cbb84a9c948c5609c6fc044443
arm64: Get rid of CONFIG_ARM64_VHE

CONFIG_ARM64_VHE was introduced with ARMv8.1 (some 7 years ago),
and has been enabled by default for almost all that time.

Given that newer systems that are VHE capable are finally becoming
available, and that some systems are even incapable of not running VHE,
drop the configuration altogether.

Anyone willing to stick to non-VHE on VHE hardware for obscure
reasons should use the 'kvm-arm.mode=nvhe' command-line option.

Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210408131010.1109027-4-maz@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/admin-guide/kernel-parameters.txt
arch/arm64/Kconfig
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/hyp-stub.S