mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
24acae9894
commit
e281aa76bc
1
tools/testing/selftests/vfio/.gitignore
vendored
1
tools/testing/selftests/vfio/.gitignore
vendored
|
|
@ -8,3 +8,4 @@
|
|||
!*.mk
|
||||
!.gitignore
|
||||
!Makefile
|
||||
!settings
|
||||
|
|
|
|||
5
tools/testing/selftests/vfio/settings
Normal file
5
tools/testing/selftests/vfio/settings
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user