mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 04:46:42 +07:00
dma-debug/x86: register pci bus for dma-debug leak detection
Impact: detect dma memory leaks for pci devices Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
parent
41531c8f5f
commit
86f3195293
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user