powerpc/mm: Fix kernel protection and implement STRICT_KERNEL_RWX on PPC32
cover powerpc/mm: Fix kernel protection and implement STRICT_KERNEL_RWX on PPC32
This patch set implements STRICT_KERNEL_RWX on Powerpc32 after fixing a few issues related to kernel code page protection.
It superseeds the previous patch set identified "Fix kernel protection and implement CONFIG_DEBUG_RODATA on PPC32"
This set is based on Balbir Singh <[email protected]> set identified "Enable STRICT_KERNEL_RWX" and applies on top of it.
At the end we take the opportunity to get rid of some unneccessary/outdated fixmap stuff.
Christophe Leroy (7):
powerpc/mm: rename map_page() to map_kernel_page() on PPC32 powerpc/mm: Ensure change_page_attr() doesn't invalidate pinned TLBs powerpc/mm: Fix kernel RAM protection after freeing unused memory on
PPC32
powerpc/mm: Implement STRICT_KERNEL_RWX on PPC32 powerpc/mm: declare some local functions static powerpc/mm: remove __this_fixmap_does_not_exist() powerpc/mm: Simplify __set_fixmap()
arch/powerpc/Kconfig | 3 +- arch/powerpc/include/asm/book3s/32/pgtable.h | 3 +- arch/powerpc/include/asm/fixmap.h | 10 ++-- arch/powerpc/include/asm/nohash/32/pgtable.h | 3 +- arch/powerpc/kernel/vmlinux.lds.S | 2 +- arch/powerpc/mm/8xx_mmu.c | 2 +- arch/powerpc/mm/dma-noncoherent.c | 2 +- arch/powerpc/mm/init_32.c | 6 +++ arch/powerpc/mm/mem.c | 5 +- arch/powerpc/mm/mmu_decl.h | 4 +- arch/powerpc/mm/pgtable_32.c | 73 ++++++++++++++++------------ 11 files changed, 69 insertions(+), 44 deletions(-)
Signature · 1 line
2.12.0
PATCH 1/7 powerpc/mm: rename map_page() to map_kernel_page() on PPC32
--- 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 ++-- arch/powerpc/mm/mmu_decl.h | 1 - arch/powerpc/mm/pgtable_32.c | 8 ++++---- 7 files changed, 12 insertions(+), 9 deletions(-)
arch/powerpc/include/asm/book3s/32/pgtable.h +2 -0
@@ -297,6 +297,8 @@ static inline void __ptep_set_access_flags(struct mm_struct *mm,extern int get_pteptr (struct mm_struct *mm,unsigned long addr,pte_t **ptep,pmd_t **pmdp); +int map_kernel_page (unsigned long va,phys_addr_t pa,int flags); +/* Generic accessors to PTE bits */ static inline int pte_write (pte_t pte) {return !!(pte_val (pte) & _PAGE_RW);}static inline int pte_dirty (pte_t pte) {return !!(pte_val (pte) & _PAGE_DIRTY); }
arch/powerpc/include/asm/nohash/32/pgtable.h +2 -0
@@ -340,6 +340,8 @@ static inline void __ptep_set_access_flags(struct mm_struct *mm,extern int get_pteptr (struct mm_struct *mm,unsigned long addr,pte_t **ptep,pmd_t **pmdp); +int map_kernel_page (unsigned long va,phys_addr_t pa,int flags); +#endif /* !__ASSEMBLY__ */ #endif /* __ASM_POWERPC_NOHASH_32_PGTABLE_H */
arch/powerpc/mm/8xx_mmu.c +1 -1
@@ -88,7 +88,7 @@ static void mmu_mapin_immr(void)int offset;for (offset =0 ; offset <IMMR_SIZE ; offset +=PAGE_SIZE ) -map_page (v + offset, p + offset, f); +map_kernel_page (v + offset, p + offset, f); }/* Address of instructions to patch */
arch/powerpc/mm/dma-noncoherent.c +1 -1
@@ -227,7 +227,7 @@ __dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, gfp_t do { SetPageReserved(page); - map_page(vaddr, page_to_phys(page), + map_kernel_page(vaddr, page_to_phys(page), pgprot_val(pgprot_noncached(PAGE_KERNEL))); page++; vaddr += PAGE_SIZE;
arch/powerpc/mm/mem.c +2 -2
@@ -305,11 +305,11 @@ void __init paging_init(void)unsigned long end =__fix_to_virt (FIX_HOLE );for (; v < end; v +=PAGE_SIZE ) -map_page (v,0 ,0 );/* XXX gross */ +map_kernel_page (v,0 ,0 );/* XXX gross */ #endif #ifdef CONFIG_HIGHMEM -map_page (PKMAP_BASE ,0 ,0 );/* XXX gross */ +map_kernel_page (PKMAP_BASE ,0 ,0 );/* XXX gross */ pkmap_page_table =virt_to_kpte (PKMAP_BASE ); kmap_pte =virt_to_kpte (__fix_to_virt (FIX_KMAP_BEGIN ));
arch/powerpc/mm/mmu_decl.h +0 -1
@@ -94,7 +94,6 @@ extern void _tlbia(void);#ifdef CONFIG_PPC32 extern void mapin_ram (void ); -extern int map_page (unsigned long va,phys_addr_t pa,int flags);extern void setbat (int index,unsigned long virt,phys_addr_t phys,unsigned int size,pgprot_t prot);
arch/powerpc/mm/pgtable_32.c +4 -4
@@ -189,7 +189,7 @@ __ioremap_caller(phys_addr_t addr, unsigned long size, unsigned long flags, err =0 ;for (i =0 ; i < size && err ==0 ; i +=PAGE_SIZE ) - err =map_page (v+i, p+i, flags); + err =map_kernel_page (v+i, p+i, flags);if (err) {if (slab_is_available ())vunmap ((void *)v);
@@ -215,7 +215,7 @@ void iounmap(volatile void __iomem *addr) }EXPORT_SYMBOL (iounmap); -int map_page (unsigned long va,phys_addr_t pa,int flags) +int map_kernel_page (unsigned long va,phys_addr_t pa,int flags) {pmd_t *pd;pte_t *pg;
@@ -255,7 +255,7 @@ void __init __mapin_ram_chunk(unsigned long offset, unsigned long top) ktext = ((char *)v >= _stext && (char *)v < etext) || ((char *)v >= _sinittext && (char *)v < _einittext); f = ktext ?pgprot_val (PAGE_KERNEL_TEXT ) :pgprot_val (PAGE_KERNEL ); -map_page (v, p, f); +map_kernel_page (v, p, f);#ifdef CONFIG_PPC_STD_MMU_32 if (ktext)hash_preload (&init_mm, v,0 ,0x300 );
@@ -387,7 +387,7 @@ void __set_fixmap (enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags)return ; } -map_page (address, phys,pgprot_val (flags)); +map_kernel_page (address, phys,pgprot_val (flags)); fixmaps++; }
Signature · 1 line
2.12.0
PATCH 2/7 powerpc/mm: Ensure change_page_attr() doesn't invalidate pinned TLBs
In reply to Christophe Leroy__change_page_attr() uses flush_tlb_page(). flush_tlb_page() uses tlbie instruction, which also invalidates pinned TLBs, which is not what we expect.
This patch modifies the implementation to use flush_tlb_kernel_range() instead. This will make use of tlbia which will preserve pinned TLBs.
--- arch/powerpc/mm/pgtable_32.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
arch/powerpc/mm/pgtable_32.c +6 -4
@@ -325,7 +325,7 @@ get_pteptr(struct mm_struct *mm, unsigned long addr, pte_t **ptep, pmd_t **pmdp)#ifdef CONFIG_DEBUG_PAGEALLOC -static int __change_page_attr (struct page *page,pgprot_t prot) +static int __change_page_attr_noflush (struct page *page,pgprot_t prot) {pte_t *kpte;pmd_t *kpmd;
@@ -339,8 +339,6 @@ static int __change_page_attr(struct page *page, pgprot_t prot)if (!get_pteptr (&init_mm, address, &kpte, &kpmd))return -EINVAL ;__set_pte_at (&init_mm, address, kpte,mk_pte (page, prot),0 ); -wmb (); -flush_tlb_page (NULL , address);pte_unmap (kpte);return 0 ;
@@ -355,13 +353,17 @@ static int change_page_attr(struct page *page, int numpages, pgprot_t prot) {int i, err =0 ;unsigned long flags; +struct page *start = page;local_irq_save (flags);for (i =0 ; i < numpages; i++, page++) { - err =__change_page_attr (page, prot); + err =__change_page_attr_noflush (page, prot);if (err)break ; } +wmb (); +flush_tlb_kernel_range ((unsigned long )page_address (start), + (unsigned long )page_address (page));local_irq_restore (flags);return err; }
Signature · 1 line
2.12.0
PATCH 3/7 powerpc/mm: Fix kernel RAM protection after freeing unused memory on PPC32
In reply to Christophe LeroyAs seen below, allthough the init sections have been freed, the associated memory area is still marked as executable in the page tables.
~ dmesg
[ 5.860093] Freeing unused kernel memory: 592K (c0570000 - c0604000)
~ cat /sys/kernel/debug/kernel_page_tables
---[ Start of kernel VM ]---
0xc0000000-0xc0497fff 4704K rw X present dirty accessed shared 0xc0498000-0xc056ffff 864K rw present dirty accessed shared 0xc0570000-0xc059ffff 192K rw X present dirty accessed shared 0xc05a0000-0xc7ffffff 125312K rw present dirty accessed shared
---[ vmalloc() Area ]---
This patch fixes that.
The implementation is done by reusing the change_page_attr() function implemented for CONFIG_DEBUG_PAGEALLOC
--- arch/powerpc/mm/mem.c | 1 + arch/powerpc/mm/mmu_decl.h | 3 +++ arch/powerpc/mm/pgtable_32.c | 13 ++++++++++--- 3 files changed, 14 insertions(+), 3 deletions(-)
arch/powerpc/mm/mem.c +1 -0
@@ -393,6 +393,7 @@ void free_initmem(void) { ppc_md.progress = ppc_printk_progress;free_initmem_default (POISON_FREE_INITMEM ); +remap_init_ram (); }#ifdef CONFIG_BLK_DEV_INITRD
arch/powerpc/mm/mmu_decl.h +3 -0
@@ -94,6 +94,7 @@ extern void _tlbia(void);#ifdef CONFIG_PPC32 extern void mapin_ram (void ); +void remap_init_ram (void );extern void setbat (int index,unsigned long virt,phys_addr_t phys,unsigned int size,pgprot_t prot);
@@ -105,6 +106,8 @@ struct hash_pte;extern struct hash_pte *Hash, *Hash_end;extern unsigned long Hash_size, Hash_mask; +#else +static inline void remap_init_ram (void ) {}#endif /* CONFIG_PPC32 */ extern unsigned long ioremap_bot;
arch/powerpc/mm/pgtable_32.c +10 -3
@@ -323,8 +323,6 @@ get_pteptr(struct mm_struct *mm, unsigned long addr, pte_t **ptep, pmd_t **pmdp)return (retval); } -#ifdef CONFIG_DEBUG_PAGEALLOC -static int __change_page_attr_noflush (struct page *page,pgprot_t prot) {pte_t *kpte;
@@ -347,7 +345,7 @@ static int __change_page_attr_noflush(struct page *page, pgprot_t prot)/* * Change the page attributes of an page in the linear mapping. * -* THIS CONFLICTS WITH BAT MAPPINGS, DEBUG USE ONLY +* THIS DOES NOTHING WITH BAT MAPPINGS, DEBUG USE ONLY */ static int change_page_attr (struct page *page,int numpages,pgprot_t prot) {
@@ -368,7 +366,16 @@ static int change_page_attr(struct page *page, int numpages, pgprot_t prot)return err; } +void remap_init_ram (void ) +{ +struct page *page =virt_to_page (_sinittext); +unsigned long numpages =PFN_UP ((unsigned long )_einittext) - +PFN_DOWN ((unsigned long )_sinittext); + +change_page_attr (page, numpages,PAGE_KERNEL ); +} +#ifdef CONFIG_DEBUG_PAGEALLOC void __kernel_map_pages (struct page *page,int numpages,int enable) {if (PageHighMem (page))
Signature · 1 line
2.12.0
PATCH 4/7 powerpc/mm: Implement STRICT_KERNEL_RWX on PPC32
In reply to Christophe LeroyThis patch implements STRICT_KERNEL_RWX on PPC32.
As for CONFIG_DEBUG_PAGEALLOC, it deactivates BAT and LTLB mappings in order to allow page protection setup at the level of each page.
As BAT/LTLB mappings are deactivated, there might be a performance impact. For this reason, we make it optional and keep it OFF by default.
--- arch/powerpc/Kconfig | 3 ++- arch/powerpc/kernel/vmlinux.lds.S | 2 +- arch/powerpc/mm/init_32.c | 6 ++++++ arch/powerpc/mm/pgtable_32.c | 24 ++++++++++++++++++++++++ 4 files changed, 33 insertions(+), 2 deletions(-)
arch/powerpc/Kconfig +2 -1
@@ -171,7 +171,8 @@ config PPC select HAVE_ARCH_MMAP_RND_COMPAT_BITS if COMPAT select HAVE_ARCH_SECCOMP_FILTER select HAVE_ARCH_TRACEHOOK - select ARCH_HAS_STRICT_KERNEL_RWX if PPC64 && PPC_BOOK3S + select ARCH_HAS_STRICT_KERNEL_RWX if PPC32 || (PPC64 && PPC_BOOK3S) + select ARCH_OPTIONAL_KERNEL_RWX if PPC32 select HAVE_CBPF_JIT if !PPC64 select HAVE_CONTEXT_TRACKING if PPC64 select HAVE_DEBUG_KMEMLEAK
arch/powerpc/kernel/vmlinux.lds.S +1 -1
@@ -8,7 +8,7 @@ #include <asm/cache.h> #include <asm/thread_info.h> -#ifdef CONFIG_STRICT_KERNEL_RWX +#if defined(CONFIG_STRICT_KERNEL_RWX) && !defined(CONFIG_PPC32) #define STRICT_ALIGN_SIZE (1 << 24) #else #define STRICT_ALIGN_SIZE PAGE_SIZE
arch/powerpc/mm/init_32.c +6 -0
@@ -113,6 +113,12 @@ void __init MMU_setup(void) __map_without_bats =1 ; __map_without_ltlbs =1 ; } +#ifdef CONFIG_STRICT_KERNEL_RWX +if (rodata_enabled) { + __map_without_bats =1 ; + __map_without_ltlbs =1 ; + } +#endif }/*
arch/powerpc/mm/pgtable_32.c +24 -0
@@ -34,6 +34,7 @@#include <asm/fixmap.h> #include <asm/io.h> #include <asm/setup.h> +#include <asm/sections.h> #include "mmu_decl.h"
@@ -375,6 +376,29 @@ void remap_init_ram(void)change_page_attr (page, numpages,PAGE_KERNEL ); } +#ifdef CONFIG_STRICT_KERNEL_RWX +void mark_rodata_ro (void ) +{ +struct page *page; +unsigned long numpages; + + page =virt_to_page (_stext); + numpages =PFN_UP ((unsigned long )_etext) - +PFN_DOWN ((unsigned long )_stext); + +change_page_attr (page, numpages,PAGE_KERNEL_ROX ); +/* +* mark .rodata as read only. Use __init_begin rather than __end_rodata +* to cover NOTES and EXCEPTION_TABLE. +*/ + page =virt_to_page (__start_rodata); + numpages =PFN_UP ((unsigned long )__init_begin) - +PFN_DOWN ((unsigned long )__start_rodata); + +change_page_attr (page, numpages,PAGE_KERNEL_RO ); +} +#endif +#ifdef CONFIG_DEBUG_PAGEALLOC void __kernel_map_pages (struct page *page,int numpages,int enable) {
Signature · 1 line
2.12.0
PATCH 5/7 powerpc/mm: declare some local functions static
In reply to Christophe Leroyget_pteptr() and __mapin_ram_chunk() are only used locally, so define them static
--- arch/powerpc/include/asm/book3s/32/pgtable.h | 3 --- arch/powerpc/include/asm/nohash/32/pgtable.h | 3 --- arch/powerpc/mm/pgtable_32.c | 4 ++-- 3 files changed, 2 insertions(+), 8 deletions(-)
arch/powerpc/include/asm/book3s/32/pgtable.h +0 -3
@@ -294,9 +294,6 @@ static inline void __ptep_set_access_flags(struct mm_struct *mm,#define __pte_to_swp_entry (pte) ((swp_entry_t) { pte_val(pte) >> 3 })#define __swp_entry_to_pte (x) ((pte_t) { (x).val << 3 }) -extern int get_pteptr (struct mm_struct *mm,unsigned long addr,pte_t **ptep, -pmd_t **pmdp); -int map_kernel_page (unsigned long va,phys_addr_t pa,int flags);/* Generic accessors to PTE bits */
arch/powerpc/include/asm/nohash/32/pgtable.h +0 -3
@@ -337,9 +337,6 @@ static inline void __ptep_set_access_flags(struct mm_struct *mm,#define __pte_to_swp_entry (pte) ((swp_entry_t) { pte_val(pte) >> 3 })#define __swp_entry_to_pte (x) ((pte_t) { (x).val << 3 }) -extern int get_pteptr (struct mm_struct *mm,unsigned long addr,pte_t **ptep, -pmd_t **pmdp); -int map_kernel_page (unsigned long va,phys_addr_t pa,int flags);#endif /* !__ASSEMBLY__ */
arch/powerpc/mm/pgtable_32.c +2 -2
@@ -243,7 +243,7 @@ int map_kernel_page(unsigned long va, phys_addr_t pa, int flags)/* * Map in a chunk of physical memory starting at start. */ -void __init __mapin_ram_chunk (unsigned long offset,unsigned long top) +static void __init __mapin_ram_chunk (unsigned long offset,unsigned long top) {unsigned long v, s, f;phys_addr_t p;
@@ -295,7 +295,7 @@ void __init mapin_ram(void)* Returns true (1) if PTE was found, zero otherwise. The pointer to * the PTE pointer is unmodified if PTE is not found. */ -int +static int get_pteptr (struct mm_struct *mm,unsigned long addr,pte_t **ptep,pmd_t **pmdp) {pgd_t *pgd;
Signature · 1 line
2.12.0
PATCH 6/7 powerpc/mm: remove __this_fixmap_does_not_exist()
In reply to Christophe LeroyThis function has not been used since commit 9494a1e8428ea ("powerpc: use generic fixmap.h)
--- arch/powerpc/mm/pgtable_32.c | 5 ----- 1 file changed, 5 deletions(-)
arch/powerpc/mm/pgtable_32.c +0 -5
@@ -423,8 +423,3 @@ void __set_fixmap (enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags)map_kernel_page (address, phys,pgprot_val (flags)); fixmaps++; } - -void __this_fixmap_does_not_exist (void ) -{ -WARN_ON (1 ); -}
Signature · 1 line
2.12.0
PATCH 7/7 powerpc/mm: Simplify __set_fixmap()
In reply to Christophe Leroy__set_fixmap() uses __fix_to_virt() then does the boundary checks by it self. Instead, we can use fix_to_virt() which does the verification at build time. For this, we need to use it inline so that GCC can see the real value of idx at buildtime.
In the meantime, we remove the 'fixmaps' variable. This variable is set but has never been used from the beginning (commit 2c419bdeca1d9 ("[POWERPC] Port fixmap from x86 and use for kmap_atomic"))
--- arch/powerpc/include/asm/fixmap.h | 10 +++++++--- arch/powerpc/mm/pgtable_32.c | 15 --------------- 2 files changed, 7 insertions(+), 18 deletions(-)
arch/powerpc/include/asm/fixmap.h +7 -3
@@ -17,6 +17,7 @@#ifndef __ASSEMBLY__#include <linux/kernel.h> #include <asm/page.h> +#include <asm/pgtable.h> #ifdef CONFIG_HIGHMEM #include <linux/threads.h> #include <asm/kmap_types.h>
@@ -62,9 +63,6 @@ enum fixed_addresses { __end_of_fixed_addresses }; -extern void __set_fixmap (enum fixed_addresses idx, -phys_addr_t phys,pgprot_t flags); -#define __FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT)#define FIXADDR_START (FIXADDR_TOP - __FIXADDR_SIZE)
@@ -72,5 +70,11 @@ extern void __set_fixmap (enum fixed_addresses idx,#include <asm-generic/fixmap.h> +static inline void __set_fixmap (enum fixed_addresses idx, +phys_addr_t phys,pgprot_t flags) +{ +map_kernel_page (fix_to_virt (idx), phys,pgprot_val (flags)); +} +#endif /* !__ASSEMBLY__ */ #endif
arch/powerpc/mm/pgtable_32.c +0 -15
@@ -408,18 +408,3 @@ void __kernel_map_pages(struct page *page, int numpages, int enable) change_page_attr(page, numpages, enable ? PAGE_KERNEL : __pgprot(0)); }#endif /* CONFIG_DEBUG_PAGEALLOC */ - -static int fixmaps; - -void __set_fixmap (enum fixed_addresses idx,phys_addr_t phys,pgprot_t flags) -{ -unsigned long address =__fix_to_virt (idx); - -if (idx >= __end_of_fixed_addresses) { -BUG (); -return ; - } - -map_kernel_page (address, phys,pgprot_val (flags)); - fixmaps++; -}
Signature · 1 line
2.12.0
Re: [PATCH 1/7] powerpc/mm: rename map_page() to map_kernel_page() on PPC32
In reply to Christophe LeroyQuoted 2 lines · On Mon, 29 May 2017 17:31:56 +0200 (CEST) Christophe Leroy…
Signed-off-by Christophe Leroy <[email protected]>---
...
arch/powerpc/mm/mem.c void __init paging_init(void) · line 308
Quoted 10 lines
arch/powerpc/mm/mem.c +1
-1@@ -305,11 +305,11 @@ void __init paging_init(void)unsigned long end =__fix_to_virt (FIX_HOLE );for (; v < end; v +=PAGE_SIZE ) -map_page (v,0 ,0 );/* XXX gross */ +map_kernel_page (v,0 ,0 );/* XXX gross */
What is 0, 0? Everything maps to physical address 0 with 0 permissions?
Thanks for doing this
Balbir
Re: [PATCH 3/7] powerpc/mm: Fix kernel RAM protection after freeing unused memory on PPC32
In reply to Christophe LeroyQuoted 3 lines · On Mon, 29 May 2017 17:32:00 +0200 (CEST) Christophe Leroy…
As seen below, allthough the init sections have been freed, the associated memory area is still marked as executable in the page tables.
Good catch!
Michael Ellerman
reviewerRe: [PATCH 1/7] powerpc/mm: rename map_page() to map_kernel_page() on PPC32
In reply to Christophe LeroyChristophe Leroy <[email protected]> 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
Quoted 5 lines · Michael Ellerman
Christophe Leroy <[email protected]> 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 on PPC64. However we have map_page() which does the same on PPC32, hence the renaming.
Quoted 4 lines
You also moved the declaration from
mmu_decl.htobook3s/32/pgtable.h, but didn't update any includes, presumably we're confident everything getspgtable.hsomehow?
Yes I did that so that lib/code_patching.c sees it.
All users of map_page() already include pgtable in a way or another.
Christophe
Michael Ellerman
AppliedRe: [6/7] powerpc/mm: remove __this_fixmap_does_not_exist()
In reply to Christophe LeroyQuoted 4 lines · Christophe Leroy
This function has not been used since commit
9494a1e8428ea("powerpc: use genericfixmap.h)Signed-off-by Christophe Leroy <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/9affa9e228d3ece66ed322909e84cf
cheers
Michael Ellerman
AppliedRe: [1/7] powerpc/mm: rename map_page() to map_kernel_page() on PPC32
In reply to Christophe LeroyQuoted 2 lines · Christophe Leroy
Signed-off-by Christophe Leroy <[email protected]>Acked-by Balbir Singh <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/4386c096c2ffa1b3232d701e9d7ff8
cheers