KVM: arm64: Kill 32-bit vCPUs on systems with mismatched EL0 support
authorWill Deacon <will@kernel.org>
Tue, 8 Jun 2021 18:02:56 +0000 (19:02 +0100)
committerWill Deacon <will@kernel.org>
Fri, 11 Jun 2021 12:25:40 +0000 (13:25 +0100)
commit2f6a49bbc01da17867c26f6f650b1142e1d7c69d
treeef07c18ded45928e371f4e0d2472d6fa6d2e7f40
parent2122a833316f2f3f6ddc78429fa67ef6d3c86636
KVM: arm64: Kill 32-bit vCPUs on systems with mismatched EL0 support

If a vCPU is caught running 32-bit code on a system with mismatched
support at EL0, then we should kill it.

Acked-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20210608180313.11502-4-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kvm/arm.c