[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <167467025508.9605.6900641961195110953.b4-ty@rivosinc.com>
Date: Wed, 25 Jan 2023 10:10:55 -0800
From: Palmer Dabbelt <palmer@...osinc.com>
To: Paul Walmsley <paul.walmsley@...ive.com>,
Albert Ou <aou@...s.berkeley.edu>,
Ley Foon Tan <leyfoon.tan@...rfivetech.com>,
Palmer Dabbelt <palmer@...belt.com>
Cc: Conor Dooley <conor.dooley@...rochip.com>,
linux-riscv@...ts.infradead.org,
Andrew Jones <ajones@...tanamicro.com>,
Ley Foon Tan <lftan.linux@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] riscv: Move call to init_cpu_topology() to later initialization stage
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@...osinc.com>
Powered by blists - more mailing lists