Skip to content

Commit d5e6310

Browse files
ouptonMarc Zyngier
authored andcommitted
KVM: arm64: selftests: Actually enable IRQs in vgic_lpi_stress
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>
1 parent 2192d34 commit d5e6310

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/testing/selftests/kvm/arm64/vgic_lpi_stress.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ static void guest_setup_gic(void)
123123
static void guest_code(size_t nr_lpis)
124124
{
125125
guest_setup_gic();
126+
local_irq_enable();
126127

127128
GUEST_SYNC(0);
128129

0 commit comments

Comments
 (0)