aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/dma/mapping.c
diff options
context:
space:
mode:
authorAnthony Iliopoulos <ailiop@suse.com>2021-07-22 16:10:55 +0200
committerChristoph Hellwig <hch@lst.de>2021-08-09 17:06:11 +0200
commit173735c346c412d9f084825ecb04f24ada0e2986 (patch)
treec6da8ceb0e65c6d85a3491e9d5bc4f79c2696956 /kernel/dma/mapping.c
parentdma-debug: use memory_intersects() directly (diff)
downloadwireguard-linux-173735c346c412d9f084825ecb04f24ada0e2986.tar.xz
wireguard-linux-173735c346c412d9f084825ecb04f24ada0e2986.zip
dma-debug: fix debugfs initialization order
Due to link order, dma_debug_init is called before debugfs has a chance to initialize (via debugfs_init which also happens in the core initcall stage), so the directories for dma-debug are never created. Decouple dma_debug_fs_init from dma_debug_init and defer its init until core_initcall_sync (after debugfs has been initialized) while letting dma-debug initialization occur as soon as possible to catch any early mappings, as suggested in [1]. [1] https://lore.kernel.org/linux-iommu/YIgGa6yF%2Fadg8OSN@kroah.com/ Fixes: 15b28bbcd567 ("dma-debug: move initialization to common code") Signed-off-by: Anthony Iliopoulos <ailiop@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/mapping.c')
0 files changed, 0 insertions, 0 deletions