[PATCH v2] powerpc/book3s64/hugetlb: Fix disabling hugetlb when fadump is active
Madhavan Srinivasan
maddy at linux.ibm.com
Wed Jan 1 20:08:47 AEDT 2025
On Tue, 17 Dec 2024 13:16:40 +0530, Sourabh Jain wrote:
> Commit 8597538712eb ("powerpc/fadump: Do not use hugepages when fadump
> is active") disabled hugetlb support when fadump is active by returning
> early from hugetlbpage_init():arch/powerpc/mm/hugetlbpage.c and not
> populating hpage_shift/HPAGE_SHIFT.
>
> Later, commit 2354ad252b66 ("powerpc/mm: Update default hugetlb size
> early") moved the allocation of hpage_shift/HPAGE_SHIFT to early boot,
> which inadvertently re-enabled hugetlb support when fadump is active.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/book3s64/hugetlb: Fix disabling hugetlb when fadump is active
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?h=next&id=d629d7a8efc33d05d62f4805c0ffb44727e3d99f
Thanks
More information about the Linuxppc-dev
mailing list