summaryrefslogtreecommitdiff
path: root/arch/arm/mm/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mm/Kconfig')
-rw-r--r--arch/arm/mm/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index aaea6d487bae..e23ad5ebc330 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -885,6 +885,17 @@ config ARM_DMA_MEM_BUFFERABLE
You are recommended say 'Y' here and debug any affected drivers.
+config NON_ALIASED_COHERENT_MEM
+ bool "Avoid aliasing mappings in DMA coherent allocator" if CPU_V7
+ help
+ Avoid multiple mappings with DMA coherent/writecombine allocator by
+ pre-allocating the mappings, and removing that memory from the
+ system memory mapping.
+
+ This will make sure DMA memory is fully coherent, so cache
+ dma_sync APIs will not be necessary to maintain cache cohereny
+ for DMA coherent region.
+
config ARCH_HAS_BARRIERS
bool
help