]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
riscv: use KERN_INFO in do_trap
authorAndreas Schwab <schwab@suse.de>
Tue, 19 Mar 2024 15:40:05 +0000 (16:40 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 4 Apr 2024 19:12:14 +0000 (12:12 -0700)
commitdd33e5dc7247041b565014f66286c9566b0e32b6
tree464764fb26047e162dc3b050ea0ce609a462389e
parentc27fa53b858b4ee6552a719aa599c250cf98a586
riscv: use KERN_INFO in do_trap

Print the instruction dump with info instead of emergency level.  The
unhandled signal message is only for informational purpose.

Fixes: b8a03a634129 ("riscv: add userland instruction dump to RISC-V splats")
Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Yunhui Cui <cuiyunhui@bytedance.com>
Link: https://lore.kernel.org/r/mvmy1aegrhm.fsf@suse.de
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/traps.c