]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: selftests: aarch64: Add preemption tests in vgic_irq
authorRicardo Koller <ricarkol@google.com>
Tue, 9 Nov 2021 02:38:59 +0000 (18:38 -0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 28 Dec 2021 19:24:22 +0000 (19:24 +0000)
commit1be11173fbd3ced9fa2286e285605785c72ba852
treea037f7a3f5a9889b6369bffa0fc66225611ee39f
parent890bc0763ec7dd7626aebdbdb07f56da65882178
KVM: selftests: aarch64: Add preemption tests in vgic_irq

Add tests for IRQ preemption (having more than one activated IRQ at the
same time).  This test injects multiple concurrent IRQs and handles them
without handling the actual exceptions.  This is done by masking
interrupts for the whole test.

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-11-ricarkol@google.com
tools/testing/selftests/kvm/aarch64/vgic_irq.c