linux/tools/testing/selftests/vfio
Josh Hilke 28ca5f67e1 vfio: selftests: Retry on EAGAIN during device reset
Add retry logic to vfio_pci_device_reset() to handle the case where PCI
resets fail due to lock contention, in which case
pci_try_reset_function() returns -EAGAIN.

Suggested-by: David Matlack <dmatlack@google.com>
Signed-off-by: Josh Hilke <jrhilke@google.com>
Acked-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20260805-igb_v3_b4-v10-3-9c86dc849c0d@google.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
2026-08-10 13:24:40 -06:00
..
lib vfio: selftests: Retry on EAGAIN during device reset 2026-08-10 13:24:40 -06:00
scripts vfio: selftests: Split run.sh into separate scripts 2025-11-28 10:58:06 -07:00
.gitignore vfio: selftests: Fix .gitignore for already tracked files 2025-08-28 13:40:51 -06:00
Makefile vfio: selftests: Add luuid to libvfio.mk's list of libraries, not to the Makefile 2026-06-30 15:50:55 -06:00
vfio_dma_mapping_mmio_test.c vfio: selftests: fix crash in vfio_dma_mapping_mmio_test 2026-03-10 11:56:01 -06:00
vfio_dma_mapping_test.c vfio: selftests: Introduce snprintf_assert() 2026-05-20 11:54:10 -06:00
vfio_iommufd_setup_test.c vfio: selftests: Drop <uapi/linux/types.h> includes 2025-12-23 14:17:13 -07:00
vfio_pci_device_init_perf_test.c vfio: selftests: Add allocation assert helpers 2026-07-17 08:39:35 -06:00
vfio_pci_device_test.c vfio: selftests: Introduce snprintf_assert() 2026-05-20 11:54:10 -06:00
vfio_pci_driver_test.c vfio: selftests: Allow drivers without send_msi() support 2026-07-17 08:39:34 -06:00
vfio_pci_sriov_uapi_test.c vfio: selftests: Add tests to validate SR-IOV UAPI 2026-05-20 11:54:10 -06:00