Re: [PATCH V8] mm/debug: Add tests validating architecture page table helpers

2019-11-07 Thread Michael Ellerman
pc32 is a part of powerpc, not a standalone arch. > > Right, I understand. But we are yet to hear about how this test > came about on powerpc server platforms. Will update 'powerpc' > arch listing above once we get some confirmation. May be once > this works on all relev

Re: [PATCH V8] mm/debug: Add tests validating architecture page table helpers

2019-11-07 Thread Anshuman Khandual
; came about on powerpc server platforms. Will update 'powerpc' >> arch listing above once we get some confirmation. May be once >> this works on all relevant powerpc platforms, we can just merge >> 'powerpc' and 'ppc32' entries here as just &#

Re: [PATCH 12/21] arch: rely on asm-generic/io.h for default ioremap_* definitions

2019-11-07 Thread Palmer Dabbelt
On Mon, 28 Oct 2019 23:48:25 PDT (-0700), Christoph Hellwig wrote: Various architectures that use asm-generic/io.h still defined their own default versions of ioremap_nocache, ioremap_wt and ioremap_wc that point back to plain ioremap directly or indirectly. Remove these definitions and rely on

Re: [PATCH 17/21] lib: provide a simple generic ioremap implementation

2019-11-07 Thread Palmer Dabbelt
On Mon, 28 Oct 2019 23:48:30 PDT (-0700), Christoph Hellwig wrote: A lot of architectures reuse the same simple ioremap implementation, so start lifting the most simple variant to lib/ioremap.c. It provides ioremap_prot and iounmap, plus a default ioremap that uses prot_noncached, although that

Re: [PATCH V8] mm/debug: Add tests validating architecture page table helpers

2019-11-07 Thread Vineet Gupta
On 11/6/19 8:44 PM, Anshuman Khandual wrote: > >> >>> */ >>> -#ifdef CONFIG_TRANSPARENT_HUGEPAGE >>> +#ifdef CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE >>> #include >>> #endif >> This in wrong.  CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE is a just a glue >> toggle, >> used only in Kconfig files (and no

Re: generic-iomap tree for linux-next

2019-11-07 Thread Stephen Rothwell
Hi Christoph, On Thu, 7 Nov 2019 21:47:43 +0100 Christoph Hellwig wrote: > > can you add the generic-ioremap tree: > >git://git.infradead.org/users/hch/ioremap.git > > to linux-next? I assume you mean the for-next branch? -- Cheers, Stephen Rothwell pgpwSDzMtaGje.pgp Description: OpenP

Re: [PATCH V8] mm/debug: Add tests validating architecture page table helpers

2019-11-07 Thread Anshuman Khandual
On 11/08/2019 12:35 AM, Vineet Gupta wrote: > On 11/6/19 8:44 PM, Anshuman Khandual wrote: >> >>> */ -#ifdef CONFIG_TRANSPARENT_HUGEPAGE +#ifdef CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE #include #endif >>> This in wrong.  CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE is a just

Re: generic-iomap tree for linux-next

2019-11-07 Thread Stephen Rothwell
Hi Christoph, On Fri, 8 Nov 2019 13:20:00 +1100 Stephen Rothwell wrote: > > On Thu, 7 Nov 2019 21:47:43 +0100 Christoph Hellwig wrote: > > > > can you add the generic-ioremap tree: > > > >git://git.infradead.org/users/hch/ioremap.git > > > > to linux-next? > > I assume you mean the fo

Re: generic-iomap tree for linux-next

2019-11-07 Thread Christoph Hellwig
On Fri, Nov 08, 2019 at 03:52:48PM +1100, Stephen Rothwell wrote: > Hi Christoph, > > On Fri, 8 Nov 2019 13:20:00 +1100 Stephen Rothwell > wrote: > > > > On Thu, 7 Nov 2019 21:47:43 +0100 Christoph Hellwig wrote: > > > > > > can you add the generic-ioremap tree: > > > > > >git://git.infrad