[SRU][N][PATCH 00/10] [UBUNTU 24.04] s390/pci: Fix immediate re-add of PCI function after remove (LP: #2114174)

Massimiliano Pellizzer massimiliano.pellizzer at canonical.com
Thu Jun 12 17:42:59 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2114174

Gerd Bayer (3):
  s390/pci: rename lock member in struct zpci_dev
  s390/pci: introduce lock to synchronize state of zpci_dev's
  s390/pci: remove hotplug slot when releasing the device

Niklas Schnelle (7):
  s390/pci: Fix potential double remove of hotplug slot
  s390/pci: Fix missing check for zpci_create_device() error return
  s390/pci: Fix duplicate pci_dev_put() in disable_slot() when PF has
    child VFs
  s390/pci: Remove redundant bus removal and disable from
    zpci_release_device()
  s390/pci: Prevent self deletion in disable_slot()
  s390/pci: Allow re-add of a reserved but not yet removed device
  s390/pci: Serialize device addition and removal

 arch/s390/include/asm/pci.h        |  3 +-
 arch/s390/pci/pci.c                | 89 ++++++++++++++++--------------
 arch/s390/pci/pci_bus.h            |  7 +--
 arch/s390/pci/pci_clp.c            |  2 +
 arch/s390/pci/pci_debug.c          | 10 ++--
 arch/s390/pci/pci_event.c          | 33 ++++++++++-
 arch/s390/pci/pci_sysfs.c          | 70 ++++++++++++++---------
 drivers/pci/hotplug/s390_pci_hpc.c | 66 ++++++++++++++--------
 8 files changed, 175 insertions(+), 105 deletions(-)

-- 
2.48.1




More information about the kernel-team mailing list