diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-08-20 22:24:24 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-08-20 22:24:24 +0200 |
commit | 35d231db53a60b76e218a56da30ad071d4717b56 (patch) | |
tree | f35e259ef6cda1a8a9cddc2c6840a2c28b1efeef /arch/xtensa/Kconfig | |
parent | xtensa: add test_kc705_be variant (diff) | |
parent | xtensa: platform-specific handling of coherent memory (diff) | |
download | linux-35d231db53a60b76e218a56da30ad071d4717b56.tar.xz linux-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/Kconfig | 3 |
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 |