Re: [PATCH v3 3/3] arm64: Get rid of CONFIG_ARM64_VHE
From: Marc Zyngier <maz@kernel.org>
Date: 2021-04-08 17:27:04
On Thu, 08 Apr 2021 17:59:14 +0100, Will Deacon [off-list ref] wrote:
On Thu, Apr 08, 2021 at 02:10:10PM +0100, Marc Zyngier wrote:quoted
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> --- .../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:
It was a design decision from the very beginning that all the VHE code would always be compiled in to avoid bitrot. It probably helped weeding out some early bugs.
Acked-by: Will Deacon <will@kernel.org>
Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel