[PATCH 3/3] KVM: arm64: Don't run a protected vCPU that was caught in AArch32

Marc Zyngier maz at kernel.org
Wed Dec 2 07:08:35 PST 2026


On Wed, 02 Dec 2026 14:56:27 +0000,
Fuad Tabba <fuad.tabba at linux.dev> wrote:
> 
> Hi Marc,
> 
> On Wed, 02 Dec 2026 14:02:02 +0000, Marc Zyngier <maz at 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.



More information about the linux-arm-kernel mailing list