]> git.baikalelectronics.ru Git - kernel.git/commit
openrisc: Add syscall details to emergency syscall debugging
authorStafford Horne <shorne@gmail.com>
Sun, 30 Jan 2022 08:38:51 +0000 (17:38 +0900)
committerStafford Horne <shorne@gmail.com>
Mon, 23 May 2022 08:15:49 +0000 (17:15 +0900)
commitb08e23f57112bcd01845f9d2ef45030492999706
tree1f8ed307922ddb132a4d8938997959087f40f2c1
parentb2b49492cade57f78f8be822c96438a61f9cfb90
openrisc: Add syscall details to emergency syscall debugging

When bringing linux on the or1k Marocchino we ran into issues starting
init.  This patch adds the syscall number and return address to
assist tracing syscalls even before strace is able to be used.

By default this is all disabled but a developer could adjust the ifdef
to enable debugging.

Cc: Andrey Bacherov <bandvig@mail.ru>
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/entry.S