Re: [PATCH 0/7] MIPS DMA coherence fixes

2023-02-22 Thread Robin Murphy
On 2023-02-22 13:04, Jiaxun Yang wrote: 2023年2月22日 12:55,Robin Murphy 写道: On 2023-02-21 19:55, Jiaxun Yang wrote: 2023年2月21日 19:46,Robin Murphy 写道: On 2023-02-21 18:15, Jiaxun Yang wrote: 2023年2月21日 17:54,Christoph Hellwig 写道: Can you explain the motivation here? Also why riscv patche

Re: [PATCH 0/7] MIPS DMA coherence fixes

2023-02-22 Thread Jiaxun Yang
> 2023年2月22日 12:55,Robin Murphy 写道: > > On 2023-02-21 19:55, Jiaxun Yang wrote: >>> 2023年2月21日 19:46,Robin Murphy 写道: >>> >>> On 2023-02-21 18:15, Jiaxun Yang wrote: > 2023年2月21日 17:54,Christoph Hellwig 写道: > > Can you explain the motivation here? Also why riscv patches are at

Re: [PATCH 0/7] MIPS DMA coherence fixes

2023-02-22 Thread Robin Murphy
On 2023-02-21 19:55, Jiaxun Yang wrote: 2023年2月21日 19:46,Robin Murphy 写道: On 2023-02-21 18:15, Jiaxun Yang wrote: 2023年2月21日 17:54,Christoph Hellwig 写道: Can you explain the motivation here? Also why riscv patches are at the end of a mips fіxes series? Ah sorry for any confusion. So the

Re: [PATCH 0/7] MIPS DMA coherence fixes

2023-02-21 Thread Jiaxun Yang
> 2023年2月21日 19:46,Robin Murphy 写道: > > On 2023-02-21 18:15, Jiaxun Yang wrote: >>> 2023年2月21日 17:54,Christoph Hellwig 写道: >>> >>> Can you explain the motivation here? Also why riscv patches are at >>> the end of a mips fіxes series? >> Ah sorry for any confusion. >> So the main purpose of

Re: [PATCH 0/7] MIPS DMA coherence fixes

2023-02-21 Thread Robin Murphy
On 2023-02-21 18:15, Jiaxun Yang wrote: 2023年2月21日 17:54,Christoph Hellwig 写道: Can you explain the motivation here? Also why riscv patches are at the end of a mips fіxes series? Ah sorry for any confusion. So the main purpose of this patch is to fix MIPS’s broken per-device coherency. To

Re: [PATCH 0/7] MIPS DMA coherence fixes

2023-02-21 Thread Jiaxun Yang
> 2023年2月21日 17:54,Christoph Hellwig 写道: > > Can you explain the motivation here? Also why riscv patches are at > the end of a mips fіxes series? Ah sorry for any confusion. So the main purpose of this patch is to fix MIPS’s broken per-device coherency. To be more precise, we want to be abl

Re: [PATCH 0/7] MIPS DMA coherence fixes

2023-02-21 Thread Christoph Hellwig
Can you explain the motivation here? Also why riscv patches are at the end of a mips fіxes series?

[PATCH 0/7] MIPS DMA coherence fixes

2023-02-21 Thread Jiaxun Yang
Jiaxun Yang (7): MIPS: Remove DMA_PERDEV_COHERENT MIPS: Always select ARCH_HAS_SYNC_DMA_FOR_CPU for noncoherent platforms MIPS: c-r4k: Always install dma flush functions dma-mapping: Always provide dma_default_coherent dma-mapping: Provide CONFIG_ARCH_DMA_DEFAULT_COHERENT riscv: S