arm64: Add dump_backtrace() in show_regs
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 9 May 2017 01:53:37 +0000 (09:53 +0800)
committerWill Deacon <will.deacon@arm.com>
Tue, 30 May 2017 10:07:42 +0000 (11:07 +0100)
commit1149aad10b1e2f2cf1ea023889ac8604ae869c5a
tree3cca27fa938ff0108046f2adb4b8f2a24cdd7177
parentc07ab957d9af8092fc3caf3db5a0fb49098fdc65
arm64: Add dump_backtrace() in show_regs

Generic code expects show_regs() to dump the stack, but arm64's
show_regs() does not. This makes it hard to debug softlockups and
other issues that result in show_regs() being called.

This patch updates arm64's show_regs() to dump the stack, as common
code expects.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
[will: folded in bug_handler fix from mrutland]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/stacktrace.h
arch/arm64/kernel/process.c
arch/arm64/kernel/traps.c