[PATCH v2] riscv: Move call to init_cpu_topology() to later initialization stage
Palmer Dabbelt
palmer at rivosinc.com
Wed Jan 25 10:10:55 PST 2023
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 at rivosinc.com>
More information about the linux-riscv
mailing list