]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: arm64: nv: Advertise the lack of AArch32 EL0 support
authorMarc Zyngier <maz@kernel.org>
Sat, 21 Dec 2024 10:06:17 +0000 (10:06 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 22 Dec 2024 10:09:43 +0000 (10:09 +0000)
commite891432cf7171ab2054222e2ce4c94f8080b92e7
treeb1c4d7719655b1a85070625663079f6f90bd5015
parent78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8
KVM: arm64: nv: Advertise the lack of AArch32 EL0 support

Although we never supported 32bit anywhere in NV, we fail to
advertise so for EL0, probably owing to the relative lack of
hardware supporting both NV2 and 32bit EL0.

Add some sanitising to ID_AA64PFR0_EL1.EL0, and reaffirm that
"in 64bit-only we trust".

Reported-by: Oliver Upton <oliver.upton@linux.dev>
Acked-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/nested.c