Commit 8d7b0f5e authored by Anup Patel's avatar Anup Patel Committed by Greg Kroah-Hartman
Browse files

RISC-V: Don't print details of CPUs disabled in DT



[ Upstream commit d2721bb1 ]

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: e3d794d5 ("riscv: treat cpu devicetree nodes without status as enabled")
Signed-off-by: default avatarAnup Patel <apatel@ventanamicro.com>
Reviewed-by: default avatarAndrew Jones <ajones@ventanamicro.com>
Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20251014163009.182381-1-apatel@ventanamicro.com


Signed-off-by: default avatarPaul Walmsley <pjw@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 30e2dd40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment