1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/pci/controller/dwc
Jisheng Zhang fe23274f72 PCI: dwc: Save root bus for driver remove hooks
Currently DWC host does not support the remove callback, but nothing
prevents us from supporting it.

Save the root bus for clean up work in driver remove code paths to allow
DWC host drivers to implement their remove hook as, eg:

  static int foo_pcie_remove(struct platform_device *pdev)
  {
    ...
    pci_stop_root_bus(pp->root_bus);
    pci_remove_root_bus(pp->root_bus);
    dw_pcie_free_msi(pp);
    ...
  }

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
2019-05-07 08:59:49 -05:00
..
Kconfig PCI: imx6: Add support for i.MX8MQ 2019-02-04 12:04:53 +00:00
Makefile PCI: layerscape: Add EP mode support 2019-02-21 10:40:55 +00:00
pci-dra7xx.c Merge branch 'remotes/lorenzo/pci/endpoint' 2019-03-06 15:30:21 -06:00
pci-exynos.c PCI: exynos: Drop unnecessary root_bus_nr setting 2018-07-13 14:07:47 +01:00
pci-imx6.c pci-v5.1-changes 2019-03-09 14:57:08 -08:00
pci-keystone.c PCI: keystone: Cleanup macros defined in pci-keystone.c 2018-10-17 09:59:02 +01:00
pci-layerscape-ep.c PCI: layerscape: Add EP mode support 2019-02-21 10:40:55 +00:00
pci-layerscape.c pci-v4.21-changes 2019-01-05 17:57:34 -08:00
pci-meson.c PCI: amlogic: Fix build failure due to missing gpio header 2019-01-08 09:01:44 -06:00
pcie-armada8k.c Revert "PCI: armada8k: Add support for gpio controlled reset signal" 2019-01-31 15:07:29 -06:00
pcie-artpec6.c PCI: Update xxx_pcie_ep_raise_irq() and pci_epc_raise_irq() signatures 2018-07-19 11:34:42 +01:00
pcie-designware-ep.c Merge branch 'remotes/lorenzo/pci/endpoint' 2019-03-06 15:30:21 -06:00
pcie-designware-host.c PCI: dwc: Save root bus for driver remove hooks 2019-05-07 08:59:49 -05:00
pcie-designware-plat.c Merge branch 'remotes/lorenzo/pci/endpoint' 2019-03-06 15:30:21 -06:00
pcie-designware.c PCI: dwc: Make use of BIT() in constant definitions 2019-03-01 10:55:32 +00:00
pcie-designware.h PCI: dwc: Save root bus for driver remove hooks 2019-05-07 08:59:49 -05:00
pcie-hisi.c PCI: Collect all native drivers under drivers/pci/controller/ 2018-06-08 07:50:11 -05:00
pcie-histb.c PCI: histb: Constify dw_pcie_host_ops structure 2018-11-08 13:54:44 +00:00
pcie-kirin.c PCI: kirin: Fix section mismatch warning 2018-10-01 17:16:23 +01:00
pcie-qcom.c PCI: qcom: Use default config space read function 2019-05-07 08:50:36 -05:00
pcie-spear13xx.c PCI: spear13xx: Drop unnecessary root_bus_nr setting 2018-07-13 14:10:55 +01:00
pcie-uniphier.c PCI: uniphier: Add UniPhier PCIe host controller support 2018-12-19 10:25:44 +00:00