virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add Error Recovery support for Virtio PCI devices
@ 2024-11-27  6:57 Israel Rukshin
  2024-11-27  6:57 ` [PATCH 1/2] virtio_pci: Add support for PCIe Function Level Reset Israel Rukshin
  2024-11-27  6:57 ` [PATCH 2/2] virtio_blk: Add support for transport error recovery Israel Rukshin
  0 siblings, 2 replies; 6+ messages in thread
From: Israel Rukshin @ 2024-11-27  6:57 UTC (permalink / raw)
  To: Max Gurtovoy, Jason Gunthorpe, Parav Pandit, stefanha,
	virtualization, mst, Linux-block
  Cc: Nitzan Carmi, kvm, Israel Rukshin

This patch series introduces an initial PCI Error Recovery support for
Virtio PCI devices, focusing on Function Level Reset (FLR) recovery.
The implementation aligns with the existing PCI error recovery
framework,
which provides a mechanism for coordinating between affected device
drivers and PCI controllers during reset and recovery phases.

By integrating Virtio PCI devices into this framework, we enhance the
system's ability to handle and recover from PCI errors, particularly
those requiring FLR (this patch set). This capability was previously
unavailable for Virtio PCI devices post-probe, and its addition
significantly improves system reliability and resiliency.

The series consists of two main patches:

1. Virtio PCI: implement the necessary infrastructure and callbacks
   in the virtio_pci driver to handle FLR events properly.

2. Virtio Block: Implement proper cleanup and recovery procedures upon
   FLR events.

Changes from v1 to v2:
 - Don't print warning with -EOPNOTSUPP error.

Israel Rukshin (2):
  virtio_pci: Add support for PCIe Function Level Reset
  virtio_blk: Add support for transport error recovery

 drivers/block/virtio_blk.c         | 28 ++++++++-
 drivers/virtio/virtio.c            | 94 ++++++++++++++++++++++--------
 drivers/virtio/virtio_pci_common.c | 41 +++++++++++++
 include/linux/virtio.h             |  8 +++
 4 files changed, 143 insertions(+), 28 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/2] Add Error Recovery support for Virtio PCI devices
@ 2024-11-07 15:16 Israel Rukshin
  2024-11-07 15:17 ` [PATCH 2/2] virtio_blk: Add support for transport error recovery Israel Rukshin
  0 siblings, 1 reply; 6+ messages in thread
From: Israel Rukshin @ 2024-11-07 15:16 UTC (permalink / raw)
  To: Max Gurtovoy, Jason Gunthorpe, Parav Pandit, stefanha,
	virtualization, mst, Linux-block
  Cc: Nitzan Carmi, kvm, Israel Rukshin

This patch series introduces an initial PCI Error Recovery support for
Virtio PCI devices, focusing on Function Level Reset (FLR) recovery.
The implementation aligns with the existing PCI error recovery
framework,
which provides a mechanism for coordinating between affected device
drivers and PCI controllers during reset and recovery phases.

By integrating Virtio PCI devices into this framework, we enhance the
system's ability to handle and recover from PCI errors, particularly
those requiring FLR (this patch set). This capability was previously
unavailable for Virtio PCI devices post-probe, and its addition
significantly improves system reliability and resiliency.

The series consists of two main patches:

1. Virtio PCI: implement the necessary infrastructure and callbacks
   in the virtio_pci driver to handle FLR events properly.

2. Virtio Block: Implement proper cleanup and recovery procedures upon
   FLR events.

Israel Rukshin (2):
  virtio_pci: Add support for PCIe Function Level Reset
  virtio_blk: Add support for transport error recovery

 drivers/block/virtio_blk.c         | 28 ++++++++-
 drivers/virtio/virtio.c            | 94 ++++++++++++++++++++++--------
 drivers/virtio/virtio_pci_common.c | 39 +++++++++++++
 include/linux/virtio.h             |  8 +++
 4 files changed, 141 insertions(+), 28 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-01-30 15:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-27  6:57 [PATCH v2 0/2] Add Error Recovery support for Virtio PCI devices Israel Rukshin
2024-11-27  6:57 ` [PATCH 1/2] virtio_pci: Add support for PCIe Function Level Reset Israel Rukshin
2024-11-27  6:57 ` [PATCH 2/2] virtio_blk: Add support for transport error recovery Israel Rukshin
2025-01-30 15:48   ` Stefan Hajnoczi
2025-01-30 15:57     ` Michael S. Tsirkin
  -- strict thread matches above, loose matches on Subject: below --
2024-11-07 15:16 [PATCH 0/2] Add Error Recovery support for Virtio PCI devices Israel Rukshin
2024-11-07 15:17 ` [PATCH 2/2] virtio_blk: Add support for transport error recovery Israel Rukshin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).