dma-kmsan-export-kmsan_handle_dma-for-modules.patch removed from -mm tree
The quilt patch titled
Subject: dma: kmsan: export kmsan_handle_dma() for modules
has been removed from the -mm tree. Its filename was
dma-kmsan-export-kmsan_handle_dma-for-modules.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Sebastian Andrzej Siewior <[email protected]>
Subject: dma: kmsan: export kmsan_handle_dma() for modules
Date: Tue, 18 Feb 2025 10:14:11 +0100
kmsan_handle_dma() is used by virtio_ring() which can be built as a module. kmsan_handle_dma() needs to be exported otherwise building the virtio_ring fails.
Export kmsan_handle_dma for modules.
---
mm/kmsan/hooks.c | 1 + 1 file changed, 1 insertion(+)
mm/kmsan/hooks.c renamed from mm/kmsan/hooks.c~dma-kmsan-export-kmsan_handle_dma-for-modules +1 -0
@@ -357,6 +357,7 @@ void kmsan_handle_dma(struct page *page, size -= to_go; } } +EXPORT_SYMBOL_GPL (kmsan_handle_dma);void kmsan_handle_dma_sg (struct scatterlist *sg,int nents,enum dma_data_direction dir)
_
Patches currently in -mm which might be from [email protected] are
rcu-provide-a-static-initializer-for-hlist_nulls_head.patch ucount-replace-get_ucounts_or_wrap-with-atomic_inc_not_zero.patch ucount-use-rcu-for-ucounts-lookups.patch ucount-use-rcuref_t-for-reference-counting.patch
Quoted 21 lines · Andrew Morton
The quilt patch titled
Subject: dma: kmsan: exportkmsan_handle_dma()for modules
has been removed from the -mm tree. Its filename was
dma-kmsan-export-kmsan_handle_dma-for-modules.patchThis patch was dropped because it was merged into the mm-hotfixes-stable branch of
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm------------------------------------------------------
From: Sebastian Andrzej Siewior <[email protected]>
Subject: dma: kmsan: exportkmsan_handle_dma()for modules
Date: Tue, 18 Feb 2025 10:14:11 +0100
kmsan_handle_dma()is used byvirtio_ring()which can be built as a module.kmsan_handle_dma()needs to be exported otherwise building thevirtio_ringfails.Export
kmsan_handle_dmafor modules.
Quoted 12 lines
Reported-by kernel test robot <[email protected]>Fixes 7ade4f10779c ("dma: kmsan: unpoison DMA mappings")Signed-off-by Sebastian Andrzej Siewior <[email protected]>Cc Alexander Potapenko <[email protected]>Cc Dmitriy Vyukov <[email protected]>Cc Macro Elver <[email protected]>Cc Peter Zijlstra (Intel) <[email protected]>Cc Thomas Gleixner <[email protected]>Cc <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Note: I think the Reviewed-by: I left on the patch is missing here, but I don't mind (no need to respin)