Skip to content

Commit

Permalink
arch:rsicv:select ARCH_HAS_DMA_WRITE_COMBINE
Browse files Browse the repository at this point in the history
c910 support bufferable, enable DMA_WRITE_COMBINE, let dma_alloc_*
memory can be map WRITE_COMBINE. otherwise dma_alloc_* memory be
strong order prot to user space.

Signed-off-by: Huaming <[email protected]>
Signed-off-by: Chen Pei <[email protected]>
  • Loading branch information
cp0613 committed Jul 5, 2024
1 parent 137df84 commit 4816bca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/riscv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ config RISCV_DMA_NONCOHERENT
select ARCH_HAS_SYNC_DMA_FOR_CPU
select ARCH_HAS_SYNC_DMA_FOR_DEVICE
select DMA_BOUNCE_UNALIGNED_KMALLOC if SWIOTLB
select ARCH_HAS_DMA_WRITE_COMBINE

config RISCV_NONSTANDARD_CACHE_OPS
bool
Expand Down

0 comments on commit 4816bca

Please sign in to comment.