Re: [PATCH v2] powerpc/book3s64/hugetlb: Fix disabling hugetlb when fadump is active

From
Madhavan Srinivasan <maddy@linux.ibm.com>
Date
2025-01-01 09:09:17
Reply to
Sourabh Jain, 2024-12-17
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
Thread (2 messages) 2 messages, 2 authors, last reply 2025-01-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help