[PATCH 00/15] PCI controller probe cleanups

Lorenzo Pieralisi lorenzo.pieralisi at arm.com
Mon Jul 6 05:04:28 EDT 2020


On Fri, May 22, 2020 at 05:48:17PM -0600, Rob Herring wrote:
> 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(-)

Applied to pci/misc for v5.9, thanks !

Lorenzo



More information about the linux-arm-kernel mailing list