Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1220309 > unrolled thread
| Started by | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| First post | 2015-09-07 18:20 +0200 |
| Last post | 2015-09-16 17:20 +0200 |
| Articles | 20 on this page of 26 — 6 participants |
Back to article view | Back to linux.kernel
[PATCH v2 0/9] Allocate sys_membarrier on main architectures Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-07 18:20 +0200
[PATCH v2 4/9] parisc: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-07 18:20 +0200
Re: [PATCH v2 4/9] parisc: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-16 17:10 +0200
Re: [PATCH v2 4/9] parisc: allocate sys_membarrier system call number Helge Deller <deller@gmx.de> - 2015-09-16 22:00 +0200
[PATCH v2 1/9] [picked] powerpc: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-07 18:20 +0200
[RFC PATCH v2 5/9] alpha: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-07 18:20 +0200
Re: [RFC PATCH v2 5/9] alpha: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-16 17:20 +0200
[PATCH v2 3/9] sparc/sparc64: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-07 18:20 +0200
Re: [PATCH v2 3/9] sparc/sparc64: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-16 17:10 +0200
Re: [PATCH v2 3/9] sparc/sparc64: allocate sys_membarrier system call number David Miller <davem@davemloft.net> - 2015-09-16 20:00 +0200
Re: [PATCH v2 3/9] sparc/sparc64: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-16 20:10 +0200
[RFC PATCH v2 7/9] arm64: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-07 18:20 +0200
Re: [RFC PATCH v2 7/9] arm64: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-16 17:20 +0200
Re: [RFC PATCH v2 7/9] arm64: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-16 18:40 +0200
Re: [RFC PATCH v2 7/9] arm64: allocate sys_membarrier system call number Will Deacon <will.deacon@arm.com> - 2015-09-16 18:40 +0200
Re: [RFC PATCH v2 7/9] arm64: allocate sys_membarrier system call number Will Deacon <will.deacon@arm.com> - 2015-09-16 18:40 +0200
[RFC PATCH v2 9/9] s390/s390x: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-07 18:20 +0200
Re: [RFC PATCH v2 9/9] s390/s390x: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-16 17:30 +0200
Re: [RFC PATCH v2 9/9] s390/s390x: allocate sys_membarrier system call number Martin Schwidefsky <schwidefsky@de.ibm.com> - 2015-09-17 13:40 +0200
[RFC PATCH v2 6/9] arm: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-07 18:20 +0200
Re: [RFC PATCH v2 6/9] arm: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-16 20:30 +0200
Re: [RFC PATCH v2 6/9] arm: allocate sys_membarrier system call number Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-09-17 15:20 +0200
Re: [RFC PATCH v2 6/9] arm: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-17 15:40 +0200
Re: [RFC PATCH v2 6/9] arm: allocate sys_membarrier system call number Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-09-17 15:50 +0200
[RFC PATCH v2 8/9] ia64: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-07 18:20 +0200
Re: [RFC PATCH v2 8/9] ia64: allocate sys_membarrier system call number Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2015-09-16 17:20 +0200
Page 1 of 2 [1] 2 Next page →
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-07 18:20 +0200 |
| Subject | [PATCH v2 0/9] Allocate sys_membarrier on main architectures |
| Message-ID | <q67jb-2cI-3@gated-at.bofh.it> |
Following feedback from architecture maintainers, this is v2 of this patchset. Status: * Picked into maintainer's tree: - powerpc * Ready to be picked into maintainer's tree (acked/tested): - mips, sparc/sparc64, parisc, * Awaiting feedback/testing: - arm, arm64, ia64, s390/s390x Thanks, Mathieu Mathieu Desnoyers (9): [picked] powerpc: allocate sys_membarrier system call number mips: allocate sys_membarrier system call number sparc/sparc64: allocate sys_membarrier system call number parisc: allocate sys_membarrier system call number alpha: allocate sys_membarrier system call number arm: allocate sys_membarrier system call number arm64: allocate sys_membarrier system call number ia64: allocate sys_membarrier system call number s390/s390x: allocate sys_membarrier system call number arch/alpha/include/asm/unistd.h | 2 +- arch/alpha/include/uapi/asm/unistd.h | 1 + arch/alpha/kernel/systbls.S | 1 + arch/arm/include/asm/unistd.h | 2 +- arch/arm/include/uapi/asm/unistd.h | 1 + arch/arm/kernel/calls.S | 1 + arch/arm64/include/asm/unistd.h | 2 +- arch/arm64/include/asm/unistd32.h | 2 ++ arch/ia64/include/asm/unistd.h | 2 +- arch/ia64/include/uapi/asm/unistd.h | 1 + arch/ia64/kernel/entry.S | 1 + arch/mips/include/uapi/asm/unistd.h | 15 +++++++++------ arch/mips/kernel/scall32-o32.S | 1 + arch/mips/kernel/scall64-64.S | 1 + arch/mips/kernel/scall64-n32.S | 1 + arch/mips/kernel/scall64-o32.S | 1 + arch/parisc/include/uapi/asm/unistd.h | 3 ++- arch/parisc/kernel/syscall_table.S | 1 + arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 1 + arch/s390/include/uapi/asm/unistd.h | 3 ++- arch/s390/kernel/syscalls.S | 1 + arch/sparc/include/uapi/asm/unistd.h | 3 ++- arch/sparc/kernel/systbls_32.S | 2 +- arch/sparc/kernel/systbls_64.S | 4 ++-- 26 files changed, 39 insertions(+), 17 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-07 18:20 +0200 |
| Subject | [PATCH v2 4/9] parisc: allocate sys_membarrier system call number |
| Message-ID | <q67jb-2cI-5@gated-at.bofh.it> |
| In reply to | #1220309 |
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Tested-by: Helge Deller <deller@gmx.de> CC: Andrew Morton <akpm@linux-foundation.org> CC: linux-api@vger.kernel.org CC: "James E.J. Bottomley" <jejb@parisc-linux.org> CC: linux-parisc@vger.kernel.org --- arch/parisc/include/uapi/asm/unistd.h | 3 ++- arch/parisc/kernel/syscall_table.S | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/parisc/include/uapi/asm/unistd.h b/arch/parisc/include/uapi/asm/unistd.h index 2e639d7..dadcada 100644 --- a/arch/parisc/include/uapi/asm/unistd.h +++ b/arch/parisc/include/uapi/asm/unistd.h @@ -358,8 +358,9 @@ #define __NR_memfd_create (__NR_Linux + 340) #define __NR_bpf (__NR_Linux + 341) #define __NR_execveat (__NR_Linux + 342) +#define __NR_membarrier (__NR_Linux + 343) -#define __NR_Linux_syscalls (__NR_execveat + 1) +#define __NR_Linux_syscalls (__NR_membarrier + 1) #define __IGNORE_select /* newselect */ diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S index 8eefb12..4e77991 100644 --- a/arch/parisc/kernel/syscall_table.S +++ b/arch/parisc/kernel/syscall_table.S @@ -438,6 +438,7 @@ ENTRY_SAME(memfd_create) /* 340 */ ENTRY_SAME(bpf) ENTRY_COMP(execveat) + ENTRY_SAME(membarrier) .ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b)) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-16 17:10 +0200 |
| Subject | Re: [PATCH v2 4/9] parisc: allocate sys_membarrier system call number |
| Message-ID | <q9mvo-821-7@gated-at.bofh.it> |
| In reply to | #1220310 |
----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> > Tested-by: Helge Deller <deller@gmx.de> > CC: Andrew Morton <akpm@linux-foundation.org> > CC: linux-api@vger.kernel.org > CC: "James E.J. Bottomley" <jejb@parisc-linux.org> > CC: linux-parisc@vger.kernel.org Hi, FYI, sys_membarrier has been pulled into Linux 4.3-rc1. Please feel free to wire it up on parisc. Thanks! Mathieu > --- > arch/parisc/include/uapi/asm/unistd.h | 3 ++- > arch/parisc/kernel/syscall_table.S | 1 + > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/parisc/include/uapi/asm/unistd.h > b/arch/parisc/include/uapi/asm/unistd.h > index 2e639d7..dadcada 100644 > --- a/arch/parisc/include/uapi/asm/unistd.h > +++ b/arch/parisc/include/uapi/asm/unistd.h > @@ -358,8 +358,9 @@ > #define __NR_memfd_create (__NR_Linux + 340) > #define __NR_bpf (__NR_Linux + 341) > #define __NR_execveat (__NR_Linux + 342) > +#define __NR_membarrier (__NR_Linux + 343) > > -#define __NR_Linux_syscalls (__NR_execveat + 1) > +#define __NR_Linux_syscalls (__NR_membarrier + 1) > > > #define __IGNORE_select /* newselect */ > diff --git a/arch/parisc/kernel/syscall_table.S > b/arch/parisc/kernel/syscall_table.S > index 8eefb12..4e77991 100644 > --- a/arch/parisc/kernel/syscall_table.S > +++ b/arch/parisc/kernel/syscall_table.S > @@ -438,6 +438,7 @@ > ENTRY_SAME(memfd_create) /* 340 */ > ENTRY_SAME(bpf) > ENTRY_COMP(execveat) > + ENTRY_SAME(membarrier) > > > .ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b)) > -- > 1.9.1 -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Helge Deller <deller@gmx.de> |
|---|---|
| Date | 2015-09-16 22:00 +0200 |
| Subject | Re: [PATCH v2 4/9] parisc: allocate sys_membarrier system call number |
| Message-ID | <q9r23-5SU-21@gated-at.bofh.it> |
| In reply to | #1226180 |
On 16.09.2015 17:07, Mathieu Desnoyers wrote: > ----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > >> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> >> Tested-by: Helge Deller <deller@gmx.de> >> CC: Andrew Morton <akpm@linux-foundation.org> >> CC: linux-api@vger.kernel.org >> CC: "James E.J. Bottomley" <jejb@parisc-linux.org> >> CC: linux-parisc@vger.kernel.org > > Hi, > > FYI, sys_membarrier has been pulled into Linux 4.3-rc1. Please > feel free to wire it up on parisc. Thanks for the notice. I'll include your patch with an upcoming parisc pull-request later in the 4.3 cycle. Helge >> --- >> arch/parisc/include/uapi/asm/unistd.h | 3 ++- >> arch/parisc/kernel/syscall_table.S | 1 + >> 2 files changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/arch/parisc/include/uapi/asm/unistd.h >> b/arch/parisc/include/uapi/asm/unistd.h >> index 2e639d7..dadcada 100644 >> --- a/arch/parisc/include/uapi/asm/unistd.h >> +++ b/arch/parisc/include/uapi/asm/unistd.h >> @@ -358,8 +358,9 @@ >> #define __NR_memfd_create (__NR_Linux + 340) >> #define __NR_bpf (__NR_Linux + 341) >> #define __NR_execveat (__NR_Linux + 342) >> +#define __NR_membarrier (__NR_Linux + 343) >> >> -#define __NR_Linux_syscalls (__NR_execveat + 1) >> +#define __NR_Linux_syscalls (__NR_membarrier + 1) >> >> >> #define __IGNORE_select /* newselect */ >> diff --git a/arch/parisc/kernel/syscall_table.S >> b/arch/parisc/kernel/syscall_table.S >> index 8eefb12..4e77991 100644 >> --- a/arch/parisc/kernel/syscall_table.S >> +++ b/arch/parisc/kernel/syscall_table.S >> @@ -438,6 +438,7 @@ >> ENTRY_SAME(memfd_create) /* 340 */ >> ENTRY_SAME(bpf) >> ENTRY_COMP(execveat) >> + ENTRY_SAME(membarrier) >> >> >> .ifne (. - 90b) - (__NR_Linux_syscalls * (91b - 90b)) >> -- >> 1.9.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-07 18:20 +0200 |
| Subject | [PATCH v2 1/9] [picked] powerpc: allocate sys_membarrier system call number |
| Message-ID | <q67jb-2cI-11@gated-at.bofh.it> |
| In reply to | #1220309 |
Allow it to be used from SPU, since it should not have unwanted side-effects. [ Picked-by: Michael Ellerman <mpe@ellerman.id.au> ] Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> CC: Andrew Morton <akpm@linux-foundation.org> CC: linux-api@vger.kernel.org CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: Paul Mackerras <paulus@samba.org> CC: Michael Ellerman <mpe@ellerman.id.au> CC: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h index 4d65499..126d0c4 100644 --- a/arch/powerpc/include/asm/systbl.h +++ b/arch/powerpc/include/asm/systbl.h @@ -369,3 +369,4 @@ SYSCALL_SPU(bpf) COMPAT_SYS(execveat) PPC64ONLY(switch_endian) SYSCALL_SPU(userfaultfd) +SYSCALL_SPU(membarrier) diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h index 4a055b6..13411be 100644 --- a/arch/powerpc/include/asm/unistd.h +++ b/arch/powerpc/include/asm/unistd.h @@ -12,7 +12,7 @@ #include <uapi/asm/unistd.h> -#define __NR_syscalls 365 +#define __NR_syscalls 366 #define __NR__exit __NR_exit #define NR_syscalls __NR_syscalls diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h index 6ad58d4..6337738 100644 --- a/arch/powerpc/include/uapi/asm/unistd.h +++ b/arch/powerpc/include/uapi/asm/unistd.h @@ -387,5 +387,6 @@ #define __NR_execveat 362 #define __NR_switch_endian 363 #define __NR_userfaultfd 364 +#define __NR_membarrier 365 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-07 18:20 +0200 |
| Subject | [RFC PATCH v2 5/9] alpha: allocate sys_membarrier system call number |
| Message-ID | <q67jb-2cI-13@gated-at.bofh.it> |
| In reply to | #1220309 |
[ Untested on this architecture. To try it out: fetch linux-next/akpm, apply this patch, build/run a membarrier-enabled kernel, and do make kselftest. ] Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> CC: Andrew Morton <akpm@linux-foundation.org> CC: linux-api@vger.kernel.org CC: Richard Henderson <rth@twiddle.net> CC: Ivan Kokshaysky <ink@jurassic.park.msu.ru> CC: Matt Turner <mattst88@gmail.com> CC: linux-alpha@vger.kernel.org --- arch/alpha/include/asm/unistd.h | 2 +- arch/alpha/include/uapi/asm/unistd.h | 1 + arch/alpha/kernel/systbls.S | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h index a56e608..07aa4ca 100644 --- a/arch/alpha/include/asm/unistd.h +++ b/arch/alpha/include/asm/unistd.h @@ -3,7 +3,7 @@ #include <uapi/asm/unistd.h> -#define NR_SYSCALLS 514 +#define NR_SYSCALLS 515 #define __ARCH_WANT_OLD_READDIR #define __ARCH_WANT_STAT64 diff --git a/arch/alpha/include/uapi/asm/unistd.h b/arch/alpha/include/uapi/asm/unistd.h index aa33bf5..7725619 100644 --- a/arch/alpha/include/uapi/asm/unistd.h +++ b/arch/alpha/include/uapi/asm/unistd.h @@ -475,5 +475,6 @@ #define __NR_getrandom 511 #define __NR_memfd_create 512 #define __NR_execveat 513 +#define __NR_membarrier 514 #endif /* _UAPI_ALPHA_UNISTD_H */ diff --git a/arch/alpha/kernel/systbls.S b/arch/alpha/kernel/systbls.S index 9b62e3f..1ea64f4 100644 --- a/arch/alpha/kernel/systbls.S +++ b/arch/alpha/kernel/systbls.S @@ -532,6 +532,7 @@ sys_call_table: .quad sys_getrandom .quad sys_memfd_create .quad sys_execveat + .quad sys_membarrier .size sys_call_table, . - sys_call_table .type sys_call_table, @object -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-16 17:20 +0200 |
| Subject | Re: [RFC PATCH v2 5/9] alpha: allocate sys_membarrier system call number |
| Message-ID | <q9mF4-8dp-21@gated-at.bofh.it> |
| In reply to | #1220312 |
----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > [ Untested on this architecture. To try it out: fetch linux-next/akpm, > apply this patch, build/run a membarrier-enabled kernel, and do make > kselftest. ] Hi, sys_membarrier has been merged into Linux 4.3-rc1. sys_membarrier can therefore be tested on top of Linus' master. Thanks, Mathieu > > Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> > CC: Andrew Morton <akpm@linux-foundation.org> > CC: linux-api@vger.kernel.org > CC: Richard Henderson <rth@twiddle.net> > CC: Ivan Kokshaysky <ink@jurassic.park.msu.ru> > CC: Matt Turner <mattst88@gmail.com> > CC: linux-alpha@vger.kernel.org > --- > arch/alpha/include/asm/unistd.h | 2 +- > arch/alpha/include/uapi/asm/unistd.h | 1 + > arch/alpha/kernel/systbls.S | 1 + > 3 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/alpha/include/asm/unistd.h b/arch/alpha/include/asm/unistd.h > index a56e608..07aa4ca 100644 > --- a/arch/alpha/include/asm/unistd.h > +++ b/arch/alpha/include/asm/unistd.h > @@ -3,7 +3,7 @@ > > #include <uapi/asm/unistd.h> > > -#define NR_SYSCALLS 514 > +#define NR_SYSCALLS 515 > > #define __ARCH_WANT_OLD_READDIR > #define __ARCH_WANT_STAT64 > diff --git a/arch/alpha/include/uapi/asm/unistd.h > b/arch/alpha/include/uapi/asm/unistd.h > index aa33bf5..7725619 100644 > --- a/arch/alpha/include/uapi/asm/unistd.h > +++ b/arch/alpha/include/uapi/asm/unistd.h > @@ -475,5 +475,6 @@ > #define __NR_getrandom 511 > #define __NR_memfd_create 512 > #define __NR_execveat 513 > +#define __NR_membarrier 514 > > #endif /* _UAPI_ALPHA_UNISTD_H */ > diff --git a/arch/alpha/kernel/systbls.S b/arch/alpha/kernel/systbls.S > index 9b62e3f..1ea64f4 100644 > --- a/arch/alpha/kernel/systbls.S > +++ b/arch/alpha/kernel/systbls.S > @@ -532,6 +532,7 @@ sys_call_table: > .quad sys_getrandom > .quad sys_memfd_create > .quad sys_execveat > + .quad sys_membarrier > > .size sys_call_table, . - sys_call_table > .type sys_call_table, @object > -- > 1.9.1 -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-07 18:20 +0200 |
| Subject | [PATCH v2 3/9] sparc/sparc64: allocate sys_membarrier system call number |
| Message-ID | <q67jb-2cI-15@gated-at.bofh.it> |
| In reply to | #1220309 |
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Acked-by: "David S. Miller" <davem@davemloft.net> CC: Andrew Morton <akpm@linux-foundation.org> CC: linux-api@vger.kernel.org CC: sparclinux@vger.kernel.org --- arch/sparc/include/uapi/asm/unistd.h | 3 ++- arch/sparc/kernel/systbls_32.S | 2 +- arch/sparc/kernel/systbls_64.S | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/sparc/include/uapi/asm/unistd.h b/arch/sparc/include/uapi/asm/unistd.h index 6f35f4d..efe9479 100644 --- a/arch/sparc/include/uapi/asm/unistd.h +++ b/arch/sparc/include/uapi/asm/unistd.h @@ -416,8 +416,9 @@ #define __NR_memfd_create 348 #define __NR_bpf 349 #define __NR_execveat 350 +#define __NR_membarrier 351 -#define NR_syscalls 351 +#define NR_syscalls 352 /* Bitmask values returned from kern_features system call. */ #define KERN_FEATURE_MIXED_MODE_STACK 0x00000001 diff --git a/arch/sparc/kernel/systbls_32.S b/arch/sparc/kernel/systbls_32.S index e31a905..cc23b62 100644 --- a/arch/sparc/kernel/systbls_32.S +++ b/arch/sparc/kernel/systbls_32.S @@ -87,4 +87,4 @@ sys_call_table: /*335*/ .long sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev /*340*/ .long sys_ni_syscall, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr /*345*/ .long sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf -/*350*/ .long sys_execveat +/*350*/ .long sys_execveat, sys_membarrier diff --git a/arch/sparc/kernel/systbls_64.S b/arch/sparc/kernel/systbls_64.S index d72f76a..f229468 100644 --- a/arch/sparc/kernel/systbls_64.S +++ b/arch/sparc/kernel/systbls_64.S @@ -88,7 +88,7 @@ sys_call_table32: .word sys_syncfs, compat_sys_sendmmsg, sys_setns, compat_sys_process_vm_readv, compat_sys_process_vm_writev /*340*/ .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr .word sys32_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf -/*350*/ .word sys32_execveat +/*350*/ .word sys32_execveat, sys_membarrier #endif /* CONFIG_COMPAT */ @@ -168,4 +168,4 @@ sys_call_table: .word sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev /*340*/ .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr .word sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf -/*350*/ .word sys64_execveat +/*350*/ .word sys64_execveat, sys_membarrier -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-16 17:10 +0200 |
| Subject | Re: [PATCH v2 3/9] sparc/sparc64: allocate sys_membarrier system call number |
| Message-ID | <q9mvo-821-19@gated-at.bofh.it> |
| In reply to | #1220313 |
----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> > Acked-by: "David S. Miller" <davem@davemloft.net> > CC: Andrew Morton <akpm@linux-foundation.org> > CC: linux-api@vger.kernel.org > CC: sparclinux@vger.kernel.org Hi, FYI, sys_membarrier has been merged upstream in Linux 4.3-rc1. Feel free to wire up this system call on sparc. Thanks! Mathieu > --- > arch/sparc/include/uapi/asm/unistd.h | 3 ++- > arch/sparc/kernel/systbls_32.S | 2 +- > arch/sparc/kernel/systbls_64.S | 4 ++-- > 3 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/arch/sparc/include/uapi/asm/unistd.h > b/arch/sparc/include/uapi/asm/unistd.h > index 6f35f4d..efe9479 100644 > --- a/arch/sparc/include/uapi/asm/unistd.h > +++ b/arch/sparc/include/uapi/asm/unistd.h > @@ -416,8 +416,9 @@ > #define __NR_memfd_create 348 > #define __NR_bpf 349 > #define __NR_execveat 350 > +#define __NR_membarrier 351 > > -#define NR_syscalls 351 > +#define NR_syscalls 352 > > /* Bitmask values returned from kern_features system call. */ > #define KERN_FEATURE_MIXED_MODE_STACK 0x00000001 > diff --git a/arch/sparc/kernel/systbls_32.S b/arch/sparc/kernel/systbls_32.S > index e31a905..cc23b62 100644 > --- a/arch/sparc/kernel/systbls_32.S > +++ b/arch/sparc/kernel/systbls_32.S > @@ -87,4 +87,4 @@ sys_call_table: > /*335*/ .long sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, > sys_process_vm_writev > /*340*/ .long sys_ni_syscall, sys_kcmp, sys_finit_module, sys_sched_setattr, > sys_sched_getattr > /*345*/ .long sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, > sys_bpf > -/*350*/ .long sys_execveat > +/*350*/ .long sys_execveat, sys_membarrier > diff --git a/arch/sparc/kernel/systbls_64.S b/arch/sparc/kernel/systbls_64.S > index d72f76a..f229468 100644 > --- a/arch/sparc/kernel/systbls_64.S > +++ b/arch/sparc/kernel/systbls_64.S > @@ -88,7 +88,7 @@ sys_call_table32: > .word sys_syncfs, compat_sys_sendmmsg, sys_setns, compat_sys_process_vm_readv, > compat_sys_process_vm_writev > /*340*/ .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, > sys_sched_getattr > .word sys32_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf > -/*350*/ .word sys32_execveat > +/*350*/ .word sys32_execveat, sys_membarrier > > #endif /* CONFIG_COMPAT */ > > @@ -168,4 +168,4 @@ sys_call_table: > .word sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, > sys_process_vm_writev > /*340*/ .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, > sys_sched_getattr > .word sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf > -/*350*/ .word sys64_execveat > +/*350*/ .word sys64_execveat, sys_membarrier > -- > 1.9.1 -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | David Miller <davem@davemloft.net> |
|---|---|
| Date | 2015-09-16 20:00 +0200 |
| Subject | Re: [PATCH v2 3/9] sparc/sparc64: allocate sys_membarrier system call number |
| Message-ID | <q9p9W-3ca-85@gated-at.bofh.it> |
| In reply to | #1226183 |
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Date: Wed, 16 Sep 2015 15:05:54 +0000 (UTC) > ----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > >> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> >> Acked-by: "David S. Miller" <davem@davemloft.net> >> CC: Andrew Morton <akpm@linux-foundation.org> >> CC: linux-api@vger.kernel.org >> CC: sparclinux@vger.kernel.org > > Hi, > > FYI, sys_membarrier has been merged upstream in Linux 4.3-rc1. Feel free > to wire up this system call on sparc. Since I ACK'd this patch which wires the system call up, it should have been submitted by you directly. That's the whole idea. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-16 20:10 +0200 |
| Subject | Re: [PATCH v2 3/9] sparc/sparc64: allocate sys_membarrier system call number |
| Message-ID | <q9pjB-3D9-67@gated-at.bofh.it> |
| In reply to | #1226350 |
----- On Sep 16, 2015, at 1:57 PM, David Miller davem@davemloft.net wrote: > From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> > Date: Wed, 16 Sep 2015 15:05:54 +0000 (UTC) > >> ----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers >> mathieu.desnoyers@efficios.com wrote: >> >>> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> >>> Acked-by: "David S. Miller" <davem@davemloft.net> >>> CC: Andrew Morton <akpm@linux-foundation.org> >>> CC: linux-api@vger.kernel.org >>> CC: sparclinux@vger.kernel.org >> >> Hi, >> >> FYI, sys_membarrier has been merged upstream in Linux 4.3-rc1. Feel free >> to wire up this system call on sparc. > > Since I ACK'd this patch which wires the system call up, it should > have been submitted by you directly. That's the whole idea. OK, good to know. Other architecture maintainers chose to pick up the system call wire-up patch themselves. Andrew, can you pick up this patch please ? Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-07 18:20 +0200 |
| Subject | [RFC PATCH v2 7/9] arm64: allocate sys_membarrier system call number |
| Message-ID | <q67jb-2cI-19@gated-at.bofh.it> |
| In reply to | #1220309 |
arm64 sys_membarrier number is already wired for arm64 through asm-generic/unistd.h, but needs to be allocated separately for the 32-bit compability layer of arm64. [ Untested on this architecture. To try it out: fetch linux-next/akpm, apply this patch, build/run a membarrier-enabled kernel, and do make kselftest. ] Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> CC: Andrew Morton <akpm@linux-foundation.org> CC: linux-api@vger.kernel.org CC: Catalin Marinas <catalin.marinas@arm.com> CC: Will Deacon <will.deacon@arm.com> --- arch/arm64/include/asm/unistd.h | 2 +- arch/arm64/include/asm/unistd32.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h index 3bc498c..e70f7e7 100644 --- a/arch/arm64/include/asm/unistd.h +++ b/arch/arm64/include/asm/unistd.h @@ -44,7 +44,7 @@ #define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE+2) #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE+5) -#define __NR_compat_syscalls 388 +#define __NR_compat_syscalls 389 #endif #define __ARCH_WANT_SYS_CLONE diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h index cef934a..d97be80 100644 --- a/arch/arm64/include/asm/unistd32.h +++ b/arch/arm64/include/asm/unistd32.h @@ -797,3 +797,5 @@ __SYSCALL(__NR_memfd_create, sys_memfd_create) __SYSCALL(__NR_bpf, sys_bpf) #define __NR_execveat 387 __SYSCALL(__NR_execveat, compat_sys_execveat) +#define __NR_membarrier 388 +__SYSCALL(__NR_membarrier, sys_membarrier) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-16 17:20 +0200 |
| Subject | Re: [RFC PATCH v2 7/9] arm64: allocate sys_membarrier system call number |
| Message-ID | <q9mF4-8dp-19@gated-at.bofh.it> |
| In reply to | #1220315 |
----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > arm64 sys_membarrier number is already wired for arm64 through > asm-generic/unistd.h, but needs to be allocated separately for > the 32-bit compability layer of arm64. > > [ Untested on this architecture. To try it out: fetch linux-next/akpm, > apply this patch, build/run a membarrier-enabled kernel, and do make > kselftest. ] Hi, sys_membarrier has been merged into Linux 4.3-rc1. sys_membarrier can therefore be tested on top of Linus' master. Thanks, Mathieu > > Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> > CC: Andrew Morton <akpm@linux-foundation.org> > CC: linux-api@vger.kernel.org > CC: Catalin Marinas <catalin.marinas@arm.com> > CC: Will Deacon <will.deacon@arm.com> > --- > arch/arm64/include/asm/unistd.h | 2 +- > arch/arm64/include/asm/unistd32.h | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h > index 3bc498c..e70f7e7 100644 > --- a/arch/arm64/include/asm/unistd.h > +++ b/arch/arm64/include/asm/unistd.h > @@ -44,7 +44,7 @@ > #define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE+2) > #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE+5) > > -#define __NR_compat_syscalls 388 > +#define __NR_compat_syscalls 389 > #endif > > #define __ARCH_WANT_SYS_CLONE > diff --git a/arch/arm64/include/asm/unistd32.h > b/arch/arm64/include/asm/unistd32.h > index cef934a..d97be80 100644 > --- a/arch/arm64/include/asm/unistd32.h > +++ b/arch/arm64/include/asm/unistd32.h > @@ -797,3 +797,5 @@ __SYSCALL(__NR_memfd_create, sys_memfd_create) > __SYSCALL(__NR_bpf, sys_bpf) > #define __NR_execveat 387 > __SYSCALL(__NR_execveat, compat_sys_execveat) > +#define __NR_membarrier 388 > +__SYSCALL(__NR_membarrier, sys_membarrier) > -- > 1.9.1 -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-16 18:40 +0200 |
| Subject | Re: [RFC PATCH v2 7/9] arm64: allocate sys_membarrier system call number |
| Message-ID | <q9nUt-1tZ-5@gated-at.bofh.it> |
| In reply to | #1226192 |
----- On Sep 16, 2015, at 12:35 PM, Will Deacon will.deacon@arm.com wrote: > Hi Mathieu, > > On Wed, Sep 16, 2015 at 04:18:39PM +0100, Mathieu Desnoyers wrote: >> ----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers >> mathieu.desnoyers@efficios.com wrote: >> >> > arm64 sys_membarrier number is already wired for arm64 through >> > asm-generic/unistd.h, but needs to be allocated separately for >> > the 32-bit compability layer of arm64. >> > >> > [ Untested on this architecture. To try it out: fetch linux-next/akpm, >> > apply this patch, build/run a membarrier-enabled kernel, and do make >> > kselftest. ] >> >> sys_membarrier has been merged into Linux 4.3-rc1. sys_membarrier can therefore >> be tested on top of Linus' master. > > Just to say that I'm happy to merge this once arch/arm/ also has the > syscall wired up. It'd be a bit weird to have the support in the arm64 > compat layer but not the arch/arm/ native kernel! Sounds good! We're currently testing sys_membarrier on a wandboard. We'll provide feedback by replying to the ARM patch thread soon. Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Will Deacon <will.deacon@arm.com> |
|---|---|
| Date | 2015-09-16 18:40 +0200 |
| Subject | Re: [RFC PATCH v2 7/9] arm64: allocate sys_membarrier system call number |
| Message-ID | <q9nUv-1tZ-39@gated-at.bofh.it> |
| In reply to | #1226264 |
On Wed, Sep 16, 2015 at 05:38:04PM +0100, Mathieu Desnoyers wrote: > ----- On Sep 16, 2015, at 12:35 PM, Will Deacon will.deacon@arm.com wrote: > > > Hi Mathieu, > > > > On Wed, Sep 16, 2015 at 04:18:39PM +0100, Mathieu Desnoyers wrote: > >> ----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers > >> mathieu.desnoyers@efficios.com wrote: > >> > >> > arm64 sys_membarrier number is already wired for arm64 through > >> > asm-generic/unistd.h, but needs to be allocated separately for > >> > the 32-bit compability layer of arm64. > >> > > >> > [ Untested on this architecture. To try it out: fetch linux-next/akpm, > >> > apply this patch, build/run a membarrier-enabled kernel, and do make > >> > kselftest. ] > >> > >> sys_membarrier has been merged into Linux 4.3-rc1. sys_membarrier can therefore > >> be tested on top of Linus' master. > > > > Just to say that I'm happy to merge this once arch/arm/ also has the > > syscall wired up. It'd be a bit weird to have the support in the arm64 > > compat layer but not the arch/arm/ native kernel! > > Sounds good! We're currently testing sys_membarrier on a wandboard. We'll > provide feedback by replying to the ARM patch thread soon. Ok. I was about to kick the selftest on my Juno board (arm64). Will -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Will Deacon <will.deacon@arm.com> |
|---|---|
| Date | 2015-09-16 18:40 +0200 |
| Subject | Re: [RFC PATCH v2 7/9] arm64: allocate sys_membarrier system call number |
| Message-ID | <q9nUt-1tZ-7@gated-at.bofh.it> |
| In reply to | #1226192 |
Hi Mathieu, On Wed, Sep 16, 2015 at 04:18:39PM +0100, Mathieu Desnoyers wrote: > ----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > > > arm64 sys_membarrier number is already wired for arm64 through > > asm-generic/unistd.h, but needs to be allocated separately for > > the 32-bit compability layer of arm64. > > > > [ Untested on this architecture. To try it out: fetch linux-next/akpm, > > apply this patch, build/run a membarrier-enabled kernel, and do make > > kselftest. ] > > sys_membarrier has been merged into Linux 4.3-rc1. sys_membarrier can therefore > be tested on top of Linus' master. Just to say that I'm happy to merge this once arch/arm/ also has the syscall wired up. It'd be a bit weird to have the support in the arm64 compat layer but not the arch/arm/ native kernel! Will -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-07 18:20 +0200 |
| Subject | [RFC PATCH v2 9/9] s390/s390x: allocate sys_membarrier system call number |
| Message-ID | <q67jc-2cI-23@gated-at.bofh.it> |
| In reply to | #1220309 |
[ Untested on this architecture. To try it out: fetch linux-next/akpm, apply this patch, build/run a membarrier-enabled kernel, and do make kselftest. ] Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> CC: Andrew Morton <akpm@linux-foundation.org> CC: linux-api@vger.kernel.org CC: Martin Schwidefsky <schwidefsky@de.ibm.com> CC: Heiko Carstens <heiko.carstens@de.ibm.com> CC: linux-s390@vger.kernel.org --- arch/s390/include/uapi/asm/unistd.h | 3 ++- arch/s390/kernel/syscalls.S | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/s390/include/uapi/asm/unistd.h b/arch/s390/include/uapi/asm/unistd.h index 59d2bb4..2f1de70 100644 --- a/arch/s390/include/uapi/asm/unistd.h +++ b/arch/s390/include/uapi/asm/unistd.h @@ -290,7 +290,8 @@ #define __NR_s390_pci_mmio_write 352 #define __NR_s390_pci_mmio_read 353 #define __NR_execveat 354 -#define NR_syscalls 355 +#define __NR_membarrier 355 +#define NR_syscalls 356 /* * There are some system calls that are not present on 64 bit, some diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S index f3f4a13..914c098 100644 --- a/arch/s390/kernel/syscalls.S +++ b/arch/s390/kernel/syscalls.S @@ -363,3 +363,4 @@ SYSCALL(sys_bpf,compat_sys_bpf) SYSCALL(sys_s390_pci_mmio_write,compat_sys_s390_pci_mmio_write) SYSCALL(sys_s390_pci_mmio_read,compat_sys_s390_pci_mmio_read) SYSCALL(sys_execveat,compat_sys_execveat) +SYSCALL(sys_membarrier,sys_membarrier) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-16 17:30 +0200 |
| Subject | Re: [RFC PATCH v2 9/9] s390/s390x: allocate sys_membarrier system call number |
| Message-ID | <q9mOJ-8oQ-11@gated-at.bofh.it> |
| In reply to | #1220316 |
----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > [ Untested on this architecture. To try it out: fetch linux-next/akpm, > apply this patch, build/run a membarrier-enabled kernel, and do make > kselftest. ] Hi, sys_membarrier has been merged into Linux 4.3-rc1. It can therefore be tested on top of Linus' master by applying this patch. Thanks, Mathieu > > Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> > CC: Andrew Morton <akpm@linux-foundation.org> > CC: linux-api@vger.kernel.org > CC: Martin Schwidefsky <schwidefsky@de.ibm.com> > CC: Heiko Carstens <heiko.carstens@de.ibm.com> > CC: linux-s390@vger.kernel.org > --- > arch/s390/include/uapi/asm/unistd.h | 3 ++- > arch/s390/kernel/syscalls.S | 1 + > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/s390/include/uapi/asm/unistd.h > b/arch/s390/include/uapi/asm/unistd.h > index 59d2bb4..2f1de70 100644 > --- a/arch/s390/include/uapi/asm/unistd.h > +++ b/arch/s390/include/uapi/asm/unistd.h > @@ -290,7 +290,8 @@ > #define __NR_s390_pci_mmio_write 352 > #define __NR_s390_pci_mmio_read 353 > #define __NR_execveat 354 > -#define NR_syscalls 355 > +#define __NR_membarrier 355 > +#define NR_syscalls 356 > > /* > * There are some system calls that are not present on 64 bit, some > diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S > index f3f4a13..914c098 100644 > --- a/arch/s390/kernel/syscalls.S > +++ b/arch/s390/kernel/syscalls.S > @@ -363,3 +363,4 @@ SYSCALL(sys_bpf,compat_sys_bpf) > SYSCALL(sys_s390_pci_mmio_write,compat_sys_s390_pci_mmio_write) > SYSCALL(sys_s390_pci_mmio_read,compat_sys_s390_pci_mmio_read) > SYSCALL(sys_execveat,compat_sys_execveat) > +SYSCALL(sys_membarrier,sys_membarrier) > -- > 1.9.1 -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Martin Schwidefsky <schwidefsky@de.ibm.com> |
|---|---|
| Date | 2015-09-17 13:40 +0200 |
| Subject | Re: [RFC PATCH v2 9/9] s390/s390x: allocate sys_membarrier system call number |
| Message-ID | <q9FHI-2gj-21@gated-at.bofh.it> |
| In reply to | #1226196 |
On Wed, 16 Sep 2015 15:20:05 +0000 (UTC) Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote: > ----- On Sep 7, 2015, at 12:15 PM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > > > [ Untested on this architecture. To try it out: fetch linux-next/akpm, > > apply this patch, build/run a membarrier-enabled kernel, and do make > > kselftest. ] > > Hi, > > sys_membarrier has been merged into Linux 4.3-rc1. It can therefore > be tested on top of Linus' master by applying this patch. Successfully tested with todays Linus' master, membarrier_test has passed. Patch applied to linux-s390 but with a different system call number. #355 is already taken by sys_userfaultfd, the new one for membarrier is #356. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
|---|---|
| Date | 2015-09-07 18:20 +0200 |
| Subject | [RFC PATCH v2 6/9] arm: allocate sys_membarrier system call number |
| Message-ID | <q67jc-2cI-25@gated-at.bofh.it> |
| In reply to | #1220309 |
[ Untested on this architecture. To try it out: fetch linux-next/akpm, apply this patch, build/run a membarrier-enabled kernel, and do make kselftest. ] Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> CC: Andrew Morton <akpm@linux-foundation.org> CC: linux-api@vger.kernel.org CC: Russell King <linux@arm.linux.org.uk> --- arch/arm/include/asm/unistd.h | 2 +- arch/arm/include/uapi/asm/unistd.h | 1 + arch/arm/kernel/calls.S | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 32640c4..d93876c 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h @@ -19,7 +19,7 @@ * This may need to be greater than __NR_last_syscall+1 in order to * account for the padding in the syscall table */ -#define __NR_syscalls (388) +#define __NR_syscalls (389) /* * *NOTE*: This is a ghost syscall private to the kernel. Only the diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h index 0c3f5a0..436bb32 100644 --- a/arch/arm/include/uapi/asm/unistd.h +++ b/arch/arm/include/uapi/asm/unistd.h @@ -414,6 +414,7 @@ #define __NR_memfd_create (__NR_SYSCALL_BASE+385) #define __NR_bpf (__NR_SYSCALL_BASE+386) #define __NR_execveat (__NR_SYSCALL_BASE+387) +#define __NR_membarrier (__NR_SYSCALL_BASE+388) /* * The following SWIs are ARM private. diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index 05745eb..310699c 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S @@ -397,6 +397,7 @@ /* 385 */ CALL(sys_memfd_create) CALL(sys_bpf) CALL(sys_execveat) + CALL(sys_membarrier) #ifndef syscalls_counted .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls #define syscalls_counted -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | linux.kernel
csiph-web