[PATCH 2/2] powerpc/64s/syscall: Fix ptrace syscall info with scv syscalls

Dmitry V. Levin ldv at altlinux.org
Thu May 20 21:45:22 AEST 2021

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" <ldv at altlinux.org>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>

Thanks, feel free to add
Reviewed-by: Dmitry V. Levin <ldv at altlinux.org>

Also consider adding
Cc: stable at vger.kernel.org # 5.9+


More information about the Linuxppc-dev mailing list