KVM: arm64: selftests: Actually enable IRQs in vgic_lpi_stress
PATCH 1/1 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.
--- tools/testing/selftests/kvm/arm64/vgic_lpi_stress.c | 1 + 1 file changed, 1 insertion(+)
tools/testing/selftests/kvm/arm64/vgic_lpi_stress.c +1 -0
@@ -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 );
base-commit: 10fd0285305d0b48e8a3bf15d4f17fc4f3d68cb6
Signature · 1 line
2.39.5
Quoted 14 lines · Oliver Upton
vgic_lpi_stressrather 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 <[email protected]>--- tools/testing/selftests/kvm/arm64/vgic_lpi_stress.c | 1 + 1 file changed, 1 insertion(+)tools/testing/selftests/kvm/arm64/vgic_lpi_stress.c +0
-0
tools/testing/selftests/kvm/arm64/vgic_lpi_stress.c static void guest_setup_gic(void) · line 128
Quoted 6 lines
tools/testing/selftests/kvm/arm64/vgic_lpi_stress.c +1
-0@@ -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 );
Thanks,
Zenghui
Quoted 5 lines · Oliver Upton
vgic_lpi_stressrather 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.
Applied to fixes, thanks!
[1/1] KVM: arm64: selftests: Actually enable IRQs in vgic_lpi_stress
commit: d5e6310a0d996493b1af9f3eeec418350523388b
Cheers,
M.
Signature · 1 line
Without deviation from the norm, progress is not possible.