All of lore.kernel.org
 help / color / mirror / Atom feed
* [nacked] dma-mapping-make-map_benchmark-compile-into-module.patch removed from -mm tree
@ 2021-03-28 19:57 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-03-28 19:57 UTC (permalink / raw)
  To: ast, hch, m.szyprowski, mm-commits, paulmck, peterz, rostedt,
	song.bao.hua, tglx, tiantao6


The patch titled
     Subject: dma-mapping: make map_benchmark compile into module
has been removed from the -mm tree.  Its filename was
     dma-mapping-make-map_benchmark-compile-into-module.patch

This patch was dropped because it was nacked

------------------------------------------------------
From: Tian Tao <tiantao6@hisilicon.com>
Subject: dma-mapping: make map_benchmark compile into module

Under some scenarios, it is necessary to compile map_benchmark into a
module to test iommu, so this patch changes Kconfig and export_symbol to
implement map_benchmark compiled into module.

On the other hand, map_benchmark is a driver, which is supposed to be able
to run as a module.

Link: https://lkml.kernel.org/r/1616552258-22282-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Acked-by: Barry Song <song.bao.hua@hisilicon.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/dma/Kconfig |    2 +-
 kernel/kthread.c   |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

--- a/kernel/dma/Kconfig~dma-mapping-make-map_benchmark-compile-into-module
+++ a/kernel/dma/Kconfig
@@ -223,7 +223,7 @@ config DMA_API_DEBUG_SG
 	  If unsure, say N.
 
 config DMA_MAP_BENCHMARK
-	bool "Enable benchmarking of streaming DMA mapping"
+	tristate "Enable benchmarking of streaming DMA mapping"
 	depends on DEBUG_FS
 	help
 	  Provides /sys/kernel/debug/dma_map_benchmark that helps with testing
--- a/kernel/kthread.c~dma-mapping-make-map_benchmark-compile-into-module
+++ a/kernel/kthread.c
@@ -455,6 +455,7 @@ void kthread_bind_mask(struct task_struc
 {
 	__kthread_bind_mask(p, mask, TASK_UNINTERRUPTIBLE);
 }
+EXPORT_SYMBOL(kthread_bind_mask);
 
 /**
  * kthread_bind - bind a just-created kthread to a cpu.
_

Patches currently in -mm which might be from tiantao6@hisilicon.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-28 19:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28 19:57 [nacked] dma-mapping-make-map_benchmark-compile-into-module.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.