Re: [PATCH 3/8] arm64: cpufeature: Add CPU capability for AArch32 EL1 support

From: Will Deacon
Date: Wed Apr 15 2020 - 06:15:58 EST


On Wed, Apr 15, 2020 at 11:13:54AM +0100, Suzuki K Poulose wrote:
> On 04/14/2020 10:31 PM, Will Deacon wrote:
> > Although we emit a "SANITY CHECK" warning and taint the kernel if we
> > detect a CPU mismatch for AArch32 support at EL1, we still online the
> > CPU with disastrous consequences for any running 32-bit VMs.
> >
> > Introduce a capability for AArch32 support at EL1 so that late onlining
> > of incompatible CPUs is forbidden.
> >
> > Signed-off-by: Will Deacon <will@xxxxxxxxxx>
>
> One of the other important missing sanity check for KVM is the VMID width
> check. I will code something up.

Cheers! Do we handle things like the IPA size already?

Will