Re: [RFC PATCH v3 06/16] powerpc/mm: Allow hugepages without hugepd

2024-05-27 Thread Oscar Salvador
On Sun, May 26, 2024 at 11:22:26AM +0200, Christophe Leroy wrote: > In preparation of implementing huge pages on powerpc 8xx > without hugepd, enclose hugepd related code inside an > ifdef CONFIG_ARCH_HAS_HUGEPD > > This also allows removing some stubs. > > Signed-off-by: Christophe Leroy Revie

[RFC PATCH v3 06/16] powerpc/mm: Allow hugepages without hugepd

2024-05-26 Thread Christophe Leroy
In preparation of implementing huge pages on powerpc 8xx without hugepd, enclose hugepd related code inside an ifdef CONFIG_ARCH_HAS_HUGEPD This also allows removing some stubs. Signed-off-by: Christophe Leroy --- v3: - Prepare huge_pte_alloc() for full standard topology, not only for 2-level -