Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-14 Thread yalin wang
> On Oct 14, 2015, at 16:23, Arnd Bergmann wrote: > > On Wednesday 14 October 2015 10:41:26 yalin wang wrote: > >>> On Oct 13, 2015, at 23:20, Catalin Marinas wrote: I'm not sure we want this. See: https://lkml.org/lkml/2015/10/9/699 >>> >>> Thanks Will and Arnd, I missed

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-14 Thread Arnd Bergmann
On Wednesday 14 October 2015 10:41:26 yalin wang wrote: > > On Oct 13, 2015, at 23:20, Catalin Marinas wrote: > >> I'm not sure we want this. See: > >> > >> https://lkml.org/lkml/2015/10/9/699 > > > > Thanks Will and Arnd, I missed this. Patch reverted. > > > i don’t understand why conflict

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-14 Thread Arnd Bergmann
On Wednesday 14 October 2015 10:41:26 yalin wang wrote: > > On Oct 13, 2015, at 23:20, Catalin Marinas wrote: > >> I'm not sure we want this. See: > >> > >> https://lkml.org/lkml/2015/10/9/699 > > > > Thanks Will and Arnd, I missed this. Patch reverted. > > > i don’t

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-14 Thread yalin wang
> On Oct 14, 2015, at 16:23, Arnd Bergmann wrote: > > On Wednesday 14 October 2015 10:41:26 yalin wang wrote: > >>> On Oct 13, 2015, at 23:20, Catalin Marinas wrote: I'm not sure we want this. See: https://lkml.org/lkml/2015/10/9/699 >>>

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread yalin wang
> On Oct 13, 2015, at 23:20, Catalin Marinas wrote: > > On Tue, Oct 13, 2015 at 03:23:27PM +0100, Will Deacon wrote: >> On Tue, Oct 13, 2015 at 03:10:55PM +0100, Catalin Marinas wrote: >>> On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: Add ioremap_cache macro, because some

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread Catalin Marinas
On Tue, Oct 13, 2015 at 03:23:27PM +0100, Will Deacon wrote: > On Tue, Oct 13, 2015 at 03:10:55PM +0100, Catalin Marinas wrote: > > On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: > > > Add ioremap_cache macro, because some code will test if this macro > > > is defined or not, and will

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread Arnd Bergmann
On Tuesday 13 October 2015 15:10:55 Catalin Marinas wrote: > On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: > > Add ioremap_cache macro, because some code will test if this macro > > is defined or not, and will generate a generric version if not defined, > > for example, memremap.c do

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread Will Deacon
On Tue, Oct 13, 2015 at 03:10:55PM +0100, Catalin Marinas wrote: > On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: > > Add ioremap_cache macro, because some code will test if this macro > > is defined or not, and will generate a generric version if not defined, > > for example,

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread Catalin Marinas
On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: > Add ioremap_cache macro, because some code will test if this macro > is defined or not, and will generate a generric version if not defined, > for example, memremap.c do like this. > > Signed-off-by: yalin wang > --- >

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread yalin wang
> On Oct 13, 2015, at 23:20, Catalin Marinas wrote: > > On Tue, Oct 13, 2015 at 03:23:27PM +0100, Will Deacon wrote: >> On Tue, Oct 13, 2015 at 03:10:55PM +0100, Catalin Marinas wrote: >>> On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: Add

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread Catalin Marinas
On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: > Add ioremap_cache macro, because some code will test if this macro > is defined or not, and will generate a generric version if not defined, > for example, memremap.c do like this. > > Signed-off-by: yalin wang

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread Will Deacon
On Tue, Oct 13, 2015 at 03:10:55PM +0100, Catalin Marinas wrote: > On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: > > Add ioremap_cache macro, because some code will test if this macro > > is defined or not, and will generate a generric version if not defined, > > for example,

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread Catalin Marinas
On Tue, Oct 13, 2015 at 03:23:27PM +0100, Will Deacon wrote: > On Tue, Oct 13, 2015 at 03:10:55PM +0100, Catalin Marinas wrote: > > On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: > > > Add ioremap_cache macro, because some code will test if this macro > > > is defined or not, and will

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread Arnd Bergmann
On Tuesday 13 October 2015 15:10:55 Catalin Marinas wrote: > On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: > > Add ioremap_cache macro, because some code will test if this macro > > is defined or not, and will generate a generric version if not defined, > > for example, memremap.c do

[RFC] arm64: ioremap: add ioremap_cache macro

2015-10-11 Thread yalin wang
Add ioremap_cache macro, because some code will test if this macro is defined or not, and will generate a generric version if not defined, for example, memremap.c do like this. Signed-off-by: yalin wang --- arch/arm64/include/asm/io.h | 1 + 1 file changed, 1 insertion(+) diff --git

[RFC] arm64: ioremap: add ioremap_cache macro

2015-10-11 Thread yalin wang
Add ioremap_cache macro, because some code will test if this macro is defined or not, and will generate a generric version if not defined, for example, memremap.c do like this. Signed-off-by: yalin wang --- arch/arm64/include/asm/io.h | 1 + 1 file changed, 1