[PATCH v23 0/5] [PCI] Error recovery for vfio-pci devices on s390x

Farhan Ali <[email protected]> Wed, 5 Aug 2026 09:55:13 -0700
Newsgroups org.kernel.vger.linux-pci,org.kernel.vger.linux-kernel,org.kernel.vger.linux-s390
Message-ID <[email protected]>
Hi Bjorn,

This patch set includes only the PCI 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
discussion with Alex [2].

Thanks
Farhan

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

ChangeLog
---------
v22: https://lore.kernel.org/all/[email protected]/
v22 -> v23:
  - Split placeholder constant into a separate patch (patch 1).
  - Rebase on 7.2-rc6

v21: https://lore.kernel.org/all/[email protected]/
v21 -> v22
  - Ammend commit message for patch 1.
  - Rebase on 7.2-rc4

v20 https://lore.kernel.org/all/[email protected]/
v20 -> v21
  - Amend commit message to include Fixes tag and cc stable (patch 4).
  - Rebase on 7.2-rc1.

v19 https://lore.kernel.org/all/[email protected]/
v19 -> v20
  - Unconditionally enable Memory bit while restoring MSI-X (patch 4).
  Fixes an issue found with sashiko. 

v18 https://lore.kernel.org/all/[email protected]/
v18 -> v19
  - Move config space accessible check to pcie_flr() function (based on
  discussion of Sashiko review)

  - Fix a gap in MSI-X restoration (patch 4).

  - Rebase on 7.1-rc7

v17 -> v18
  - Rebase on 7.1-rc6.

Farhan Ali (5):
  PCI: Introduce PCI_SLOT_PLACEHOLDER constant for slot_nr placeholder
    value
  PCI: Allow per function PCI slots to fix slot reset on s390
  PCI: Avoid saving config space state if inaccessible
  PCI: Fail FLR when config space is inaccessible
  PCI/MSI: Enable memory decoding before restoring MSI-X messages

 drivers/pci/hotplug/pnv_php.c     |  2 +-
 drivers/pci/hotplug/rpaphp_slot.c |  2 +-
 drivers/pci/msi/msi.c             | 10 +++++++
 drivers/pci/pci.c                 | 32 ++++++++++++++++++--
 drivers/pci/slot.c                | 50 +++++++++++++++++++++----------
 include/linux/pci.h               |  8 +++--
 6 files changed, 82 insertions(+), 22 deletions(-)

-- 
2.43.0