OpenCloudOS-Kernel/arch/sh/drivers/pci
Christoph Hellwig a8651194f9 PCI: Call dma_debug_add_bus() for pci_bus_type from PCI core
There is nothing arch-specific about PCI or dma-debug, so call
dma_debug_add_bus() from the PCI core just after registering the bus type.

Most of dma-debug is already generic; this just adds reporting of pending
dma-allocations on driver unload for arches other than powerpc, sh, and
x86.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
2018-07-30 15:58:01 -05:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
common.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
fixups-cayman.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fixups-dreamcast.c dma-mapping updates for 4.14: 2017-09-12 13:30:06 -07:00
fixups-landisk.c sh: legacy PCI evt2irq migration. 2012-05-18 17:42:29 +09:00
fixups-r7780rp.c sh/PCI: Remove __init optimisations from IRQ mapping functions/data 2017-08-03 16:21:31 -05:00
fixups-rts7751r2d.c sh/PCI: Remove __init optimisations from IRQ mapping functions/data 2017-08-03 16:21:31 -05:00
fixups-sdk7780.c sh/PCI: Remove __init optimisations from IRQ mapping functions/data 2017-08-03 16:21:31 -05:00
fixups-sdk7786.c sh/PCI: adjust section annotations for pcibios_setup() 2012-07-05 15:09:13 -06:00
fixups-se7751.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fixups-sh03.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fixups-snapgear.c sh/PCI: Remove __init optimisations from IRQ mapping functions/data 2017-08-03 16:21:31 -05:00
fixups-titan.c sh/PCI: Remove __init optimisations from IRQ mapping functions/data 2017-08-03 16:21:31 -05:00
ops-dreamcast.c sh: pci: remove duplicated #include's 2009-06-14 17:48:43 +09:00
ops-sh4.c sh: pci: Use a generic raw spinlock for PCI config access locking. 2010-09-20 18:56:13 +09:00
ops-sh5.c PCI: Remove unnecessary #includes of <asm/pci.h> 2015-06-08 07:56:09 -05:00
ops-sh7786.c sh: pci: Use a generic raw spinlock for PCI config access locking. 2010-09-20 18:56:13 +09:00
pci-dreamcast.c sh: Improved multi-resource handling for SH7780 PCI. 2010-02-01 20:01:50 +09:00
pci-sh4.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci-sh5.c PCI: Remove unnecessary #includes of <asm/pci.h> 2015-06-08 07:56:09 -05:00
pci-sh5.h sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
pci-sh7751.c sh: Fix typos in PCI initialization message 2010-06-23 09:09:56 +01:00
pci-sh7751.h Fix common misspellings 2011-03-31 11:26:23 -03:00
pci-sh7780.c SH: pci-sh7780: enable big-endian operation. 2012-03-28 14:28:30 +09:00
pci-sh7780.h sh: pci: Move Renesas PCI IDs to a better place. 2010-09-20 15:37:25 +09:00
pci.c PCI: Call dma_debug_add_bus() for pci_bus_type from PCI core 2018-07-30 15:58:01 -05:00
pcie-sh7786.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
pcie-sh7786.h arch/sh/drivers/pci/pcie-sh7786.h: remove duplicate SH4A_PCIEPHYCTLR 2014-04-03 16:20:53 -07:00