Re: [PATCH] powerpc: use the generic dma coherent remap allocator

2019-09-01 Thread Michael Ellerman
On Wed, 2019-08-14 at 13:22:30 UTC, Christoph Hellwig wrote: > This switches to using common code for the DMA allocations, including > potential use of the CMA allocator if configured. > > Switching to the generic code enables DMA allocations from atomic > context, which is required by the DMA API

Re: [PATCH] powerpc: use the generic dma coherent remap allocator

2019-08-29 Thread Michael Ellerman
Christoph Hellwig writes: > On Wed, Aug 28, 2019 at 11:34:09PM +1000, Michael Ellerman wrote: >> Christoph Hellwig writes: >> > Michael, >> > >> > do oyu plan to pick this up? Otherwise I'd love to pick it up through >> > the dma-mapping tree as that would avoid one trivial conflict with >> > an

Re: [PATCH] powerpc: use the generic dma coherent remap allocator

2019-08-28 Thread Christoph Hellwig
On Wed, Aug 28, 2019 at 11:34:09PM +1000, Michael Ellerman wrote: > Christoph Hellwig writes: > > Michael, > > > > do oyu plan to pick this up? Otherwise I'd love to pick it up through > > the dma-mapping tree as that would avoid one trivial conflict with > > another pending patch. > > It confli

Re: [PATCH] powerpc: use the generic dma coherent remap allocator

2019-08-28 Thread Michael Ellerman
Christoph Hellwig writes: > Michael, > > do oyu plan to pick this up? Otherwise I'd love to pick it up through > the dma-mapping tree as that would avoid one trivial conflict with > another pending patch. It conflicts a bit with the ioremap changes I already have in next. And it would be good f

Re: [PATCH] powerpc: use the generic dma coherent remap allocator

2019-08-27 Thread Christoph Hellwig
Michael, do oyu plan to pick this up? Otherwise I'd love to pick it up through the dma-mapping tree as that would avoid one trivial conflict with another pending patch.

Re: [PATCH] powerpc: use the generic dma coherent remap allocator

2019-08-14 Thread Christoph Hellwig
On Wed, Aug 14, 2019 at 04:20:34PM +0200, Christophe Leroy wrote: >> index 56a7c814160d..afe71b89dec3 100644 >> --- a/arch/powerpc/platforms/Kconfig.cputype >> +++ b/arch/powerpc/platforms/Kconfig.cputype >> @@ -450,8 +450,10 @@ config NOT_COHERENT_CACHE >> depends on 4xx || PPC_8xx || E200 ||

Re: [PATCH] powerpc: use the generic dma coherent remap allocator

2019-08-14 Thread Christophe Leroy
Le 14/08/2019 à 15:22, Christoph Hellwig a écrit : This switches to using common code for the DMA allocations, including potential use of the CMA allocator if configured. Switching to the generic code enables DMA allocations from atomic context, which is required by the DMA API documentation,

Re: [PATCH] powerpc: use the generic dma coherent remap allocator

2019-08-14 Thread Christophe Leroy
Le 14/08/2019 à 15:22, Christoph Hellwig a écrit : This switches to using common code for the DMA allocations, including potential use of the CMA allocator if configured. Switching to the generic code enables DMA allocations from atomic context, which is required by the DMA API documentation,

[PATCH] powerpc: use the generic dma coherent remap allocator

2019-08-14 Thread Christoph Hellwig
This switches to using common code for the DMA allocations, including potential use of the CMA allocator if configured. Switching to the generic code enables DMA allocations from atomic context, which is required by the DMA API documentation, and also adds various other minor features drivers star