[PATCH v3 3/3] arm64: Get rid of CONFIG_ARM64_VHE
Marc Zyngier
maz at kernel.org
Thu Apr 8 18:24:25 BST 2021
On Thu, 08 Apr 2021 17:59:14 +0100,
Will Deacon <will at kernel.org> wrote:
>
> 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:
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 at kernel.org>
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list