[PATCH v1] RISC-V: drop error print from riscv_hartid_to_cpuid()

Palmer Dabbelt palmer at rivosinc.com
Wed Jul 5 16:38:27 PDT 2023


On Thu, 29 Jun 2023 12:33:34 +0100, Conor Dooley wrote:
> As of commit 2ac874343749 ("RISC-V: split early & late of_node to
> hartid mapping") my CI complains about newly added pr_err() messages
> during boot, for example:
> [    0.000000] Couldn't find cpu id for hartid [0]
> [    0.000000] riscv-intc: unable to find hart id for /cpus/cpu at 0/interrupt-controller
> 
> Before the split, riscv_of_processor_hartid() contained a check for
> whether the cpu was "available", before calling riscv_hartid_to_cpuid(),
> but after the split riscv_of_processor_hartid() can be called for cpus
> that are disabled.
> 
> [...]

Applied, thanks!

[1/1] RISC-V: drop error print from riscv_hartid_to_cpuid()
      https://git.kernel.org/palmer/c/52909f176802

Best regards,
-- 
Palmer Dabbelt <palmer at rivosinc.com>




More information about the linux-riscv mailing list