]> 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)
commit16ad3e7369e22aa3c2c01306cc10064fdf4c8268
treea037f7a3f5a9889b6369bffa0fc66225611ee39f
parente32408b0a00fc65004eb0e9f00f654d963a070f5
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