Re: [PATCH] powerpc/syscall: Return the preset value of skipped syscalls

From: samir

Date: Tue Oct 27 2026 - 08:48:30 EST



On 23/10/26 11:41 pm, Renzo Davoli wrote:
On Fri, Oct 23, 2026 at 02:28:09PM +0530, samir wrote:
Hi Renzo,


I tried applying the patches to the latest upstream kernel (master branch),
but the patch fails to apply with the following errors:

error: patch failed: arch/powerpc/include/asm/syscall.h:98
error: arch/powerpc/include/asm/syscall.h: patch does not apply
error: patch failed: arch/powerpc/kernel/syscall.c:18
error: arch/powerpc/kernel/syscall.c: patch does not apply

The latest commit on the master branch:
commit 734bef548a96e8774d6eef5dfa2026c6edc4e80b
(HEAD -> master, origin/master, origin/HEAD)


Could you please take a look and suggest how to resolve these conflicts?
Does the patch need to be rebased against the latest upstream kernel?

Thanks for your help.

Best regards,
Samir
fixed in v2:
https://lore.kernel.org/lkml/20261023180735.853655-1-renzo@xxxxxxxxxxx/

Best Regards,
renzo
Hi Renzo,

Thank you for sharing the v2 patch.
I was able to apply the patch cleanly on the latest kernel branch without any issues.

Thanks again!

Regards,
Samir