Skip to content

PCI controller probe cleanups

Rob Herring linux-arm-kernel linux-pci linux-renesas-soc linux-rockchip linux-tegra 1 version Applied

Status from this message: Applied to pci/misc for v5.9, thanks !

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/15PCI: cadence: Use struct pci_host_bridge.windows list directlydrivers/pci/controller/cadence/pcie-cadence-host.c+7 -190 replies
2/15PCI: mvebu: Use struct pci_host_bridge.windows list directlydrivers/pci/controller/pci-mvebu.c+5 -80 replies
3/15PCI: host-common: Use struct pci_host_bridge.windows list directlydrivers/pci/controller/pci-host-common.c+11 -250 replies
4/15PCI: brcmstb: Use pci_host_probe() to register hostdrivers/pci/controller/pcie-brcmstb.c+4 -161 reply
5/15PCI: mobiveil: Use pci_host_probe() to register hostdrivers/pci/controller/mobiveil/pcie-mobiveil-host.c+1 -150 replies
6/15PCI: tegra: Use pci_host_probe() to register hostdrivers/pci/controller/pci-tegra.c+1 -100 replies
7/15PCI: v3: Use pci_host_probe() to register hostdrivers/pci/controller/pci-v3-semi.c+1 -121 reply
8/15PCI: versatile: Use pci_host_probe() to register hostdrivers/pci/controller/pci-versatile.c+1 -130 replies
9/15PCI: xgene: Use pci_host_probe() to register hostdrivers/pci/controller/pci-xgene.c+1 -120 replies
10/15PCI: altera: Use pci_host_probe() to register hostdrivers/pci/controller/pcie-altera.c+1 -161 reply
11/15PCI: iproc: Use pci_host_probe() to register hostdrivers/pci/controller/pcie-iproc.c drivers/pci/controller/pcie-iproc.h+5 -151 reply
12/15PCI: rcar: Use pci_host_probe() to register hostdrivers/pci/controller/pcie-rcar-host.c+1 -171 reply
13/15PCI: rockchip: Use pci_host_probe() to register hostdrivers/pci/controller/pcie-rockchip-host.c drivers/pci/controller/pcie-rockchip.h+4 -150 replies
14/15PCI: xilinx-nwl: Use pci_host_probe() to register hostdrivers/pci/controller/pcie-xilinx-nwl.c+1 -131 reply
15/15PCI: xilinx: Use pci_host_probe() to register hostdrivers/pci/controller/pcie-xilinx.c+1 -121 reply

Reviews trailers per patch

5 of 15 patches have a Reviewed-by or Acked-by.

PatchGeert UytterhoevenLinus WalleijScott BrandenLey Foon TanNicolas Saenz Julienne
1/15
2/15
3/15
4/15T-b A-b
5/15
6/15
7/15R-b
8/15
9/15
10/15R-b
11/15A-b
12/15R-b
13/15
14/15
15/15

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

Read the v1 thread

Cover letter [PATCH 00/15] PCI controller probe cleanups

I started this on my last series of dma-ranges rework and am just getting back to finishing it. This series simplifies the resource list handling in a couple of drivers and converts almost all the remaining drivers to use pci_host_probe().

The one holdout is Designware. This is due to the .scan_bus() hook which is only used by TI Keystone. I think it could be a fixup instead matching on the root bus id. I'm not sure though. See ks_pcie_v3_65_scan_bus().

Rob

Rob Herring (15):
PCI: cadence: Use struct pci_host_bridge.windows list directly
PCI: mvebu: Use struct pci_host_bridge.windows list directly
PCI: host-common: Use struct pci_host_bridge.windows list directly
PCI: brcmstb: Use pci_host_probe() to register host
PCI: mobiveil: Use pci_host_probe() to register host
PCI: tegra: Use pci_host_probe() to register host
PCI: v3: Use pci_host_probe() to register host
PCI: versatile: Use pci_host_probe() to register host
PCI: xgene: Use pci_host_probe() to register host
PCI: altera: Use pci_host_probe() to register host
PCI: iproc: Use pci_host_probe() to register host
PCI: rcar: Use pci_host_probe() to register host
PCI: rockchip: Use pci_host_probe() to register host
PCI: xilinx-nwl: Use pci_host_probe() to register host
PCI: xilinx: Use pci_host_probe() to register host

 .../controller/cadence/pcie-cadence-host.c    | 26 ++++----------
 .../controller/mobiveil/pcie-mobiveil-host.c  | 16 +--------
 drivers/pci/controller/pci-host-common.c      | 36 ++++++-------------
 drivers/pci/controller/pci-mvebu.c            | 13 +++----
 drivers/pci/controller/pci-tegra.c            | 11 +-----
 drivers/pci/controller/pci-v3-semi.c          | 13 +------
 drivers/pci/controller/pci-versatile.c        | 14 +-------
 drivers/pci/controller/pci-xgene.c            | 13 +------
 drivers/pci/controller/pcie-altera.c          | 17 +--------
 drivers/pci/controller/pcie-brcmstb.c         | 20 +++--------
 drivers/pci/controller/pcie-iproc.c           | 18 +++-------
 drivers/pci/controller/pcie-iproc.h           |  2 --
 drivers/pci/controller/pcie-rcar-host.c       | 18 +---------
 drivers/pci/controller/pcie-rockchip-host.c   | 18 +++-------
 drivers/pci/controller/pcie-rockchip.h        |  1 -
 drivers/pci/controller/pcie-xilinx-nwl.c      | 14 +-------
 drivers/pci/controller/pcie-xilinx.c          | 13 +------
 17 files changed, 45 insertions(+), 218 deletions(-)
Signature · 1 line
2.25.1