]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Wire AT S1E1A in the system instruction handling table
authorMarc Zyngier <maz@kernel.org>
Tue, 2 Jun 2026 15:54:28 +0000 (16:54 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 3 Jun 2026 20:01:48 +0000 (21:01 +0100)
commitf41b481548cc263112b6da4a3b4869fcd35b4e45
tree46f4d7a78690376a682157c15f64afb527252386
parent978cd6b2ad036168712aad8fca213385a5b15e2d
KVM: arm64: Wire AT S1E1A in the system instruction handling table

Despite having handling code for AT S1E1A, the instruction was
never plugged into the system instruction table, leading to an
exception being injected in the guest.

If the guest is Linux and using the __kvm_at() helper, the exception
is actually handled in the helper, and KVM continues more or less
silently by reentering the guest. Not exactly what you'd expect.

Fix this by plugging the emulation code where required.

Fixes: ff987ffc0c18c ("KVM: arm64: nv: Add support for FEAT_ATS1A")
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Reviewed-by: Oliver Upton <oupton@kernel.org>
Link: https://patch.msgid.link/20260602155430.2088142-3-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c