PCI: dwc: Do not enumerate bus before endpoint devices are ready
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest7 patches 12 repliesApplied
- v36 patches 8 repliesSuperseded
- v25 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 15 replies | Superseded |
Changes in v4 from the cover letter
-Move LINK_WAIT_MAX_RETRIES and LINK_WAIT_SLEEP_MS to pci.h (Mani) -Only wait PCIE_RESET_CONFIG_WAIT_MS if > 5 GT/s (Mani) -Fix nit in commit log (Mani)
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | PCI: Rename PCIE_RESET_CONFIG_DEVICE_WAIT_MS to PCIE_RESET_CONFIG_WAIT_MSdrivers/ drivers/ | +2 | 0 replies | |
| 2/7 | PCI: rockchip-host: Use macro PCIE_RESET_CONFIG_WAIT_MSdrivers/ drivers/ | +1 | 0 replies | |
| 3/7 | PCI: dw-rockchip: Wait PCIE_RESET_CONFIG_WAIT_MS after link-up IRQdrivers/ | +1 | 0 replies | |
| 4/7 | PCI: qcom: Wait PCIE_RESET_CONFIG_WAIT_MS after link-up IRQdrivers/ | +1 | 0 replies | |
| 5/7 | PCI: dwc: Ensure that dw_pcie_wait_for_link() waits 100 ms after link updrivers/ | +8 | 11 replies | |
| 6/7 | PCI: Move link up wait time and max retries macros to pci.hdrivers/ drivers/ drivers/ | +7 | 0 replies | |
| 7/7 | PCI: Reduce PCIE_LINK_WAIT_SLEEP_MSdrivers/ drivers/ | +13 | 0 replies |
Reviews trailers per patch
5 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Wilfred Mallawa | Damien Le Moal |
|---|---|---|
| 1/7 | ||
| 2/7 | R-b | |
| 3/7 | R-b | R-b |
| 4/7 | R-b | R-b |
| 5/7 | R-b | R-b |
| 6/7 | ||
| 7/7 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/7] PCI: dwc: Do not enumerate bus before endpoint devices are ready
Hello all,
The DWC PCIe controller driver currently does not follow the PCIe specification with regards to the delays after link training, before sending out configuration requests. This series fixes this.
At the same time, PATCH 3/7 addresses a regression where a Plextor NVMe drive fails to be configured correctly. With this series, the Plextor NVMe drive works once again.
Kind regards,
Niklas
Changes since v3:
-Move LINK_WAIT_MAX_RETRIES and LINK_WAIT_SLEEP_MS to pci.h (Mani) -Only wait PCIE_RESET_CONFIG_WAIT_MS if > 5 GT/s (Mani) -Fix nit in commit log (Mani)
Niklas Cassel (7):
PCI: Rename PCIE_RESET_CONFIG_DEVICE_WAIT_MS to
PCIE_RESET_CONFIG_WAIT_MS
PCI: rockchip-host: Use macro PCIE_RESET_CONFIG_WAIT_MS
PCI: dw-rockchip: Wait PCIE_RESET_CONFIG_WAIT_MS after link-up IRQ
PCI: qcom: Wait PCIE_RESET_CONFIG_WAIT_MS after link-up IRQ
PCI: dwc: Ensure that dw_pcie_wait_for_link() waits 100 ms after link
up
PCI: Move link up wait time and max retries macros to pci.h
PCI: Reduce PCIE_LINK_WAIT_SLEEP_MS
drivers/pci/controller/dwc/pcie-designware.c | 20 +++++++++++++++---- drivers/pci/controller/dwc/pcie-designware.h | 4 ---- drivers/pci/controller/dwc/pcie-dw-rockchip.c | 1 + drivers/pci/controller/dwc/pcie-qcom.c | 1 + drivers/pci/controller/pcie-rockchip-host.c | 2 +- drivers/pci/controller/plda/pcie-starfive.c | 2 +- drivers/pci/pci.h | 18 +++++++++-------- 7 files changed, 30 insertions(+), 18 deletions(-)
Signature · 1 line
2.49.0