Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86f31952 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

dma-debug/x86: register pci bus for dma-debug leak detection



Impact: detect dma memory leaks for pci devices

Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 41531c8f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -271,6 +271,10 @@ static int __init pci_iommu_init(void)
{
	dma_debug_init(PREALLOC_DMA_DEBUG_ENTRIES);

#ifdef CONFIG_PCI
	dma_debug_add_bus(&pci_bus_type);
#endif

	calgary_iommu_init();

	intel_iommu_init();