2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/pci/controller/dwc
Manivannan Sadhasivam b7dec6b850
PCI: dwc: ep: Remove deinit() callback from struct dw_pcie_ep_ops
deinit() callback was solely introduced for the pcie-rcar-gen4 driver where
it is used to do platform specific resource deallocation. And this callback
is called right at the end of the dw_pcie_ep_exit() API. So it doesn't
matter whether it is called within or outside of dw_pcie_ep_exit() API.

So let's remove this callback and directly call rcar_gen4_pcie_ep_deinit()
in pcie-rcar-gen4 driver to do resource deallocation after the completion
of dw_pcie_ep_exit() API in rcar_gen4_remove_dw_pcie_ep().

This simplifies the DWC layer.

Link: https://lore.kernel.org/linux-pci/20240327-pci-dbi-rework-v12-3-082625472414@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
2024-04-10 17:48:41 +00:00
..
Kconfig PCI: dwc: Convert SOC_SIFIVE to ARCH_SIFIVE 2023-12-16 00:22:37 +00:00
Makefile PCI: rcar-gen4: Add R-Car Gen4 PCIe controller support for host mode 2023-10-23 12:40:10 +00:00
pci-dra7xx.c Merge branch 'pci/irq-clean-up' 2024-01-15 12:10:40 -06:00
pci-exynos.c Merge branch 'pci/controller/remove-void-return' 2024-01-15 12:10:40 -06:00
pci-imx6.c PCI: imx6: Add iMX95 Endpoint (EP) support 2024-03-04 09:54:44 +01:00
pci-keystone.c PCI: endpoint: Drop only_64bit on reserved BARs 2024-02-16 20:31:10 +05:30
pci-layerscape-ep.c PCI: endpoint: Clean up hardware description for BARs 2024-02-16 20:30:46 +05:30
pci-layerscape.c Merge branch 'pci/controller/layerscape' 2024-01-15 12:10:38 -06:00
pci-meson.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-al.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-armada8k.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-artpec6.c Merge branch 'pci/irq-clean-up' 2024-01-15 12:10:40 -06:00
pcie-bt1.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-designware-ep.c PCI: dwc: ep: Remove deinit() callback from struct dw_pcie_ep_ops 2024-04-10 17:48:41 +00:00
pcie-designware-host.c PCI: dwc: Strengthen the MSI address allocation logic 2024-03-10 18:08:04 +00:00
pcie-designware-plat.c Merge branch 'pci/irq-clean-up' 2024-01-15 12:10:40 -06:00
pcie-designware.c PCI: dwc: Expose dw_pcie_write_dbi2() to module 2023-10-23 12:39:17 +00:00
pcie-designware.h PCI: dwc: ep: Remove deinit() callback from struct dw_pcie_ep_ops 2024-04-10 17:48:41 +00:00
pcie-dw-rockchip.c Merge branch 'pci/irq-clean-up' 2024-01-15 12:10:40 -06:00
pcie-fu740.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-hisi.c PCI: hisi: Avoid invalid address space conversions 2022-01-03 15:05:28 -06:00
pcie-histb.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-intel-gw.c Merge branch 'pci/controller/dwc' 2024-01-15 12:10:37 -06:00
pcie-keembay.c PCI: endpoint: Clean up hardware description for BARs 2024-02-16 20:30:46 +05:30
pcie-kirin.c Merge branch 'pci/controller/remove-void-return' 2024-01-15 12:10:40 -06:00
pcie-qcom-ep.c Merge branch 'pci/irq-clean-up' 2024-01-15 12:10:40 -06:00
pcie-qcom.c pci-v6.9-changes 2024-03-14 10:58:27 -07:00
pcie-rcar-gen4.c PCI: dwc: ep: Remove deinit() callback from struct dw_pcie_ep_ops 2024-04-10 17:48:41 +00:00
pcie-spear13xx.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-tegra194-acpi.c PCI: dwc: Simplify in/outbound iATU setup methods 2022-08-01 15:15:09 -05:00
pcie-tegra194.c PCI: endpoint: Clean up hardware description for BARs 2024-02-16 20:30:46 +05:30
pcie-uniphier-ep.c PCI: endpoint: Drop only_64bit on reserved BARs 2024-02-16 20:31:10 +05:30
pcie-uniphier.c Merge branch 'pci/irq-clean-up' 2024-01-15 12:10:40 -06:00
pcie-visconti.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00