Re: [RFC] switch m68k to use the generic remapping DMA allocator

2019-06-25 Thread Geert Uytterhoeven
Hi Christoph, On Tue, Jun 25, 2019 at 9:35 AM Christoph Hellwig wrote: > On Tue, Jun 25, 2019 at 09:26:48AM +0200, Geert Uytterhoeven wrote: > > > > bloat-o-meter says: > > > > > > > > add/remove: 75/0 grow/shrink: 11/6 up/down: 4122/-82 (4040) > > > > > > What do these values stand for? The

Re: [RFC] switch m68k to use the generic remapping DMA allocator

2019-06-25 Thread Christoph Hellwig
On Tue, Jun 25, 2019 at 09:26:48AM +0200, Geert Uytterhoeven wrote: > > > bloat-o-meter says: > > > > > > add/remove: 75/0 grow/shrink: 11/6 up/down: 4122/-82 (4040) > > > > What do these values stand for? The code should grow a little as > > we now need to include the the pool allocator for the

Re: [RFC] switch m68k to use the generic remapping DMA allocator

2019-06-25 Thread Geert Uytterhoeven
Hi Christoph, On Tue, Jun 25, 2019 at 8:33 AM Christoph Hellwig wrote: > On Mon, Jun 17, 2019 at 08:53:55PM +0200, Geert Uytterhoeven wrote: > > On Fri, Jun 14, 2019 at 12:21 PM Christoph Hellwig wrote: > > > can you take a look at the (untested) patches below? They convert m68k > > > to use

Re: [RFC] switch m68k to use the generic remapping DMA allocator

2019-06-25 Thread Christoph Hellwig
On Mon, Jun 24, 2019 at 09:16:30AM +0200, Geert Uytterhoeven wrote: > Doing > > - select DMA_DIRECT_REMAP if MMU && !COLDFIRE > + select DMA_DIRECT_REMAP if MMU && !COLDFIRE && !SUN3 > > in arch/m68k/Kconfig fixes the build. > > Alternatively, you could use: > > - select

Re: [RFC] switch m68k to use the generic remapping DMA allocator

2019-06-25 Thread Christoph Hellwig
On Mon, Jun 17, 2019 at 08:53:55PM +0200, Geert Uytterhoeven wrote: > Hi Christoph, > > On Fri, Jun 14, 2019 at 12:21 PM Christoph Hellwig wrote: > > can you take a look at the (untested) patches below? They convert m68k > > to use the generic remapping DMA allocator, which is also used by > >

Re: [RFC] switch m68k to use the generic remapping DMA allocator

2019-06-24 Thread Geert Uytterhoeven
Hi Christoph, On Fri, Jun 14, 2019 at 12:21 PM Christoph Hellwig wrote: > can you take a look at the (untested) patches below? They convert m68k > to use the generic remapping DMA allocator, which is also used by > arm64 and csky. When building for Sun-3: kernel/dma/remap.o: In function

Re: [RFC] switch m68k to use the generic remapping DMA allocator

2019-06-17 Thread Geert Uytterhoeven
Hi Christoph, On Fri, Jun 14, 2019 at 12:21 PM Christoph Hellwig wrote: > can you take a look at the (untested) patches below? They convert m68k > to use the generic remapping DMA allocator, which is also used by > arm64 and csky. Thanks. But what does this buy us? bloat-o-meter says:

Re: [RFC] switch m68k to use the generic remapping DMA allocator

2019-06-17 Thread Greg Ungerer
Hi Christoph, On 14/6/19 8:21 pm, Christoph Hellwig wrote: Hi Geert and Greg, can you take a look at the (untested) patches below? They convert m68k to use the generic remapping DMA allocator, which is also used by arm64 and csky. No impact to ColdFire targets, so I'll have to defer to

[RFC] switch m68k to use the generic remapping DMA allocator

2019-06-14 Thread Christoph Hellwig
Hi Geert and Greg, can you take a look at the (untested) patches below? They convert m68k to use the generic remapping DMA allocator, which is also used by arm64 and csky. ___ iommu mailing list iommu@lists.linux-foundation.org