Re: [PATCH 4/5] s390: autogenerate compat syscall wrappers

2019-01-21 Thread Heiko Carstens
On Wed, Jan 16, 2019 at 02:15:22PM +0100, Arnd Bergmann wrote: > Any system call that takes a pointer argument on s390 requires > a wrapper function to do a 31-to-64 zero-extension, these are > currently generated in arch/s390/kernel/compat_wrapper.c. > > On arm64 and x86, we already generate

Re: [PATCH 4/5] s390: autogenerate compat syscall wrappers

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 2:31 PM Heiko Carstens wrote: > > The patch below is needed as compile fix (allnoconfig). > I will add this to your patch, no resend needed. Ok, good catch! This is obviously the right fix. Arnd > diff --git a/arch/s390/include/asm/syscall_wrapper.h >

Re: [PATCH 4/5] s390: autogenerate compat syscall wrappers

2019-01-17 Thread Heiko Carstens
On Wed, Jan 16, 2019 at 02:15:22PM +0100, Arnd Bergmann wrote: > Any system call that takes a pointer argument on s390 requires > a wrapper function to do a 31-to-64 zero-extension, these are > currently generated in arch/s390/kernel/compat_wrapper.c. > > On arm64 and x86, we already generate

[PATCH 4/5] s390: autogenerate compat syscall wrappers

2019-01-16 Thread Arnd Bergmann
Any system call that takes a pointer argument on s390 requires a wrapper function to do a 31-to-64 zero-extension, these are currently generated in arch/s390/kernel/compat_wrapper.c. On arm64 and x86, we already generate similar wrappers for all system calls in the place of their definition, just