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

From: Marc Zyngier <[email-masked]>
Date: Thu, 08 Apr 2021 18:24:25 +0100

On Thu, 08 Apr 2021 17:59:14 +0100,
Will Deacon <[email-masked]> 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 <[email-masked]>
> > Signed-off-by: Marc Zyngier <[email-masked]>
> > ---
> >  .../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 <[email-masked]>

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel