Re: [1/7] powerpc/mm: rename map_page() to map_kernel_page() on PPC32

2017-06-07 Thread Michael Ellerman
On Mon, 2017-05-29 at 15:31:56 UTC, Christophe Leroy wrote: > Signed-off-by: Christophe Leroy > Acked-by: Balbir Singh Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/4386c096c2ffa1b3232d701e9d7ff8 cheers

Re: [PATCH 1/7] powerpc/mm: rename map_page() to map_kernel_page() on PPC32

2017-05-30 Thread Christophe LEROY
Le 30/05/2017 à 12:50, Michael Ellerman a écrit : Christophe Leroy writes: ... Please tell me why. Because of patch https://patchwork.ozlabs.org/patch/766777/ which modifies patch_instruction() to use an alternative mapping. Compilation fails on PPC32 because map_kernel_page() only exists

Re: [PATCH 1/7] powerpc/mm: rename map_page() to map_kernel_page() on PPC32

2017-05-30 Thread Michael Ellerman
Christophe Leroy writes: ... Please tell me why. You also moved the declaration from mmu_decl.h to book3s/32/pgtable.h, but didn't update any includes, presumably we're confident everything gets pgtable.h somehow? cheers

Re: [PATCH 1/7] powerpc/mm: rename map_page() to map_kernel_page() on PPC32

2017-05-29 Thread Balbir Singh
On Mon, 29 May 2017 17:31:56 +0200 (CEST) Christophe Leroy wrote: > Signed-off-by: Christophe Leroy > --- ... > diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c > index de5a90e1ceaa..8e9bef964dbf 100644 > --- a/arch/powerpc/mm/mem.c > +++ b/arch/powerpc/mm/mem.c > @@ -305,11 +305,11 @

[PATCH 1/7] powerpc/mm: rename map_page() to map_kernel_page() on PPC32

2017-05-29 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/32/pgtable.h | 2 ++ arch/powerpc/include/asm/nohash/32/pgtable.h | 2 ++ arch/powerpc/mm/8xx_mmu.c| 2 +- arch/powerpc/mm/dma-noncoherent.c| 2 +- arch/powerpc/mm/mem.c| 4