|
|
Log in / Subscribe / Register

[VFIO] Error recovery for vfio-pci devices on s390x

From:  Farhan Ali <alifm-AT-linux.ibm.com>
To:  linux-s390-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-pci-AT-vger.kernel.org, alex-AT-shazbot.org
Subject:  [PATCH v18 0/4] [VFIO] Error recovery for vfio-pci devices on s390x
Date:  Wed, 03 Jun 2026 11:24:11 -0700
Message-ID:  <20260603182415.2324-1-alifm@linux.ibm.com>
Cc:  helgaas-AT-kernel.org, alifm-AT-linux.ibm.com, schnelle-AT-linux.ibm.com, mjrosato-AT-linux.ibm.com
Archive-link:  Article

Hi Alex,

This patch set includes only the VFIO patches of the original series for
error recovery for vfio-pci devices on s390x [1]. Breaking up the patch
series into PCI and VFIO only patches to make merging easier based on our
discussion [2].

Thanks
Farhan

[1] https://lore.kernel.org/all/20260520171113.1111-1-alifm@l...
[2] https://lore.kernel.org/all/20260602163344.1eda12d2@shazb...

ChangeLog
---------
v17 -> v18
 - Print a warn with dev_warn_ratelimited() for copy_to_user failure.
 - Rebase on 7.1-rc6.
 - Break patch series into VFIO patch set.

Farhan Ali (4):
  s390/pci: Store PCI error information for passthrough devices
  vfio-pci/zdev: Add a device feature for error information
  vfio/pci: Add a reset_done callback for vfio-pci driver
  vfio/pci: Remove the pcie check for VFIO_PCI_ERR_IRQ_INDEX

 arch/s390/include/asm/pci.h       |  32 +++++++
 arch/s390/pci/pci.c               |   1 +
 arch/s390/pci/pci_event.c         | 135 +++++++++++++++++++-----------
 drivers/vfio/pci/vfio_pci_core.c  |  22 +++--
 drivers/vfio/pci/vfio_pci_intrs.c |   3 +-
 drivers/vfio/pci/vfio_pci_priv.h  |   9 ++
 drivers/vfio/pci/vfio_pci_zdev.c  |  61 +++++++++++++-
 include/uapi/linux/vfio.h         |  30 +++++++
 8 files changed, 231 insertions(+), 62 deletions(-)

-- 
2.43.0




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds