Re: [PATCH v3 1/2] powerpc/fadump: allocate memory for additional parameters early
From: Sourabh Jain <hidden>
Date: 2025-01-17 12:33:18
Hello Christophe, On 17/01/25 17:43, Christophe Leroy wrote:
Le 13/11/2024 à 08:06, Sourabh Jain a écrit :quoted
From: Hari Bathini <hbathini@linux.ibm.com> Memory for passing additional parameters to fadump capture kernel is allocated during subsys_initcall level, using memblock. But as slab is already available by this time, allocation happens via the buddy allocator. This may work for radix MMU but is likely to fail in most cases for hash MMU as hash MMU needs this memory in the first memory block for it to be accessible in real mode in the capture kernel (second boot). So, allocate memory for additional parameters area as soon as MMU mode is obvious. Fixes: 683eab94da75 ("powerpc/fadump: setup additional parameters for dump capture kernel") Reported-by: Venkat Rao Bagalkote <redacted> Closes: https://lore.kernel.org/lkml/a70e4064-a040-447b-8556-1fd02f19383d@linux.vnet.ibm.com/T/#u (local) Cc: Mahesh Salgaonkar <mahesh@linux.ibm.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Signed-off-by: Hari Bathini <hbathini@linux.ibm.com> Signed-off-by: Sourabh Jain <redacted>Version v2 of this series was applied. If needed, can you rebase this patch ?
Sorry, I didn't get that. Rebase on top of which tree/branch? FYI, there was no functional change from v2 to v3. Only a "Reviewed-by" tag was added. Thanks, Sourabh Jain