Re: [PATCH] powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL

2024-08-12 Thread Michael Ellerman
On Thu, 08 Aug 2024 09:05:08 +0200, Christophe Leroy wrote: > Booting with CONFIG_DEBUG_VIRTUAL leads to following warning when > passing hugepage reservation on command line: > > Kernel command line: hugepagesz=1g hugepages=1 hugepagesz=64m hugepages=1 > hugepagesz=256m hugepages=1 noreboot >

[PATCH] powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL

2024-08-08 Thread Christophe Leroy
Booting with CONFIG_DEBUG_VIRTUAL leads to following warning when passing hugepage reservation on command line: Kernel command line: hugepagesz=1g hugepages=1 hugepagesz=64m hugepages=1 hugepagesz=256m hugepages=1 noreboot HugeTLB: allocating 1 of page size 1.00 GiB failed. Only allocated 0