[PATCH v3 3/3] arm64: Get rid of CONFIG_ARM64_VHE

Will Deacon will at kernel.org
Thu Apr 8 17:59:14 BST 2021


On Thu, Apr 08, 2021 at 02:10:10PM +0100, Marc Zyngier wrote:
> 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 at kernel.org>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
> ---
>  .../admin-guide/kernel-parameters.txt         |  3 +--
>  arch/arm64/Kconfig                            | 20 -------------------
>  arch/arm64/kernel/cpufeature.c                |  4 ----
>  arch/arm64/kernel/hyp-stub.S                  |  2 --
>  4 files changed, 1 insertion(+), 28 deletions(-)

Huh, I was really expecting to see ARM64_VHE crop up in some Makefiles, but
it doesn't seem to! So:

Acked-by: Will Deacon <will at kernel.org>

Will



More information about the linux-arm-kernel mailing list