[PATCH] riscv: move memblock_allow_resize() after lm is ready

Conor Dooley conor at kernel.org
Sat Jun 10 08:44:19 PDT 2023


On Sat, Jun 10, 2023 at 07:43:20AM +0800, Woody Zhang wrote:
$subject: "riscv: move memblock_allow_resize() after lm is ready"

s/lm/linear map/ if you resubmit, please.

> The initial memblock metadata is accessed from kernel image mapping. The
> regions arrays need to "reallocated" from memblock and accessed through
> linear mapping to cover more memblock regions. So the resizing should
> not be allowed until linear mapping is ready. Note that there are
> memblock allocations when building linear mapping.
> 
> Signed-off-by: Woody Zhang <woodylab at foxmail.com>

What commit does this fix?

Cheers,
Conor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20230610/1a7ca1bb/attachment.sig>


More information about the linux-riscv mailing list