[PATCH v2] powerpc/book3s64/radix: Fix boot failure with large amount of guest memory
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Sep 3 22:26:28 AEST 2020
On Fri, 28 Aug 2020 15:38:52 +0530, Aneesh Kumar K.V wrote:
> If the hypervisor doesn't support hugepages, the kernel ends up allocating a large
> number of page table pages. The early page table allocation was wrongly
> setting the max memblock limit to ppc64_rma_size with radix translation
> which resulted in boot failure as shown below.
>
> Kernel panic - not syncing:
> early_alloc_pgtable: Failed to allocate 16777216 bytes align=0x1000000 nid=-1 from=0x0000000000000000 max_addr=0xffffffffffffffff
> CPU: 0 PID: 0 Comm: swapper Not tainted 5.8.0-24.9-default+ #2
> Call Trace:
> [c0000000016f3d00] [c0000000007c6470] dump_stack+0xc4/0x114 (unreliable)
> [c0000000016f3d40] [c00000000014c78c] panic+0x164/0x418
> [c0000000016f3dd0] [c000000000098890] early_alloc_pgtable+0xe0/0xec
> [c0000000016f3e60] [c0000000010a5440] radix__early_init_mmu+0x360/0x4b4
> [c0000000016f3ef0] [c000000001099bac] early_init_mmu+0x1c/0x3c
> [c0000000016f3f10] [c00000000109a320] early_setup+0x134/0x170
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/book3s64/radix: Fix boot failure with large amount of guest memory
https://git.kernel.org/powerpc/c/103a8542cb35b5130f732d00b0419a594ba1b517
cheers
More information about the Linuxppc-dev
mailing list