Patch "riscv: use KERN_INFO in do_trap" has been added to the 6.8-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    riscv: use KERN_INFO in do_trap

to the 6.8-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     riscv-use-kern_info-in-do_trap.patch
and it can be found in the queue-6.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 7ce75da8008b6630f0fcd7aa29fed1b44989e523
Author: Andreas Schwab <schwab@xxxxxxx>
Date:   Tue Mar 19 16:40:05 2024 +0100

    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@xxxxxxx>
    Reviewed-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
    Reviewed-by: Atish Patra <atishp@xxxxxxxxxxxx>
    Reviewed-by: Yunhui Cui <cuiyunhui@xxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/mvmy1aegrhm.fsf@xxxxxxx
    Signed-off-by: Palmer Dabbelt <palmer@xxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/riscv/kernel/traps.c b/arch/riscv/kernel/traps.c
index a1b9be3c4332d..142f5f5168fb1 100644
--- a/arch/riscv/kernel/traps.c
+++ b/arch/riscv/kernel/traps.c
@@ -121,7 +121,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);




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux