[PATCH v3] riscv: move memblock_allow_resize() after linear mapping is ready
Palmer Dabbelt
palmer at rivosinc.com
Wed Jul 5 16:38:27 PDT 2023
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 at rivosinc.com>
More information about the linux-riscv
mailing list