]> Gentwo Git Trees - linux/.git/commit
KVM: arm64: selftests: vgic_irq: Add asymmetric SPI deaectivation test
authorMarc Zyngier <maz@kernel.org>
Thu, 20 Nov 2025 17:25:37 +0000 (17:25 +0000)
committerOliver Upton <oupton@kernel.org>
Mon, 24 Nov 2025 22:29:15 +0000 (14:29 -0800)
commitd2dee2e849834564293ec9c33165df56dd441399
treea51d42e2bcd7839f6b16ab23b2ffb92be17589b0
parentb6c68612ab4171e07a7c2ba8864b967207fc3add
KVM: arm64: selftests: vgic_irq: Add asymmetric SPI deaectivation test

Add a new test case that makes an interrupt pending on a vcpu,
activates it, do the priority drop, and then get *another* vcpu
to do the deactivation.

Special care is taken not to trigger an exit in the process, so
that we are sure that the active interrupt is in an LR. Joy.

Tested-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Link: https://msgid.link/20251120172540.2267180-48-maz@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
tools/testing/selftests/kvm/arm64/vgic_irq.c