diff options
author | Atish Patra <atish.patra@wdc.com> | 2021-06-13 02:48:31 +0300 |
---|---|---|
committer | Emil Renner Berthing <kernel@esmil.dk> | 2021-09-12 15:35:04 +0300 |
commit | d01325233d1672ec3fc33e8c4d6e299d3f3e8f4e (patch) | |
tree | 6e225092ed27c8b1ffdd606ee4866c2ddd394dea /arch/riscv/mm/Makefile | |
parent | fb5dc6f128d5fd788781312105013b5015be936a (diff) | |
download | linux-d01325233d1672ec3fc33e8c4d6e299d3f3e8f4e.tar.xz |
RISC-V: Support non-coherent DMA operations
** Do not upstream **
This is hacky fix just for testing. The actual patch would read the
RISCV_UNCACHED_OFFSET from the DT for only the non-coherent devices.
All other devices on beagleV and all other platform should just set
dma_default_coherent to true.
[Emil: remove spurious whitespace and fix format string warning]
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Diffstat (limited to 'arch/riscv/mm/Makefile')
-rw-r--r-- | arch/riscv/mm/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/mm/Makefile b/arch/riscv/mm/Makefile index 7ebaef10ea1b..959bef49098b 100644 --- a/arch/riscv/mm/Makefile +++ b/arch/riscv/mm/Makefile @@ -27,3 +27,4 @@ KASAN_SANITIZE_init.o := n endif obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o +obj-$(CONFIG_RISCV_DMA_NONCOHERENT) += dma-noncoherent.o |