Re: [PATCH 05/26] openrisc: map as uncached in ioremap

2019-08-30 Thread Stafford Horne
On Fri, Aug 30, 2019 at 06:07:05PM +0200, Christoph Hellwig wrote: > On Fri, Aug 23, 2019 at 10:55:39PM +0900, Stafford Horne wrote: > > On Sat, Aug 17, 2019 at 09:32:32AM +0200, Christoph Hellwig wrote: > > > Openrisc is the only architecture not mapping ioremap as uncached, > > > which has been t

Re: [PATCH 2/3] kbuild, arc: add CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3 for ARC

2019-08-30 Thread Vineet Gupta
On 8/20/19 10:09 AM, Masahiro Yamada wrote: > arch/arc/Makefile overrides -O2 with -O3. This is the only user of > ARCH_CFLAGS. There is no user of ARCH_CPPFLAGS or ARCH_AFLAGS. > My plan is to remove ARCH_{CPP,A,C}FLAGS after refactoring the ARC > Makefile. Why, it seems like a good generic facil

Re: [PATCH 05/26] openrisc: map as uncached in ioremap

2019-08-30 Thread Christoph Hellwig
On Fri, Aug 23, 2019 at 10:55:39PM +0900, Stafford Horne wrote: > On Sat, Aug 17, 2019 at 09:32:32AM +0200, Christoph Hellwig wrote: > > Openrisc is the only architecture not mapping ioremap as uncached, > > which has been the default since the Linux 2.6.x days. Switch it > > over to implement unc

Re: [PATCH 04/26] mips: remove ioremap_cachable

2019-08-30 Thread Christoph Hellwig
On Mon, Aug 19, 2019 at 08:57:30PM +, Paul Burton wrote: > Hi Christoph, > > On Sat, Aug 17, 2019 at 09:32:31AM +0200, Christoph Hellwig wrote: > > Just define ioremap_cache directly. > > > > Signed-off-by: Christoph Hellwig > > Acked-by: Paul Burton Can you pick this patch up through the

Re: [PATCH 08/26] m68k: simplify ioremap_nocache

2019-08-30 Thread Christoph Hellwig
On Mon, Aug 19, 2019 at 10:56:02AM +0200, Geert Uytterhoeven wrote: > Hi Christoph, > > On Sat, Aug 17, 2019 at 9:48 AM Christoph Hellwig wrote: > > Just define ioremap_nocache to ioremap instead of duplicating the > > inline. Also defined ioremap_uc in terms of ioremap instead of > > the using

Re: [PATCH 19/26] arm64: remove __iounmap

2019-08-30 Thread Christoph Hellwig
On Mon, Aug 19, 2019 at 08:36:02AM +0100, Will Deacon wrote: > On Sat, Aug 17, 2019 at 09:32:46AM +0200, Christoph Hellwig wrote: > > No need to indirect iounmap for arm64. > > > > Signed-off-by: Christoph Hellwig > > --- > > arch/arm64/include/asm/io.h | 3 +-- > > arch/arm64/mm/ioremap.c |

Re: [PATCH 12/26] x86: clean up ioremap

2019-08-30 Thread Christoph Hellwig
On Sat, Aug 17, 2019 at 12:34:02PM +0200, Ingo Molnar wrote: > > * Christoph Hellwig wrote: > > > Use ioremap as the main implemented function, and defined > > ioremap_nocache to it as a deprecated alias. > > > > Signed-off-by: Christoph Hellwig > > --- > > arch/x86/include/asm/io.h | 8 ++---