linux-stable/arch/powerpc/mm/nohash
Christophe Leroy 9864816180 powerpc/book3e: Fix PUD allocation size in map_kernel_page()
Commit 2fb4706057 ("powerpc: add support for folded p4d page tables")
erroneously changed PUD setup to a mix of PMD and PUD. Fix it.

While at it, use PTE_TABLE_SIZE instead of PAGE_SIZE for PTE tables
in order to avoid any confusion.

Fixes: 2fb4706057 ("powerpc: add support for folded p4d page tables")
Cc: stable@vger.kernel.org # v5.8+
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/95ddfd6176d53e6c85e13bd1c358359daa56775f.1655974558.git.christophe.leroy@csgroup.eu
2022-06-24 12:42:45 +10:00
..
8xx.c powerpc/nohash: Move setup_kuap out of 8xx.c 2021-12-09 22:41:19 +11:00
40x.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
44x.c powerpc/mm: Add __init attribute to eligible functions 2021-12-23 22:33:11 +11:00
book3e_hugetlbpage.c powerpc: fix typos in comments 2022-05-05 22:12:44 +10:00
book3e_pgtable.c powerpc/book3e: Fix PUD allocation size in map_kernel_page() 2022-06-24 12:42:45 +10:00
fsl_book3e.c powerpc/fsl_book3e: Don't set rodata RO too early 2022-05-22 15:59:54 +10:00
kaslr_booke.c powerpc/book3e: get rid of #include <generated/compile.h> 2022-06-06 10:23:33 +10:00
kup.c powerpc/kuap: Wire-up KUAP on 40x 2021-12-09 22:41:20 +11:00
Makefile powerpc/nohash: Move setup_kuap out of 8xx.c 2021-12-09 22:41:19 +11:00
mmu_context.c powerpc/mm: Make slice specific to book3s/64 2022-05-05 22:11:57 +10:00
tlb.c powerpc/8xx: Simplify flush_tlb_kernel_range() 2022-05-08 22:15:40 +10:00
tlb_low.S powerpc/fsl_booke: Enable reloading of TLBCAM without switching to AS1 2021-10-22 15:22:03 +11:00
tlb_low_64e.S powerpc/kuap: Wire-up KUAP on book3e/64 2021-12-09 22:41:20 +11:00