Skip to content

PCI reset delay fixes

Lukas Wunner linux-pci 2 versions – Applied

Status from this message: Applied to pci/reset for v6.3, thanks, Lukas!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesApplied
  2. v13 patches 9 repliesSuperseded

Changes in v2 from the cover letter

* [PATCH 1/3] PCI/PM: Observe reset delay irrespective of bridge_d3
* Add Reviewed-by tags (Mika, Sathyanarayanan)

* [PATCH 2/3] PCI: Unify delay handling for reset and resume
* Introduce PCI_RESET_WAIT macro for 1 sec timeout prescribed by

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3PCI/PM: Observe reset delay irrespective of bridge_d3drivers/pci/pci.c+1 -12 replies
2/3PCI: Unify delay handling for reset and resumedrivers/pci/pci-driver.c drivers/pci/pci.c drivers/pci/pci.h+34 -322 replies
3/3PCI/DPC: Await readiness of secondary bus after resetdrivers/pci/pci.c drivers/pci/pci.h drivers/pci/pcie/dpc.c+8 -52 replies

Reviews trailers per patch

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

PatchRavi Kishore KoppuravuriMika WesterbergKuppuswamy Sathyanarayanan
1/3T-b R-b R-b
2/3T-b R-b R-b
3/3T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/3] PCI reset delay fixes

Delay fixes for recovery from Secondary Bus Resets and Downstream Port Containment, v2:

Changes v1 -> v2:

* [PATCH 1/3] PCI/PM: Observe reset delay irrespective of bridge_d3
* Add Reviewed-by tags (Mika, Sathyanarayanan)

* [PATCH 2/3] PCI: Unify delay handling for reset and resume
* Introduce PCI_RESET_WAIT macro for 1 sec timeout prescribed by

    PCIe r6.0 sec 6.6.1 (Bjorn)

* Note in kernel-doc of pci_bridge_wait_for_secondary_bus() that timeout parameter is in milliseconds (Bjorn)
* Add Reviewed-by tags (Mika, Sathyanarayanan)

* [PATCH 3/3] PCI/DPC: Await readiness of secondary bus after reset
* Move PCIE_RESET_READY_POLL_MS macro below the newly introduced PCI_RESET_WAIT from patch [2/3] and extend its code comment
* Mention errors seen on Ponte Vecchio in commit message (Bjorn)
* Avoid first person plural in commit message (Sathyanarayanan)
* Add Reviewed-by tag (Mika)

Link to v1:

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

Lukas Wunner (3):
PCI/PM: Observe reset delay irrespective of bridge_d3
PCI: Unify delay handling for reset and resume PCI/DPC: Await readiness of secondary bus after reset

 drivers/pci/pci-driver.c |  2 +-
 drivers/pci/pci.c        | 59 +++++++++++++++++-----------------------
 drivers/pci/pci.h        | 16 ++++++++++-
 drivers/pci/pcie/dpc.c   |  4 +--
 4 files changed, 43 insertions(+), 38 deletions(-)
Signature · 1 line
2.39.0