Re: [PATCH v3] riscv: move memblock_allow_resize() after linear mapping is ready

From: Palmer Dabbelt
Date: Wed Jul 05 2023 - 19:40:44 EST



On Wed, 14 Jun 2023 21:19:07 +0800, Woody Zhang wrote:
> 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.
>
> This patch is similar to 24cc61d8cb5a ("arm64: memblock: don't permit
> memblock resizing until linear mapping is up").
>
> [...]

Applied, thanks!

[1/1] riscv: move memblock_allow_resize() after linear mapping is ready
https://git.kernel.org/palmer/c/85fadc0d0411

Best regards,
--
Palmer Dabbelt <palmer@xxxxxxxxxxxx>