Skip to content

Commit

Permalink
RISC-V: Do not print the SBI version during HSM extension boot print
Browse files Browse the repository at this point in the history
The HSM extension information log also prints the SBI version v0.2. This
is misleading as the underlying firmware SBI version may be different
from v0.2.

Remove the unncessary printing of SBI version.

Signed-off-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
  • Loading branch information
Atish Patra authored and Palmer Dabbelt committed Jan 20, 2022
1 parent 9a2451f commit 410bb20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/riscv/kernel/cpu_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void __init cpu_set_ops(int cpuid)
#if IS_ENABLED(CONFIG_RISCV_SBI)
if (sbi_probe_extension(SBI_EXT_HSM) > 0) {
if (!cpuid)
pr_info("SBI v0.2 HSM extension detected\n");
pr_info("SBI HSM extension detected\n");
cpu_ops[cpuid] = &cpu_ops_sbi;
} else
#endif
Expand Down

0 comments on commit 410bb20

Please sign in to comment.