> 2023年2月21日 17:58,Christoph Hellwig <h...@lst.de> 写道: > > On Tue, Feb 21, 2023 at 12:46:11PM +0000, Jiaxun Yang wrote: >> Provide a kconfig option to allow arches to manipulate default >> value of dma_default_coherent in Kconfig. > > I don't see the win over just doing this by setting dma_default_coherent > in the early boot code. I just don’t want to dig into every archs’ early boot code to decide a good timing for setting this variable. Also as we do have a OF_DMA_DEFAULT_COHERENT before it makes more sense to me. Thanks - Jiaxun
- [PATCH 1/7] MIPS: Remove DMA_PERDEV_COHERENT Jiaxun Yang
- Re: [PATCH 1/7] MIPS: Remove DMA_PERDEV_COHERENT Christoph Hellwig
- [PATCH 2/7] MIPS: Always select ARCH_HAS_SYNC_DMA_FOR_CP... Jiaxun Yang
- [PATCH 6/7] riscv: Select ARCH_DMA_DEFAULT_COHERENT Jiaxun Yang
- [PATCH 3/7] MIPS: c-r4k: Always install dma flush functi... Jiaxun Yang
- [PATCH 7/7] of: address: Use dma_default_coherent to det... Jiaxun Yang
- [PATCH 5/7] dma-mapping: Provide CONFIG_ARCH_DMA_DEFAULT... Jiaxun Yang
- Re: [PATCH 5/7] dma-mapping: Provide CONFIG_ARCH_DM... Christoph Hellwig
- Re: [PATCH 5/7] dma-mapping: Provide CONFIG_ARC... Jiaxun Yang
- [PATCH 4/7] dma-mapping: Always provide dma_default_cohe... Jiaxun Yang
- Re: [PATCH 4/7] dma-mapping: Always provide dma_def... Christoph Hellwig
- Re: [PATCH 4/7] dma-mapping: Always provide dma... Robin Murphy
- Re: [PATCH 4/7] dma-mapping: Always provide dma... Jiaxun Yang
- Re: [PATCH 0/7] MIPS DMA coherence fixes Christoph Hellwig
- Re: [PATCH 0/7] MIPS DMA coherence fixes Jiaxun Yang
- Re: [PATCH 0/7] MIPS DMA coherence fixes Robin Murphy
- Re: [PATCH 0/7] MIPS DMA coherence fixes Jiaxun Yang
- Re: [PATCH 0/7] MIPS DMA coherence fixe... Robin Murphy
- Re: [PATCH 0/7] MIPS DMA coherence... Jiaxun Yang