Skip to content

PCI: imx6: Improve PERST# fallback logic

Sherry Sun (OSS) imx linux-arm-kernel linux-pci lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesApplied
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

1. Improved the commit messages as Richard suggested.
2. Collected Reviewed-by tags.
---
Sherry Sun (2):
PCI: host-generic: Simplify return value handling in
pci_host_common_parse_port(s)
PCI: imx6: Add imx_pcie_perst_found() to inspect the parsed result

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2PCI: host-generic: Simplify return value handling in pci_host_common_parse_port(s)drivers/pci/controller/pci-host-common.c+5 -242 replies
2/2PCI: imx6: Add imx_pcie_perst_found() to inspect the parsed resultdrivers/pci/controller/dwc/pci-imx6.c+17 -80 replies

Reviews trailers per patch

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

PatchRichard Zhu
1/2R-b R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH V2 0/2] PCI: imx6: Improve PERST# fallback logic

From: Sherry Sun <[email protected]>

The pci_host_common_parse_port() shouldn't decide whether to fall back to the legacy RC-level binding by checking for "reset-gpios/reset-gpio" properties on the RC node and returning -ENODEV. That's a policy decision belongs to the caller, not this common helper.

This patch set improves the PERST# (PCIe reset) GPIO fallback logic across the generic PCI host bridge helper and the i.MX6 PCIe driver.

---
Changes in V2:
1. Improved the commit messages as Richard suggested.
2. Collected Reviewed-by tags.
---
Sherry Sun (2):
PCI: host-generic: Simplify return value handling in
pci_host_common_parse_port(s)
PCI: imx6: Add imx_pcie_perst_found() to inspect the parsed result

 drivers/pci/controller/dwc/pci-imx6.c    | 25 +++++++++++++-------
 drivers/pci/controller/pci-host-common.c | 29 ++++--------------------
 2 files changed, 22 insertions(+), 32 deletions(-)

base-commit: c1ecb239fa3456529a32255359fc78b69eb9d847

Signature · 1 line
2.37.1