Re: [PATCH 13/22] nds32: use generic dma_noncoherent_ops

2018-04-22 Thread Greentime Hu
2018-04-20 16:03 GMT+08:00 Christoph Hellwig : > Switch to the generic noncoherent direct mapping implementation. > > This makes sure kmap_atomic_pfn is consistently used for access to > virtual addresses instead of either using the slower plain kmap > or blindly expecting page_address() to work. >

Re: [PATCH 13/22] nds32: use generic dma_noncoherent_ops

2018-04-24 Thread Greentime Hu
_range(start, start + size); > break; > default: > BUG(); Hi Crhistoph, The ftmac100 works if I revert this commit. commit de46b9ba5298aafc47284735a4f21baa8e4ed4b7 Author: Greentime Hu Date: Wed Apr 25 09:33:51 2018 +0800 Revert "nds32: use

Re: [PATCH 13/22] nds32: use generic dma_noncoherent_ops

2018-04-25 Thread Greentime Hu
2018-04-25 14:40 GMT+08:00 Christoph Hellwig : > On Wed, Apr 25, 2018 at 09:43:43AM +0800, Greentime Hu wrote: >> Hi Crhistoph, >> >> The ftmac100 works if I revert this commit. > > Thanks. ftmac100 only use dma_map_page, which in the old nds32 code > is just doing

Re: [PATCH 13/22] nds32: use generic dma_noncoherent_ops

2018-04-26 Thread Greentime Hu
2018-04-26 14:42 GMT+08:00 Christoph Hellwig : > Can you try this patch ontop of either the new or original one? > > --- > diff --git a/lib/dma-noncoherent.c b/lib/dma-noncoherent.c > index f4b8532c20ac..a2c192b3508d 100644 > --- a/lib/dma-noncoherent.c > +++ b/lib/dma-noncoherent.c > @@ -48,7 +48,

Re: [PATCH 13/22] nds32: use generic dma_noncoherent_ops

2018-04-26 Thread Greentime Hu
2018-04-26 16:24 GMT+08:00 Christoph Hellwig : > On Thu, Apr 26, 2018 at 04:06:34PM +0800, Greentime Hu wrote: >> It works!!! > > Thanks! > > Can you retest the updated tree here with all the fixes and give me > your Tested-by: for the generic and nds32 patches? > >

Re: [PATCH 19/21] nds32: use generic ioremap

2019-11-12 Thread Greentime Hu
orce void __iomem *)(offset + (char *)addr); > - > -} > - > -void __iomem *ioremap(phys_addr_t phys_addr, size_t size) > -{ > - return __ioremap_caller(phys_addr, size, > - __builtin_return_address(0)); > -} > - > -EXPORT_SYMBOL(ioremap); > - > -void iounmap(volatile void __iomem * addr) > -{ > - vunmap((void *)(PAGE_MASK & (unsigned long)addr)); > -} > - > -EXPORT_SYMBOL(iounmap); Acked-by: Greentime Hu Looks good to me. ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Re: [PATCH 16/17] arch: remove HAVE_COPY_THREAD_TLS

2020-06-26 Thread Greentime Hu
Cc: Russell King > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Mark Salter > Cc: Aurelien Jacquiot > Cc: Guo Ren > Cc: Yoshinori Sato > Cc: Brian Cain > Cc: Tony Luck > Cc: Fenghua Yu > Cc: Geert Uytterhoeven > Cc: Michal Simek > Cc: Thomas Bogendoerfer

Re: [PATCH 17/17] arch: rename copy_thread_tls() back to copy_thread()

2020-06-26 Thread Greentime Hu
> Cc: Yoshinori Sato > Cc: Brian Cain > Cc: Tony Luck > Cc: Fenghua Yu > Cc: Geert Uytterhoeven > Cc: Michal Simek > Cc: Thomas Bogendoerfer > Cc: Nick Hu > Cc: Greentime Hu > Cc: Vincent Chen > Cc: Ley Foon Tan > Cc: Jonas Bonn > Cc: Stefan Kristi