tracing: add support for objtool mcount
[linux-2.6-microblaze.git] / kernel / dma / Kconfig
index fd2db26..479fc14 100644 (file)
@@ -20,6 +20,10 @@ config DMA_OPS
 config DMA_OPS_BYPASS
        bool
 
+# Lets platform IOMMU driver choose between bypass and IOMMU
+config ARCH_HAS_DMA_MAP_DIRECT
+       bool
+
 config NEED_SG_DMA_LENGTH
        bool
 
@@ -220,3 +224,12 @@ config DMA_API_DEBUG_SG
          is technically out-of-spec.
 
          If unsure, say N.
+
+config DMA_MAP_BENCHMARK
+       bool "Enable benchmarking of streaming DMA mapping"
+       depends on DEBUG_FS
+       help
+         Provides /sys/kernel/debug/dma_map_benchmark that helps with testing
+         performance of dma_(un)map_page.
+
+         See tools/testing/selftests/dma/dma_map_benchmark.c