On Thu, May 20, 2021 at 09:19:31PM +1000, Nicholas Piggin wrote:
The scv implementation missed updating syscall return value and error
value get/set functions to deal with the changed register ABI. This
broke ptrace PTRACE_GET_SYSCALL_INFO as well as some kernel auditing
and tracing functions.
Fix. tools/testing/selftests/ptrace/get_syscall_info now passes when
scv is used.
Fixes: 7fa95f9adaee ("powerpc/64s: system call support for scv/rfscv instructions")
Reported-by: "Dmitry V. Levin" <redacted>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Thanks, feel free to add
Reviewed-by: Dmitry V. Levin <redacted>
Also consider adding
Cc: stable@vger.kernel.org # 5.9+
--
ldv