summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/Kconfig
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-08-20 13:24:24 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2018-08-20 13:24:24 -0700
commit35d231db53a60b76e218a56da30ad071d4717b56 (patch)
treef35e259ef6cda1a8a9cddc2c6840a2c28b1efeef /arch/xtensa/Kconfig
parentbfd5bb6f90af092aa345b15cd78143956a13c2a8 (diff)
parent2cc15e802b250a11ece57ea54f82993cf3430867 (diff)
downloadlinux-stable-35d231db53a60b76e218a56da30ad071d4717b56.tar.gz
linux-stable-35d231db53a60b76e218a56da30ad071d4717b56.tar.bz2
linux-stable-35d231db53a60b76e218a56da30ad071d4717b56.zip
Merge branch 'xtensa-dma-fixes' (early part) into xtensa-fixes
This switches xtensa arch to the generic noncoherent direct mapping operations, adds support for DMA_ATTR_NO_KERNEL_MAPPING attribute and allows for platform-specific handling of coherent memory. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r--arch/xtensa/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index bc766b6b6344..9e53ec481bf9 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -4,12 +4,15 @@ config ZONE_DMA
config XTENSA
def_bool y
+ select ARCH_HAS_SYNC_DMA_FOR_CPU
+ select ARCH_HAS_SYNC_DMA_FOR_DEVICE
select ARCH_NO_COHERENT_DMA_MMAP if !MMU
select ARCH_WANT_FRAME_POINTERS
select ARCH_WANT_IPC_PARSE_VERSION
select BUILDTIME_EXTABLE_SORT
select CLONE_BACKWARDS
select COMMON_CLK
+ select DMA_NONCOHERENT_OPS
select GENERIC_ATOMIC64
select GENERIC_CLOCKEVENTS
select GENERIC_IRQ_SHOW