Skip to content

pci error handling fixes

Keith Busch linux-pci 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest12 patches 15 repliesIn review
  2. v310 patches 13 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12PCI: portdrv: Initialize service drivers directlydrivers/pci/hotplug/pciehp_core.c drivers/pci/pcie/aer.c drivers/pci/pcie/dpc.c +3 more+37 -80 replies
2/12PCI: portdrv: Restore pci state on slot resetdrivers/pci/pcie/portdrv_pci.c+8 -00 replies
3/12PCI: DPC: Save and restore control statedrivers/pci/pci.c drivers/pci/pci.h drivers/pci/pcie/dpc.c+65 -63 replies
4/12PCI: AER: Take reference on error devicesdrivers/pci/pcie/aer.c+2 -10 replies
5/12PCI: AER: Don't read upstream ports below fatal errorsdrivers/pci/pcie/aer.c+3 -20 replies
6/12PCI: ERR: Use slot reset if availabledrivers/pci/pci.c drivers/pci/pci.h drivers/pci/pcie/aer.c +2 more+38 -30 replies
7/12PCI: ERR: Handle fatal error recoveryDocumentation/PCI/pci-error-recovery.txt drivers/pci/pci.h drivers/pci/pcie/aer.c +2 more+28 -1020 replies
8/12PCI: ERR: Always use the first downstream portdrivers/pci/pcie/err.c+21 -6410 replies
9/12PCI: ERR: Simplify broadcast calloutsdrivers/pci/pcie/err.c+38 -690 replies
10/12PCI: ERR: Report current recovery status for udevdrivers/pci/pcie/err.c+2 -30 replies
11/12PCI: Unify device inaccessibledrivers/pci/pci.h drivers/pci/pcie/err.c+59 -110 replies
12/12PCI: Make link active reporting detection genericdrivers/pci/hotplug/pciehp.h drivers/pci/hotplug/pciehp_hpc.c drivers/pci/pci.c +3 more+34 -330 replies

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSinan Kaya
SeriesR-b
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12R-b
9/12
10/12
11/12
12/12

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

Read the v4 thread

Cover letter [PATCHv4 00/12] pci error handling fixes

Changes since v3 are:

Initialize port services directly from port driver (suggested by Bjorn)

Updated changelogs to match local style

Added documentation update for ERR_FATAL behavior

Included DPC save/restore state fix that was missing from previous

Included AER upstream port fix that was mistakenly added to a different patch set

Keith Busch (12):
PCI: portdrv: Initialize service drivers directly
PCI: portdrv: Restore pci state on slot reset
PCI: DPC: Save and restore control state
PCI: AER: Take reference on error devices
PCI: AER: Don't read upstream ports below fatal errors
PCI: ERR: Use slot reset if available
PCI: ERR: Handle fatal error recovery
PCI: ERR: Always use the first downstream port
PCI: ERR: Simplify broadcast callouts
PCI: ERR: Report current recovery status for udev
PCI: Unify device inaccessible
PCI: Make link active reporting detection generic

 Documentation/PCI/pci-error-recovery.txt |  35 ++--
 drivers/pci/hotplug/pciehp.h             |   6 -
 drivers/pci/hotplug/pciehp_core.c        |   3 +-
 drivers/pci/hotplug/pciehp_hpc.c         |  22 +--
 drivers/pci/pci.c                        |  68 +++++++-
 drivers/pci/pci.h                        |  74 ++++++++-
 drivers/pci/pcie/aer.c                   |  25 +--
 drivers/pci/pcie/dpc.c                   |  72 ++++++--
 drivers/pci/pcie/err.c                   | 276 ++++++++-----------------------
 drivers/pci/pcie/pme.c                   |   3 +-
 drivers/pci/pcie/portdrv.h               |  24 +++
 drivers/pci/pcie/portdrv_pci.c           |  17 ++
 drivers/pci/probe.c                      |   1 +
 drivers/pci/slot.c                       |   2 +-
 include/linux/pci.h                      |   1 +
 15 files changed, 331 insertions(+), 298 deletions(-)
Signature · 1 line
2.14.4