Re: [PATCH 1/2] nios2: use the generic uncached segment support in dma-direct

2019-06-24 Thread Ley Foon Tan
On Mon, Jun 3, 2019 at 2:54 PM Christoph Hellwig wrote: > > Stop providing our own arch alloc/free hooks and just expose the segment > offset and use the generic dma-direct allocator. > > Signed-off-by: Christoph Hellwig Acked-by: Ley Foon Tan > --- > arch/nios2/Kc

Re: switch nios2 and microblaze to use the generic uncached segement support

2019-06-13 Thread Ley Foon Tan
On Mon, 2019-06-03 at 08:53 +0200, Christoph Hellwig wrote: > Hi all, > > can you take a look at this series?  It switches niops2 and > microblaze to > use the generic dma layer support for uncached segements. > > The dma mapping for-next git tree that includes the support is > available > here:

Re: [PATCH] nios2: use generic dma_noncoherent_ops

2018-07-23 Thread Ley Foon Tan
On Mon, 2018-07-23 at 10:27 +0200, Christoph Hellwig wrote: > On Mon, Jul 23, 2018 at 04:20:42PM +0800, Ley Foon Tan wrote: > > > > On Thu, 2018-07-19 at 14:22 +0200, Christoph Hellwig wrote: > > > > > > On Thu, Jul 19, 2018 at 01:48:55PM +0800, Ley Foon Tan wr

Re: [PATCH] nios2: use generic dma_noncoherent_ops

2018-07-23 Thread Ley Foon Tan
On Thu, 2018-07-19 at 14:22 +0200, Christoph Hellwig wrote: > On Thu, Jul 19, 2018 at 01:48:55PM +0800, Ley Foon Tan wrote: > > > > Do you have git repo for this series of patches? > This patch should apply without the need for any other patch > to Linus' latest tree,

Re: [PATCH] nios2: use generic dma_noncoherent_ops

2018-07-19 Thread Ley Foon Tan
On Wed, 2018-07-11 at 17:32 +0200, Christoph Hellwig wrote: > ping?  Any comments? > > On Tue, Jun 19, 2018 at 09:01:37AM +0200, Christoph Hellwig wrote: > > > > Switch to the generic noncoherent direct mapping implementation. > > > > Signed-off-by: Christoph Hellwig > > --- > >  arch/nios2/Kco