summaryrefslogtreecommitdiffstats
path: root/kernel/dma/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-08-17 16:41:50 +0200
committerChristoph Hellwig <hch@lst.de>2020-09-11 09:10:17 +0200
commitabdaf11ac18925ce8cc229e62e35b342d548ece2 (patch)
treec32d6fd1625f6835947ca94130ca0942ef47ad01 /kernel/dma/Kconfig
parentef1a85b6ca093abb00fbc38ea55fd9ae08ab05ef (diff)
downloadlinux-stable-abdaf11ac18925ce8cc229e62e35b342d548ece2.tar.gz
linux-stable-abdaf11ac18925ce8cc229e62e35b342d548ece2.tar.bz2
linux-stable-abdaf11ac18925ce8cc229e62e35b342d548ece2.zip
dma-mapping: add (back) arch_dma_mark_clean for ia64
Add back a hook to optimize dcache flushing after reading executable code using DMA. This gets ia64 out of the business of pretending to be dma incoherent just for this optimization. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/Kconfig')
-rw-r--r--kernel/dma/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig
index e7b801649f65..281785feb874 100644
--- a/kernel/dma/Kconfig
+++ b/kernel/dma/Kconfig
@@ -44,6 +44,12 @@ config ARCH_HAS_DMA_SET_MASK
config ARCH_HAS_DMA_WRITE_COMBINE
bool
+#
+# Select if the architectures provides the arch_dma_mark_clean hook
+#
+config ARCH_HAS_DMA_MARK_CLEAN
+ bool
+
config DMA_DECLARE_COHERENT
bool