]> git.ipfire.org Git - thirdparty/linux.git/commit
RISC-V: Don't print details of CPUs disabled in DT
authorAnup Patel <apatel@ventanamicro.com>
Tue, 14 Oct 2025 16:30:09 +0000 (22:00 +0530)
committerPaul Walmsley <pjw@kernel.org>
Sat, 18 Oct 2025 04:02:21 +0000 (22:02 -0600)
commitd2721bb165b3ee00dd23525885381af07fec852a
treeed0b43cb0a87f39849241471abc43e07890aca50
parent768e054de01bef8701c24ec49309e57e0167af44
RISC-V: Don't print details of CPUs disabled in DT

Early boot stages may disable CPU DT nodes for unavailable
CPUs based on SKU, pinstraps, eFuse, etc. Currently, the
riscv_early_of_processor_hartid() prints details of a CPU
if it is disabled in DT which has no value and gives a
false impression to the users that there some issue with
the CPU.

Fixes: e3d794d555cd ("riscv: treat cpu devicetree nodes without status as enabled")
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20251014163009.182381-1-apatel@ventanamicro.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/kernel/cpu.c