From: Marc Zyngier <maz@kernel•org>
To: Will Deacon <will@kernel•org>
Cc: linux-arm-kernel@lists•infradead.org,
Hector Martin <marcan@marcan•st>, Arnd Bergmann <arnd@kernel•org>,
Mark Rutland <mark.rutland@arm•com>,
Catalin Marinas <catalin.marinas@arm•com>,
kernel-team@android•com
Subject: Re: [PATCH v3 3/3] arm64: Get rid of CONFIG_ARM64_VHE
Date: Thu, 08 Apr 2021 18:24:25 +0100 [thread overview]
Message-ID: <87o8eoofjq.wl-maz@kernel.org> (raw)
In-Reply-To: <20210408165912.GA18321@willie-the-truck>
On Thu, 08 Apr 2021 17:59:14 +0100,
Will Deacon <will@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@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
next prev parent reply other threads:[~2021-04-08 17:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-08 13:10 [PATCH v3 0/3] arm64: Dealing with VHE-only CPUs Marc Zyngier
2021-04-08 13:10 ` [PATCH v3 1/3] arm64: cpufeature: Allow early filtering of feature override Marc Zyngier
2021-04-08 13:10 ` [PATCH v3 2/3] arm64: Cope with CPUs stuck in VHE mode Marc Zyngier
2021-04-08 13:10 ` [PATCH v3 3/3] arm64: Get rid of CONFIG_ARM64_VHE Marc Zyngier
2021-04-08 16:59 ` Will Deacon
2021-04-08 17:24 ` Marc Zyngier [this message]
2021-04-08 21:47 ` Arnd Bergmann
2021-04-09 8:28 ` Marc Zyngier
2021-04-08 18:00 ` [PATCH v3 0/3] arm64: Dealing with VHE-only CPUs Catalin Marinas
2021-04-08 18:08 ` Marc Zyngier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8eoofjq.wl-maz@kernel.org \
--to=maz@kernel$(echo .)org \
--cc=arnd@kernel$(echo .)org \
--cc=catalin.marinas@arm$(echo .)com \
--cc=kernel-team@android$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=marcan@marcan$(echo .)st \
--cc=mark.rutland@arm$(echo .)com \
--cc=will@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox