]> Git Repo - linux.git/commitdiff
riscv: use KERN_INFO in do_trap
authorAndreas Schwab <[email protected]>
Tue, 19 Mar 2024 15:40:05 +0000 (16:40 +0100)
committerPalmer Dabbelt <[email protected]>
Thu, 4 Apr 2024 19:12:14 +0000 (12:12 -0700)
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 <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Reviewed-by: Yunhui Cui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
arch/riscv/kernel/traps.c

index 868d6280cf667e655de2d5003c2fd57d129b3127..05a16b1f0aee858f3abf7a28c647ad1146410da0 100644 (file)
@@ -122,7 +122,7 @@ void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr)
                print_vma_addr(KERN_CONT " in ", instruction_pointer(regs));
                pr_cont("\n");
                __show_regs(regs);
-               dump_instr(KERN_EMERG, regs);
+               dump_instr(KERN_INFO, regs);
        }
 
        force_sig_fault(signo, code, (void __user *)addr);
This page took 0.051739 seconds and 4 git commands to generate.