linux/drivers/pci/controller/dwc
Rob Herring 5525493866 PCI: designware: Use pci_is_root_bus() to check if bus is root bus
Use pci_is_root_bus() rather than tracking the root bus number to
determine if the bus is the root bus or not. This removes storing
duplicated data as well as the need for the host bridge driver to have
to care about the bus numbers in most cases.

Link: https://lore.kernel.org/r/20200722022514.1283916-6-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Richard Zhu <hongxing.zhu@nxp.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: Murali Karicheri <m-karicheri2@ti.com>
Cc: Jingoo Han <jingoohan1@gmail.com>
Cc: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
2020-07-23 11:20:50 +01:00
..
Kconfig Merge branch 'remotes/lorenzo/pci/dwc' 2020-06-04 12:59:15 -05:00
Makefile PCI: uniphier: Add Socionext UniPhier Pro5 PCIe endpoint controller driver 2020-06-04 10:03:18 +01:00
pci-dra7xx.c PCI: dwc: pci-dra7xx: Use devm_platform_ioremap_resource_byname() 2020-05-22 15:05:23 +01:00
pci-exynos.c PCI: controller: Convert to devm_platform_ioremap_resource() 2020-07-10 11:50:23 +01:00
pci-imx6.c PCI: designware: Use pci_is_root_bus() to check if bus is root bus 2020-07-23 11:20:50 +01:00
pci-keystone.c PCI: designware: Use pci_is_root_bus() to check if bus is root bus 2020-07-23 11:20:50 +01:00
pci-layerscape-ep.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pci-layerscape.c PCI: layerscape: Add LS1028a support 2019-11-08 10:45:00 +00:00
pci-meson.c PCI: amlogic: meson: Don't use FAST_LINK_MODE to set up link 2020-05-22 15:05:23 +01:00
pcie-al.c PCI: controller: Remove duplicate error message 2020-07-23 11:08:43 +01:00
pcie-armada8k.c PCI: controller: Remove duplicate error message 2020-07-23 11:08:43 +01:00
pcie-artpec6.c PCI: artpec6: Configure FTS with dwc helper function 2020-01-09 11:57:29 +00:00
pcie-designware-ep.c Merge branch 'remotes/lorenzo/pci/rcar' 2020-06-04 12:59:18 -05:00
pcie-designware-host.c PCI: designware: Use pci_is_root_bus() to check if bus is root bus 2020-07-23 11:20:50 +01:00
pcie-designware-plat.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pcie-designware.c PCI: dwc: Program outbound ATU upper limit register 2020-05-22 15:05:23 +01:00
pcie-designware.h PCI: designware: Use pci_is_root_bus() to check if bus is root bus 2020-07-23 11:20:50 +01:00
pcie-hisi.c Merge branch 'remotes/lorenzo/pci/host-generic' 2020-06-04 12:59:16 -05:00
pcie-histb.c PCI: histb: Propagate errors for optional regulators 2019-09-04 15:43:09 +01:00
pcie-intel-gw.c PCI: dwc: intel: Make intel_pcie_cpu_addr() static 2020-05-22 15:05:23 +01:00
pcie-kirin.c PCI: kirin: Make structure kirin_dw_pcie_ops constant 2019-08-21 11:45:14 +01:00
pcie-qcom.c PCI: qcom: Fix the fixup of PCI_VENDOR_ID_QCOM 2020-02-26 10:59:29 +00:00
pcie-spear13xx.c PCI: controller: Remove duplicate error message 2020-07-23 11:08:43 +01:00
pcie-tegra194.c Merge branch 'remotes/lorenzo/pci/tegra' 2020-06-04 12:59:19 -05:00
pcie-uniphier-ep.c PCI: uniphier: Add Socionext UniPhier Pro5 PCIe endpoint controller driver 2020-06-04 10:03:18 +01:00
pcie-uniphier.c PCI: uniphier: remove module code from built-in driver 2020-01-13 16:38:50 +00:00