]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f9bcfcf217e37ca91254a0520e8e3727ae7c1ef
tree3cca27fa938ff0108046f2adb4b8f2a24cdd7177
parent6fdf0d06ae58e65454673744020e05925c8fbdf5
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