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

From: Suzuki K Poulose
Date: Wed Apr 15 2020 - 06:09:16 EST


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.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>