Re: [Y2038] [PATCH v2 29/29] y2038: add 64-bit time_t syscalls to all 32-bit architectures

2019-01-21 Thread Heiko Carstens
pass only counts elapsed time, not time since the epoch. They > will be dealt with later. > > Signed-off-by: Arnd Bergmann > --- > arch/s390/kernel/syscalls/syscall.tbl | 20 + For the s390 bits: Acked-by: Heiko Carstens ___

Re: [Y2038] [PATCH v2 28/29] y2038: rename old time and utime syscalls

2019-01-21 Thread Heiko Carstens
> we need __ARCH_WANT_SYS_TIME32/UTIME32 for 32-bit architectures and compat > mode. The resulting asm/unistd.h changes look a bit counterintuitive. > > This is only a cleanup patch and it should not change any behavior. > > Signed-off-by: Arnd Bergmann ... > arch/s390/include/asm/u

Re: [Y2038] [PATCH v2 17/29] syscalls: remove obsolete __IGNORE_ macros

2019-01-21 Thread Heiko Carstens
/include/asm/unistd.h | 16 > arch/parisc/include/asm/unistd.h | 3 --- > arch/s390/include/asm/unistd.h | 2 -- > arch/xtensa/include/asm/unistd.h | 12 > 4 files changed, 33 deletions(-) For the s390 bits: Acked-by: Heiko Carstens

Re: [Y2038] [PATCH v2 14/29] arch: add pkey and rseq syscall numbers everywhere

2019-01-21 Thread Heiko Carstens
ls/syscall.tbl | 3 +++ > arch/sh/kernel/syscalls/syscall.tbl | 4 > arch/sparc/include/asm/unistd.h | 5 - > arch/sparc/kernel/syscalls/syscall.tbl | 4 > arch/xtensa/kernel/syscalls/syscall.tbl | 1 + > 12 files changed, 28 insertion

Re: [Y2038] [PATCH v2 13/29] arch: add split IPC system calls where needed

2019-01-21 Thread Heiko Carstens
++ > arch/powerpc/kernel/syscalls/syscall.tbl | 13 + > arch/s390/kernel/syscalls/syscall.tbl | 12 > arch/sh/kernel/syscalls/syscall.tbl | 11 +++ > arch/sparc/kernel/syscalls/syscall.tbl| 12 > arch/x86/entry/syscalls/sy

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

2019-01-21 Thread Heiko Carstens
patch below. If there aren't any objections this should be added to Martin's 'compat' branch. From 71880dcdc62e2f89dc206a4e46c1c60e59ce3b0d Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Mon, 21 Jan 2019 10:30:44 +0100 Subject: [PATCH] s390: fix system call tracing When converting to autogenerat

Re: [Y2038] [PATCH 0/5] s390: rework compat wrapper generation

2019-01-17 Thread Heiko Carstens
On Thu, Jan 17, 2019 at 05:21:50PM +0100, Arnd Bergmann wrote: > On Thu, Jan 17, 2019 at 2:36 PM Heiko Carstens > wrote: > > > > On Wed, Jan 16, 2019 at 02:15:18PM +0100, Arnd Bergmann wrote: > > > > I did not test the changes at runtime, but I looked at the >

Re: [Y2038] [PATCH 2/5] ipc: introduce ksys_ipc()/compat_ksys_ipc() for s390

2019-01-17 Thread Heiko Carstens
On Thu, Jan 17, 2019 at 05:29:55PM +0100, Arnd Bergmann wrote: > On Thu, Jan 17, 2019 at 2:29 PM Heiko Carstens > > SYSCALL_DEFINE1(s390_personality, unsigned int, personality) > > { > > diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c > > index ab9d0e3c6d50..ad016a7db

Re: [Y2038] [PATCH 0/5] s390: rework compat wrapper generation

2019-01-17 Thread Heiko Carstens
On Wed, Jan 16, 2019 at 02:15:18PM +0100, Arnd Bergmann wrote: > Hi Heiko and Martin, > > As promised, I gave this a go and changed the SYSCALL_DEFINEx() > infrastructure to always include the wrappers for doing the > 31-bit argument conversion on s390 compat mode. > > This does three main

Re: [Y2038] [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

Re: [Y2038] [PATCH 2/5] ipc: introduce ksys_ipc()/compat_ksys_ipc() for s390

2019-01-17 Thread Heiko Carstens
On Wed, Jan 16, 2019 at 02:15:20PM +0100, Arnd Bergmann wrote: > The sys_ipc() and compat_ksys_ipc() functions are meant to only > be used from the system call table, not called by another function. > > Introduce ksys_*() interfaces for this purpose, as we have done > for many other system calls.

Re: [Y2038] [PATCH 0/5] s390: rework compat wrapper generation

2019-01-16 Thread Heiko Carstens
On Wed, Jan 16, 2019 at 02:15:18PM +0100, Arnd Bergmann wrote: > Hi Heiko and Martin, > > As promised, I gave this a go and changed the SYSCALL_DEFINEx() > infrastructure to always include the wrappers for doing the > 31-bit argument conversion on s390 compat mode. > > This does three main

Re: [Y2038] [PATCH 15/15] arch: add pkey and rseq syscall numbers everywhere

2019-01-14 Thread Heiko Carstens
On Fri, Jan 11, 2019 at 06:30:43PM +0100, Arnd Bergmann wrote: > On Thu, Jan 10, 2019 at 9:36 PM Heiko Carstens > wrote: > > On Thu, Jan 10, 2019 at 05:24:35PM +0100, Arnd Bergmann wrote: > > > Since you only need/want the system call numbers, could you please &

Re: [Y2038] [PATCH 15/15] arch: add pkey and rseq syscall numbers everywhere

2019-01-10 Thread Heiko Carstens
On Thu, Jan 10, 2019 at 05:24:35PM +0100, Arnd Bergmann wrote: > Most architectures define system call numbers for the rseq and pkey system > calls, even when they don't support the features, and perhaps never will. > > Only a few architectures are missing these, so just define them anyway > for

Re: [Y2038] [PATCH v3 1/8] arch: Use asm-generic/socket.h when possible

2019-01-08 Thread Heiko Carstens
Deepa Dinamani > --- > arch/s390/include/uapi/asm/Kbuild | 1 + > arch/s390/include/uapi/asm/socket.h | 117 For the s390 bits: Acked-by: Heiko Carstens ___ Y2038 mailing list Y2038@lists.linaro.org https://lists.lin

Re: [Y2038] [PATCH v3 04/17] y2038: s390: Remove unneeded ipc uapi header files

2018-04-20 Thread Heiko Carstens
ode 100644 arch/s390/include/uapi/asm/msgbuf.h > delete mode 100644 arch/s390/include/uapi/asm/sembuf.h > delete mode 100644 arch/s390/include/uapi/asm/shmbuf.h FWIW, Acked-by: Heiko Carstens <heiko.carst...@de.ibm.com> ___ Y2038 mailing list Y2038@lists.linaro.org https://lists.linaro.org/mailman/listinfo/y2038