linux/tools/testing/selftests/vfio/lib
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
..
drivers vfio: selftests: igb: Add driver for Intel 82576 device 2026-08-10 13:24:40 -06:00
include vfio: selftests: Retry on EAGAIN during device reset 2026-08-10 13:24:40 -06:00
iommu.c vfio: selftests: Add allocation assert helpers 2026-07-17 08:39:35 -06:00
iova_allocator.c vfio: selftests: Add allocation assert helpers 2026-07-17 08:39:35 -06:00
libvfio.c vfio: selftests: Align BAR mmaps for efficient IOMMU mapping 2026-01-19 10:06:30 -07:00
libvfio.mk vfio: selftests: igb: Add driver for Intel 82576 device 2026-08-10 13:24:40 -06:00
sysfs.c vfio: selftests: Add allocation assert helpers 2026-07-17 08:39:35 -06:00
vfio_pci_device.c vfio: selftests: Retry on EAGAIN during device reset 2026-08-10 13:24:40 -06:00
vfio_pci_driver.c vfio: selftests: igb: Add driver for Intel 82576 device 2026-08-10 13:24:40 -06:00