From: Marc Zyngier <maz@kernel.org>
To: Fuad Tabba <fuad.tabba@linux.dev>
Cc: Oliver Upton <oupton@kernel.org>, Joey Gouly <joey.gouly@arm.com>,
Steffen Eiden <seiden@linux.ibm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Zenghui Yu <yuzenghui@huawei.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Vincent Donnefort <vdonnefort@google.com>,
linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] KVM: arm64: Don't run a protected vCPU that was caught in AArch32
Date: Wed, 02 Dec 2026 15:08:35 +0000 [thread overview]
Message-ID: <868q27yb2k.wl-maz@kernel.org> (raw)
In-Reply-To: <CA+EHjTyV8473MprAkwG6F3sBXZU7ooMvsS-M4=CbBHu5Q43e6w@mail.gmail.com>
On Wed, 02 Dec 2026 14:56:27 +0000,
Fuad Tabba <fuad.tabba@linux.dev> wrote:
>
> Hi Marc,
>
> On Wed, 02 Dec 2026 14:02:02 +0000, Marc Zyngier <maz@kernel.org> wrote:
> [...]
> > This is yet another weird difference in behaviour that is visible from
> > userspace. Also, once a vcpu is "unrunnable", the whole guest is
> > pretty much dead (I can't see how it is going to recover from a vcpu
> > being gone).
> >
> > I wonder if we should promote the "red-handed" behaviour to being a
> > case of kvm_vm_dead(). This would solve all our problems once and for
> > all.
>
> I'll do that in v2, for both protected and non-protected vCPUs.
>
> I'll also drop the first two patches, since KVM would no longer clear
> VCPU_INITIALIZED on a vCPU that has run, unless you'd like to keep the
> first one for stable.
Nah. All this stuff is way too subtle, and I'm in an axing mood.
>
> > The other solution is of course to wipe AArch32 support altogether.
> >
> > M. (tempted...)
>
> First nVHE, now AArch32. You're on a roll... off with their heads!
That's the thing about being French... :p
M.
--
Without deviation from the norm, progress is not possible.
prev parent reply other threads:[~2026-12-02 15:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 14:44 [PATCH 0/3] KVM: arm64: Fixes for a vCPU caught in a disallowed AArch32 mode Fuad Tabba
2026-11-30 14:44 ` [PATCH 1/3] KVM: arm64: Don't call kvm_setup_vcpu() again once a vCPU has run Fuad Tabba
2026-11-30 14:44 ` [PATCH 2/3] KVM: arm64: Reject KVM_RUN on a vCPU that's no longer initialized Fuad Tabba
2026-11-30 14:44 ` [PATCH 3/3] KVM: arm64: Don't run a protected vCPU that was caught in AArch32 Fuad Tabba
2026-12-02 14:02 ` Marc Zyngier
2026-12-02 14:56 ` Fuad Tabba
2026-12-02 15:08 ` Marc Zyngier [this message]
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=868q27yb2k.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=fuad.tabba@linux.dev \
--cc=joey.gouly@arm.com \
--cc=kvmarm@lists.linux.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=oupton@kernel.org \
--cc=seiden@linux.ibm.com \
--cc=suzuki.poulose@arm.com \
--cc=vdonnefort@google.com \
--cc=will@kernel.org \
--cc=yuzenghui@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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