[PATCH 0/7] MIPS DMA coherence fixes

Jiaxun Yang jiaxun.yang at flygoat.com
Wed Feb 22 05:15:51 AEDT 2023



> 2023年2月21日 17:54,Christoph Hellwig <hch at lst.de> 写道:
> 
> 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 able to control the default coherency for all devices probed from
devicetree in early boot code.

To achieve that I decided to reuse dma_default_coherent to set default coherency for devicetree.
And all later patches are severing for this purpose.

Thanks
- Jiaxun


More information about the Linuxppc-dev mailing list