]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:38:14 +0000 (16:38 +0200)
commitd1efe6081d79cfd9df2e8625308130b165649402
tree9ab30b6c8a1cbdc5c25a82e99e0d9fac6b7e37f5
parenta2ebedf7bcd17a1194a0a18122c885eb578ee882
riscv: use KERN_INFO in do_trap

[ Upstream commit dd33e5dc7247041b565014f66286c9566b0e32b6 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/riscv/kernel/traps.c