Re: [PATCH] powerpc/book3e: Fix PUD allocation size in map_kernel_page()

2022-06-29 Thread Michael Ellerman
On Thu, 23 Jun 2022 10:56:17 +0200, Christophe Leroy wrote: > Commit 2fb4706057bc ("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

Re: [PATCH] powerpc/book3e: Fix PUD allocation size in map_kernel_page()

2022-06-23 Thread Mike Rapoport
On Thu, Jun 23, 2022 at 10:56:17AM +0200, Christophe Leroy wrote: > Commit 2fb4706057bc ("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

[PATCH] powerpc/book3e: Fix PUD allocation size in map_kernel_page()

2022-06-23 Thread Christophe Leroy
Commit 2fb4706057bc ("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: 2fb4706057bc ("powerpc: add support for folded p4d