Re: [PATCH] csky: Fixup ioremap function losing

2019-08-20 Thread Guo Ren
On Mon, Aug 19, 2019 at 2:21 AM Christoph Hellwig wrote: > > On Sun, Aug 18, 2019 at 10:20:18AM +0800, Guo Ren wrote: > > > > Also change flag VM_ALLOC to VM_IOREMAP in get_vm_area_caller. > > > > > > Looks generally fine, but two comments: > > > > > > - do you have a need for ioremap_cache? We

Re: [PATCH] csky: Fixup ioremap function losing

2019-08-18 Thread Christoph Hellwig
On Sun, Aug 18, 2019 at 10:20:18AM +0800, Guo Ren wrote: > > > Also change flag VM_ALLOC to VM_IOREMAP in get_vm_area_caller. > > > > Looks generally fine, but two comments: > > > > - do you have a need for ioremap_cache? We are generally try to > >phase it out in favour of memremap, and it i

Re: [PATCH] csky: Fixup ioremap function losing

2019-08-17 Thread Guo Ren
Thx Christoph, On Fri, Aug 16, 2019 at 3:03 PM Christoph Hellwig wrote: > > On Thu, Aug 15, 2019 at 07:28:57PM +0800, guo...@kernel.org wrote: > > From: Guo Ren > > > > Implement the following apis to meet usage in different scenarios. > > > > - ioremap (NonCache + StrongOrder) > > -

Re: [PATCH] csky: Fixup ioremap function losing

2019-08-16 Thread Christoph Hellwig
On Thu, Aug 15, 2019 at 07:28:57PM +0800, guo...@kernel.org wrote: > From: Guo Ren > > Implement the following apis to meet usage in different scenarios. > > - ioremap (NonCache + StrongOrder) > - ioremap_nocache (NonCache + StrongOrder) > - ioremap_wc (NonCache + WeakOrder )

[PATCH] csky: Fixup ioremap function losing

2019-08-15 Thread guoren
From: Guo Ren Implement the following apis to meet usage in different scenarios. - ioremap (NonCache + StrongOrder) - ioremap_nocache (NonCache + StrongOrder) - ioremap_wc (NonCache + WeakOrder ) - ioremap_cache( Cache + WeakOrder ) Also change flag VM_ALLOC to VM_IO