]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Add a generic synchronous exception injection primitive
authorMarc Zyngier <maz@kernel.org>
Thu, 8 Jan 2026 17:32:27 +0000 (17:32 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 15 Jan 2026 11:58:56 +0000 (11:58 +0000)
commit19f75678238734ef383f9e10d8e1020873e97170
tree07bdcabe122f6ffb0da9c4a174629bfd5e6b30e9
parent1ad9767accfcb81f404aa3d37d46b3eb494dce2f
KVM: arm64: Add a generic synchronous exception injection primitive

Maybe in a surprising way, we don't currently have a generic way
to inject a synchronous exception at the EL the vcpu is currently
running at.

Extract such primitive from the UNDEF injection code.

Reviewed-by: Ben Horgan <ben.horgan@arm.com>
Reviewed-by: Yuan Yao <yaoyuan@linux.alibaba.com>
Link: https://patch.msgid.link/20260108173233.2911955-4-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/kvm/inject_fault.c