KVM: selftests: aarch64: Add ISPENDR write tests in vgic_irq
authorRicardo Koller <ricarkol@google.com>
Tue, 9 Nov 2021 02:39:05 +0000 (18:39 -0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 28 Dec 2021 19:25:00 +0000 (19:25 +0000)
commitbebd8f3f869361e0249efe423ba76a0d991ce3e6
tree486ff2cc9b869e0ecd14db23bebced6852f27d35
parent6a5a47188caca7be4bbe28cdb31d5df09868ed5c
KVM: selftests: aarch64: Add ISPENDR write tests in vgic_irq

Add injection tests that use writing into the ISPENDR register (to mark
IRQs as pending). This is typically used by migration code.

Signed-off-by: Ricardo Koller <ricarkol@google.com>
Acked-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211109023906.1091208-17-ricarkol@google.com
tools/testing/selftests/kvm/aarch64/vgic_irq.c