[PATCH v2 3/5] KVM: arm64: Add a generic synchronous exception injection primitive

Ben Horgan ben.horgan at arm.com
Wed Nov 26 08:58:27 PST 2025


Hi Marc,

On 11/26/25 15:59, Marc Zyngier wrote:
> 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.
> 
> Signed-off-by: Marc Zyngier <maz at kernel.org>
> ---
>  arch/arm64/include/asm/kvm_emulate.h |  1 +
>  arch/arm64/kvm/inject_fault.c        | 10 +++++++---
>  2 files changed, 8 insertions(+), 3 deletions(-)

LGTM.

Reviewed-by: Ben Horgan <ben.horgan at arm.com>

Thanks,

Ben






More information about the linux-arm-kernel mailing list