Files
linux/arch/csky/kernel
Guo Ren 18c07d23da csky: Fixup calltrace panic
The implementation of show_stack will panic with wrong fp:

addr    = *fp++;

because the fp isn't checked properly.

The current implementations of show_stack, wchan and stack_trace
haven't been designed properly, so just deprecate them.

This patch is a reference to riscv's way, all codes are modified from
arm's. The patch is passed with:

 - cat /proc/<pid>/stack
 - cat /proc/<pid>/wchan
 - echo c > /proc/sysrq-trigger

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
2020-05-13 17:55:06 +08:00
..
2020-05-13 17:55:05 +08:00
2020-03-08 20:55:14 +08:00
2020-04-03 11:37:51 +08:00
2018-10-26 00:54:22 +08:00
2020-05-13 17:55:06 +08:00
2018-10-26 00:54:24 +08:00
2020-05-13 17:55:06 +08:00
2020-05-13 17:55:05 +08:00
2020-04-03 11:37:51 +08:00
2020-05-13 17:55:06 +08:00
2018-10-25 23:36:19 +08:00
2018-10-25 23:36:19 +08:00
2020-04-03 11:37:51 +08:00
2018-10-26 00:54:22 +08:00