Files
linux/include/linux
Israel Rukshin a0ec4fb63f virtio_pci: Add support for PCIe Function Level Reset
Implement support for Function Level Reset (FLR) in virtio_pci devices.
This change adds reset_prepare and reset_done callbacks, allowing
drivers to properly handle FLR operations.

Without this patch, performing and recovering from an FLR is not possible
for virtio_pci devices. This implementation ensures proper FLR handling
and recovery for both physical and virtual functions.

The device reset can be triggered in case of error or manually via
sysfs:
echo 1 > /sys/bus/pci/devices/$PCI_ADDR/reset

Signed-off-by: Israel Rukshin <israelr@nvidia.com>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Message-Id: <1732690652-3065-2-git-send-email-israelr@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2025-01-27 09:39:26 -05:00
..
2024-11-11 10:45:03 +01:00
2024-11-07 14:38:07 -08:00
2024-11-09 14:55:33 +01:00
2024-11-28 14:49:28 +01:00
2024-11-24 17:05:27 -08:00
2024-11-16 10:09:30 -06:00
2024-11-30 22:41:35 -05:00
2024-11-11 00:26:44 -08:00
2024-11-18 11:56:21 +00:00