vfio: selftests: Extend timeout for runner executions

When executed via the runner, ie. run_kselftest.sh, tests are subject
to a default 45s timeout.  None of the igb, ioatdma, or nv_falcon
drivers can run the vfio_pci_driver_test within this window.

The igb driver is the worst due to the device getting wedged from bad
DMAs in mix_and_match and requiring the full transaction pending
delay prior to FLR.

This is even further exacerbated when the system implements
firmware-first error handling and the transaction pending scheduled
delays are preempted beyond expectations by SMIs.

Worst case observed runtime for the whole vfio_pci_driver_test on
such a setup is 450s.  Round up to 600s.

Assisted-by: LLM
Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Alex Williamson <alex.williamson@nvidia.com>
Link: https://lore.kernel.org/r/20260911170429.1642480-5-alex.williamson@nvidia.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
This commit is contained in:
Alex Williamson 2026-09-11 11:04:27 -06:00 committed by Alex Williamson
parent 24acae9894
commit e281aa76bc
2 changed files with 6 additions and 0 deletions

View File

@ -8,3 +8,4 @@
!*.mk
!.gitignore
!Makefile
!settings

View File

@ -0,0 +1,5 @@
# Extend kselftest default 45s timeout based on worst case test runtime,
# currently vfio:vfio_pci_driver_test running on physical NIC, battling
# SMIs due to invoked firmware-first error handling from bad DMAs and
# device wedging. Observed worst case ~450s, extend to 600s.
timeout=600