[PATCH RESEND 0/3] riscv: improve the stacktrace report

Palmer Dabbelt palmer at dabbelt.com
Thu Jan 14 00:17:14 EST 2021


On Mon, 11 Jan 2021 04:40:11 PST (-0800), wangkefeng.wang at huawei.com wrote:
> Make show_regs() to dump the stack to improve riscv crash report,
> and also fix the wrong value when stack unwind if FRAME_POINTER
> enabled.
>
> Chen Huang (1):
>   riscv/stacktrace: Fix stack output without ra on the stack top
>
> Kefeng Wang (2):
>   riscv: Add dump stack in show_regs
>   riscv: Improve __show_regs
>
>  arch/riscv/include/asm/bug.h        |  1 +
>  arch/riscv/include/asm/stacktrace.h |  2 ++
>  arch/riscv/kernel/process.c         | 16 ++++++++++++++--
>  arch/riscv/kernel/stacktrace.c      | 22 +++++++++++++++++-----
>  arch/riscv/kernel/traps.c           |  3 ++-
>  5 files changed, 36 insertions(+), 8 deletions(-)

Thanks, these are on for-next.



More information about the linux-riscv mailing list