]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit080e83b69fa6ba7152b38b3bcb4d3a45e4ea9908
treec53214d84b012914407694d5f2379a6f059c5285
parent4a6e6293bd5a91f8b69f80e5ecf3ee9bae57b04b
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