Lines Matching +full:dma +full:- +full:default
1 # SPDX-License-Identifier: GPL-2.0-only
9 default y
83 # Select this option if the architecture assumes DMA devices are coherent
84 # by default.
94 bool "Dynamic allocation of DMA bounce buffers"
95 default n
100 pools as needed. To reduce run-time kernel memory requirements, you
111 bool "DMA Restricted Pool"
114 This enables support for restricted DMA pools which provide a level of
115 DMA memory protection on systems with limited hardware protection
119 <Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt>
120 and <kernel/dma/swiotlb.c>.
124 # Should be selected if we can mmap non-coherent mappings to userspace.
129 default y if !MMU
146 bool "DMA Contiguous Memory Allocator"
150 to allocate big physically-contiguous blocks of memory for use with
151 hardware components that do not support I/O map nor scatter-gather.
156 For more information see <kernel/dma/contiguous.c>.
162 bool "Enable separate DMA Contiguous Memory Area for NUMA Node"
166 can get local memory by DMA coherent APIs.
172 comment "Default contiguous memory area size:"
177 default 0 if X86
178 default 16
180 Defines the size (in MiB) of the default memory area for Contiguous
182 default, but it can be enabled by passing cma=size[MG] to the kernel.
188 default 0 if X86
189 default 10
191 Defines the size of the default memory area for Contiguous Memory
193 If 0 percent is selected, CMA is disabled by default, but it can be
198 default CMA_SIZE_SEL_MBYTES
217 default 8
219 DMA mapping framework by default aligns all buffers to the smallest
230 If unsure, leave the default value "8".
235 bool "Enable debugging of DMA-API usage"
238 Enable this option to debug the use of the DMA API by device drivers.
240 drivers like double-freeing of DMA mappings or freeing mappings that
244 debug device drivers and dma interactions.
249 bool "Debug DMA scatter-gather usage"
250 default y
255 preparing DMA scatterlists.
259 preparing literal scatter-gather descriptors, where there is a risk of
260 unexpected behaviour from DMA API implementations if the scatterlist
261 is technically out-of-spec.
266 bool "Enable benchmarking of streaming DMA mapping"
272 See tools/testing/selftests/dma/dma_map_benchmark.c