Re: [PATCH] MIPS: only select ARCH_HAS_UNCACHED_SEGMENT for non-coherent platforms

2019-07-03 Thread Paul Burton
Hi Christoph, On Sun, Jun 30, 2019 at 06:48:05PM +0200, Christoph Hellwig wrote: > While mips might architecturally have the uncached segment all the time, > the infrastructure to use it is only need on platforms where DMA is > at least partially incoherent. Only select it for those

Re: [PATCH] MIPS: only select ARCH_HAS_UNCACHED_SEGMENT for non-coherent platforms

2019-06-30 Thread Guenter Roeck
On 6/30/19 9:48 AM, Christoph Hellwig wrote: While mips might architecturally have the uncached segment all the time, the infrastructure to use it is only need on platforms where DMA is at least partially incoherent. Only select it for those configuration to fix a build failure as the

[PATCH] MIPS: only select ARCH_HAS_UNCACHED_SEGMENT for non-coherent platforms

2019-06-30 Thread Christoph Hellwig
While mips might architecturally have the uncached segment all the time, the infrastructure to use it is only need on platforms where DMA is at least partially incoherent. Only select it for those configuration to fix a build failure as the arch_dma_prep_coherent symbol is also only provided for