Re: [PATCH v2 4/5] riscv: Select ARCH_DMA_DEFAULT_COHERENT

2023-03-14 Thread Palmer Dabbelt
On Thu, 23 Feb 2023 14:20:27 PST (-0800), Conor Dooley wrote: On Thu, Feb 23, 2023 at 11:36:43AM +, Jiaxun Yang wrote: For riscv our assumption is unless a device states it is non-coherent, we take it to be DMA coherent. Select ARCH_DMA_DEFAULT_COHERENT to ensure dma_default_coherent is alw

Re: [PATCH v2 4/5] riscv: Select ARCH_DMA_DEFAULT_COHERENT

2023-02-23 Thread Conor Dooley
On Thu, Feb 23, 2023 at 11:36:43AM +, Jiaxun Yang wrote: > For riscv our assumption is unless a device states it is non-coherent, > we take it to be DMA coherent. > > Select ARCH_DMA_DEFAULT_COHERENT to ensure dma_default_coherent > is always initialized to true. > > Signed-off-by: Jiaxun Yan

[PATCH v2 4/5] riscv: Select ARCH_DMA_DEFAULT_COHERENT

2023-02-23 Thread Jiaxun Yang
For riscv our assumption is unless a device states it is non-coherent, we take it to be DMA coherent. Select ARCH_DMA_DEFAULT_COHERENT to ensure dma_default_coherent is always initialized to true. Signed-off-by: Jiaxun Yang --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --gi