Skip to content

pci slot reset handling fixes

Keith Busch linux-pci 4 versions – Applied

Status from this message: Applied to pci/reset for v7.1, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 4 repliesApplied
  2. v43 patches 6 repliesSuperseded
  3. v34 patches 13 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v24 patches6 repliesSuperseded

Changes from previous version from the cover letter

* Fix subject line to match convenction (s/pci/PCI)

* Added example kernel panic logs for fatal hardware errors observed without the slot handling fixes

* Rearraged some code in the last patch to avoid the need for a forward declaration.

* Expanded on the comment explaing the difference between the restore values for the bridge reset

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3PCI: rename __pci_bus_reset and __pci_slot_resetdrivers/pci/pci-sysfs.c drivers/pci/pci.c drivers/pci/pci.h+7 -70 replies
2/3PCI: allow all bus devices to use the same slotdrivers/pci/hotplug/pciehp_core.c drivers/pci/slot.c include/linux/pci.h+32 -62 replies
3/3PCI: make reset_subordinate hotplug safedrivers/pci/pci-sysfs.c drivers/pci/pci.c drivers/pci/pci.h+62 -340 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDan Williams
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCHv5 0/3] pci slot reset handling fixes

From: Keith Busch <[email protected]>

Previous version:

https://lore.kernel.org/linux-pci/[email protected]/

Changes from previous version:

* Fix subject line to match convenction (s/pci/PCI)

* Added example kernel panic logs for fatal hardware errors observed without the slot handling fixes

* Rearraged some code in the last patch to avoid the need for a forward declaration.

* Expanded on the comment explaing the difference between the restore values for the bridge reset

Keith Busch (3):
PCI: rename __pci_bus_reset and __pci_slot_reset
PCI: allow all bus devices to use the same slot
PCI: make reset_subordinate hotplug safe

 drivers/pci/hotplug/pciehp_core.c |  3 +-
 drivers/pci/pci-sysfs.c           |  3 +-
 drivers/pci/pci.c                 | 97 ++++++++++++++++++++-----------
 drivers/pci/pci.h                 |  2 +-
 drivers/pci/slot.c                | 27 +++++++--
 include/linux/pci.h               |  8 ++-
 6 files changed, 97 insertions(+), 43 deletions(-)
Signature · 1 line
2.47.3