]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Handle trapping of FEAT_LS64* instructions
authorMarc Zyngier <maz@kernel.org>
Thu, 4 Jul 2024 17:58:01 +0000 (18:58 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 6 May 2025 16:35:14 +0000 (17:35 +0100)
commit2e04378f1a766b9a8962004962d32e5df06a5707
treec158051221687bcf110371dd2a257a0876e060cb
parent4b4af68dd972aedc4193bd886e383c123511d275
KVM: arm64: Handle trapping of FEAT_LS64* instructions

We generally don't expect FEAT_LS64* instructions to trap, unless
they are trapped by a guest hypervisor.

Otherwise, this is just the guest playing tricks on us by using
an instruction that isn't advertised, which we handle with a well
deserved UNDEF.

Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/handle_exit.c