]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
KVM: arm64: selftests: Actually enable IRQs in vgic_lpi_stress
authorOliver Upton <oliver.upton@linux.dev>
Tue, 7 Oct 2025 19:52:55 +0000 (12:52 -0700)
committerMarc Zyngier <maz@kernel.org>
Mon, 13 Oct 2025 13:28:27 +0000 (14:28 +0100)
vgic_lpi_stress rather hilariously leaves IRQs disabled for the duration
of the test. While the ITS translation of MSIs happens regardless of
this, for completeness the guest should actually handle the LPIs.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/arm64/vgic_lpi_stress.c

index b134a304f0a6c85464814458e1100378c13efbb3..687d04463983becddb22a10a62436e1c96b7246b 100644 (file)
@@ -123,6 +123,7 @@ static void guest_setup_gic(void)
 static void guest_code(size_t nr_lpis)
 {
        guest_setup_gic();
+       local_irq_enable();
 
        GUEST_SYNC(0);