Skip to content

Commit 410bb20

Browse files
atishp04palmer-dabbelt
authored andcommitted
RISC-V: Do not print the SBI version during HSM extension boot print
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>
1 parent 9a2451f commit 410bb20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/kernel/cpu_ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void __init cpu_set_ops(int cpuid)
3838
#if IS_ENABLED(CONFIG_RISCV_SBI)
3939
if (sbi_probe_extension(SBI_EXT_HSM) > 0) {
4040
if (!cpuid)
41-
pr_info("SBI v0.2 HSM extension detected\n");
41+
pr_info("SBI HSM extension detected\n");
4242
cpu_ops[cpuid] = &cpu_ops_sbi;
4343
} else
4444
#endif

0 commit comments

Comments
 (0)