xtensa: dump userspace code around the exception PC
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 7 May 2023 23:18:17 +0000 (16:18 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 24 Jun 2023 13:34:27 +0000 (06:34 -0700)
commitf7667ca106df50ff8b776db54f85074dc9c52e1b
tree9bee827b7df376837359c2591bd8499b2008fe14
parentcc34f2909d2fbc8f52d24b20f6cbedcdf477e049
xtensa: dump userspace code around the exception PC

In the absence of other debug facilities dumping user code around the
unhandled exception address may help debugging the issue.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig.debug
arch/xtensa/kernel/traps.c