Re: [PATCH v2] riscv: Move call to init_cpu_topology() to later initialization stage

From: Palmer Dabbelt
Date: Wed Jan 25 2023 - 13:11:11 EST


On Thu, 5 Jan 2023 11:37:05 +0800, Ley Foon Tan wrote:
> If "capacity-dmips-mhz" is present in a CPU DT node,
> topology_parse_cpu_capacity() will fail to allocate memory.
> ARM64, with which this code path is shared, does not call
> topology_parse_cpu_capacity() until later in boot where memory allocation
> is available.
>
> Move init_cpu_topology(), which calls topology_parse_cpu_capacity(), to a
> later initialization stage, to match ARM64.
>
> [...]

Applied, thanks!

[1/1] riscv: Move call to init_cpu_topology() to later initialization stage
https://git.kernel.org/palmer/c/c1d610586946

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