[PATCH v2 1/2] powerpc/fadump: allocate memory for additional parameters early

Michael Ellerman patch-notifications at ellerman.id.au
Sun Nov 17 23:09:57 AEDT 2024


On Thu, 07 Nov 2024 11:28:16 +0530, Sourabh Jain wrote:
> 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.
> 
> [...]

Applied to powerpc/next.

[1/2] powerpc/fadump: allocate memory for additional parameters early
      https://git.kernel.org/powerpc/c/f4892c68ecc1cf45e41a78820dd2eebccc945b66
[2/2] fadump: reserve param area if below boot_mem_top
      https://git.kernel.org/powerpc/c/fb90dca828b6070709093934c6dec56489a2d91d

cheers


More information about the Linuxppc-dev mailing list