As discussed previously https://lists.ozlabs.org/pipermail/linuxppc-dev/2022-January/238946.html
I'm wondering whether PPC32 should be returning -1 for syscall instructions too here? That could be done in another patch anyway. Thanks, Nick Nicholas Piggin (2): powerpc/64: remove system call instruction emulation powerpc/uprobes: Reject uprobe on a system call instruction arch/powerpc/include/asm/ppc-opcode.h | 1 + arch/powerpc/kernel/interrupt_64.S | 10 ------- arch/powerpc/kernel/uprobes.c | 6 ++++ arch/powerpc/lib/sstep.c | 42 +++++++-------------------- 4 files changed, 18 insertions(+), 41 deletions(-) -- 2.23.0