[PATCH 0/4] PCI: dwc: Link Up IRQ fixes

Niklas Cassel
2025-05-05T09:28:37Z

Hello there,

Commit 8d3bf19f1b58 ("PCI: dwc: Don't wait for link up if driver can detect
Link Up event") added support for DWC to not wait for link up before
enumerating the bus. However, we cannot simply enumerate the bus after
receiving a Link Up IRQ, we still need to wait PCIE_T_RRS_READY_MS time
to allow a device to become ready after deasserting PERST. To avoid
bringing back an conditional delay during probe, perform the wait in the
threaded IRQ handler instead.

Please review.

Kind regards,
Niklas

Niklas Cassel (4):
PCI: dw-rockchip: Do not enumerate bus before endpoint devices are
ready
PCI: qcom: Do not enumerate bus before endpoint devices are ready
PCI: dw-rockchip: Replace PERST sleep time with proper macro
PCI: qcom: Replace PERST sleep time with proper macro

drivers/pci/controller/dwc/pcie-dw-rockchip.c | 3 ++-
drivers/pci/controller/dwc/pcie-qcom.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)

--
2.49.0