Files
linux/kernel
Anthony Iliopoulos ab70dbfebf UPSTREAM: 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/

Change-Id: I615389d4c630cd4fa7482c99f4faef1e3bb87b3c
Fixes: 15b28bbcd5 ("dma-debug: move initialization to common code")
Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
(cherry picked from commit 173735c346)
2022-03-28 19:01:23 +08:00
..
2021-09-15 14:16:47 +02:00
2021-04-14 08:41:58 +02:00
2021-09-15 14:16:47 +02:00
2020-08-26 09:10:39 -04:00
2021-06-30 19:38:46 +02:00
2020-08-12 10:58:02 -07:00
2020-11-14 11:26:04 -08:00
2021-01-13 10:28:55 +01:00
2020-07-27 14:31:12 -04:00
2021-09-06 16:18:59 +08:00
2021-05-20 15:35:25 +02:00