* [PATCH 1/1] futex: Wireup futex_waitv syscall
[not found] <CAK8P3a3pQW59NVF=5P+ZiBjNJmnWh+iTZUHvqHBrXkHA6pMd4g@mail.gmail.com>
@ 2021-11-24 13:21 ` André Almeida
2021-11-24 13:49 ` Geert Uytterhoeven
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: André Almeida @ 2021-11-24 13:21 UTC (permalink / raw)
To: linux-kernel, arnd, geert, monstr, mpe, ysato, dalias, davem,
chris, jcmvbkbc, linux-alpha, linux-ia64, linux-m68k,
linuxppc-dev, linux-sh, sparclinux, linux-xtensa
Cc: akpm, andrealmeid, bigeasy, boqun.feng, linux-next, lkft-triage,
longman, minchan, mingo, naresh.kamboju, peterz, rob, senozhatsky,
sfr, umgwanakikbuti, will
Wireup futex_waitv syscall for all remaining archs.
Signed-off-by: André Almeida <andrealmeid@collabora.com>
---
arch/alpha/kernel/syscalls/syscall.tbl | 1 +
arch/ia64/kernel/syscalls/syscall.tbl | 1 +
arch/m68k/kernel/syscalls/syscall.tbl | 1 +
arch/microblaze/kernel/syscalls/syscall.tbl | 1 +
arch/powerpc/kernel/syscalls/syscall.tbl | 1 +
arch/sh/kernel/syscalls/syscall.tbl | 1 +
arch/sparc/kernel/syscalls/syscall.tbl | 1 +
arch/xtensa/kernel/syscalls/syscall.tbl | 1 +
8 files changed, 8 insertions(+)
diff --git a/arch/alpha/kernel/syscalls/syscall.tbl b/arch/alpha/kernel/syscalls/syscall.tbl
index e4a041cd5715..ca5a32228cd6 100644
--- a/arch/alpha/kernel/syscalls/syscall.tbl
+++ b/arch/alpha/kernel/syscalls/syscall.tbl
@@ -488,3 +488,4 @@
556 common landlock_restrict_self sys_landlock_restrict_self
# 557 reserved for memfd_secret
558 common process_mrelease sys_process_mrelease
+559 common futex_waitv sys_futex_waitv
diff --git a/arch/ia64/kernel/syscalls/syscall.tbl b/arch/ia64/kernel/syscalls/syscall.tbl
index 6fea1844fb95..707ae121f6d3 100644
--- a/arch/ia64/kernel/syscalls/syscall.tbl
+++ b/arch/ia64/kernel/syscalls/syscall.tbl
@@ -369,3 +369,4 @@
446 common landlock_restrict_self sys_landlock_restrict_self
# 447 reserved for memfd_secret
448 common process_mrelease sys_process_mrelease
+449 common futex_waitv sys_futex_waitv
diff --git a/arch/m68k/kernel/syscalls/syscall.tbl b/arch/m68k/kernel/syscalls/syscall.tbl
index 7976dff8f879..45bc32a41b90 100644
--- a/arch/m68k/kernel/syscalls/syscall.tbl
+++ b/arch/m68k/kernel/syscalls/syscall.tbl
@@ -448,3 +448,4 @@
446 common landlock_restrict_self sys_landlock_restrict_self
# 447 reserved for memfd_secret
448 common process_mrelease sys_process_mrelease
+449 common futex_waitv sys_futex_waitv
diff --git a/arch/microblaze/kernel/syscalls/syscall.tbl b/arch/microblaze/kernel/syscalls/syscall.tbl
index 6b0e11362bd2..2204bde3ce4a 100644
--- a/arch/microblaze/kernel/syscalls/syscall.tbl
+++ b/arch/microblaze/kernel/syscalls/syscall.tbl
@@ -454,3 +454,4 @@
446 common landlock_restrict_self sys_landlock_restrict_self
# 447 reserved for memfd_secret
448 common process_mrelease sys_process_mrelease
+449 common futex_waitv sys_futex_waitv
diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/syscall.tbl
index 7bef917cc84e..15109af9d075 100644
--- a/arch/powerpc/kernel/syscalls/syscall.tbl
+++ b/arch/powerpc/kernel/syscalls/syscall.tbl
@@ -528,3 +528,4 @@
446 common landlock_restrict_self sys_landlock_restrict_self
# 447 reserved for memfd_secret
448 common process_mrelease sys_process_mrelease
+449 common futex_waitv sys_futex_waitv
diff --git a/arch/sh/kernel/syscalls/syscall.tbl b/arch/sh/kernel/syscalls/syscall.tbl
index 208f131659c5..d9539d28bdaa 100644
--- a/arch/sh/kernel/syscalls/syscall.tbl
+++ b/arch/sh/kernel/syscalls/syscall.tbl
@@ -451,3 +451,4 @@
446 common landlock_restrict_self sys_landlock_restrict_self
# 447 reserved for memfd_secret
448 common process_mrelease sys_process_mrelease
+449 common futex_waitv sys_futex_waitv
diff --git a/arch/sparc/kernel/syscalls/syscall.tbl b/arch/sparc/kernel/syscalls/syscall.tbl
index c37764dc764d..46adabcb1720 100644
--- a/arch/sparc/kernel/syscalls/syscall.tbl
+++ b/arch/sparc/kernel/syscalls/syscall.tbl
@@ -494,3 +494,4 @@
446 common landlock_restrict_self sys_landlock_restrict_self
# 447 reserved for memfd_secret
448 common process_mrelease sys_process_mrelease
+449 common futex_waitv sys_futex_waitv
diff --git a/arch/xtensa/kernel/syscalls/syscall.tbl b/arch/xtensa/kernel/syscalls/syscall.tbl
index 104b327f8ac9..3e3e1a506bed 100644
--- a/arch/xtensa/kernel/syscalls/syscall.tbl
+++ b/arch/xtensa/kernel/syscalls/syscall.tbl
@@ -419,3 +419,4 @@
446 common landlock_restrict_self sys_landlock_restrict_self
# 447 reserved for memfd_secret
448 common process_mrelease sys_process_mrelease
+449 common futex_waitv sys_futex_waitv
--
2.33.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] futex: Wireup futex_waitv syscall
2021-11-24 13:21 ` [PATCH 1/1] futex: Wireup futex_waitv syscall André Almeida
@ 2021-11-24 13:49 ` Geert Uytterhoeven
2021-11-24 14:29 ` Arnd Bergmann
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2021-11-24 13:49 UTC (permalink / raw)
To: André Almeida
Cc: Linux Kernel Mailing List, Arnd Bergmann, Michal Simek,
Michael Ellerman, Yoshinori Sato, Rich Felker, David S. Miller,
Chris Zankel, Max Filippov, alpha, linux-ia64@vger.kernel.org,
linux-m68k, linuxppc-dev, Linux-sh list, sparclinux,
open list:TENSILICA XTENSA PORT (xtensa), Andrew Morton,
Sebastian Andrzej Siewior, Boqun Feng, Linux-Next, lkft-triage,
Waiman Long, Minchan Kim, Ingo Molnar, Naresh Kamboju,
Peter Zijlstra, Rob Landley, Sergey Senozhatsky, Stephen Rothwell,
Mike Galbraith, Will Deacon
On Wed, Nov 24, 2021 at 2:21 PM André Almeida <andrealmeid@collabora.com> wrote:
> Wireup futex_waitv syscall for all remaining archs.
>
> Signed-off-by: André Almeida <andrealmeid@collabora.com>
> arch/m68k/kernel/syscalls/syscall.tbl | 1 +
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] futex: Wireup futex_waitv syscall
2021-11-24 13:21 ` [PATCH 1/1] futex: Wireup futex_waitv syscall André Almeida
2021-11-24 13:49 ` Geert Uytterhoeven
@ 2021-11-24 14:29 ` Arnd Bergmann
2021-11-24 15:56 ` André Almeida
2021-11-24 23:18 ` Thomas Gleixner
2021-11-24 17:23 ` Max Filippov
2021-11-24 23:07 ` Michael Ellerman
3 siblings, 2 replies; 7+ messages in thread
From: Arnd Bergmann @ 2021-11-24 14:29 UTC (permalink / raw)
To: André Almeida
Cc: Linux Kernel Mailing List, Arnd Bergmann, Geert Uytterhoeven,
Michal Simek, Michael Ellerman, Yoshinori Sato, Rich Felker,
David Miller, Chris Zankel, Max Filippov, alpha, linux-ia64,
linux-m68k, linuxppc-dev, Linux-sh list, sparclinux,
open list:TENSILICA XTENSA PORT (xtensa), Andrew Morton,
Sebastian Andrzej Siewior, Boqun Feng, Linux-Next Mailing List,
lkft-triage, Waiman Long, Minchan Kim, Ingo Molnar,
Naresh Kamboju, Peter Zijlstra, Rob Landley, Sergey Senozhatsky,
Stephen Rothwell, Mike Galbraith, Will Deacon
On Wed, Nov 24, 2021 at 2:21 PM André Almeida <andrealmeid@collabora.com> wrote:
>
> Wireup futex_waitv syscall for all remaining archs.
>
> Signed-off-by: André Almeida <andrealmeid@collabora.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
I double-checked that futex_waitv() doesn't need any architecture specific
hacks, and that the list above is complete.
Should I take this through the asm-generic tree, or would you send it
through the
tip tree?
Arnd
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] futex: Wireup futex_waitv syscall
2021-11-24 14:29 ` Arnd Bergmann
@ 2021-11-24 15:56 ` André Almeida
2021-11-24 23:18 ` Thomas Gleixner
1 sibling, 0 replies; 7+ messages in thread
From: André Almeida @ 2021-11-24 15:56 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Linux Kernel Mailing List, Geert Uytterhoeven, Michal Simek,
Michael Ellerman, Yoshinori Sato, Rich Felker, David Miller,
Chris Zankel, Max Filippov, alpha, linux-ia64, linux-m68k,
linuxppc-dev, Linux-sh list, sparclinux,
open list:TENSILICA XTENSA PORT (xtensa), Andrew Morton,
Sebastian Andrzej Siewior, Boqun Feng, Linux-Next Mailing List,
lkft-triage, Waiman Long, Minchan Kim, Ingo Molnar,
Naresh Kamboju, Peter Zijlstra, Rob Landley, Sergey Senozhatsky,
Stephen Rothwell, Mike Galbraith, Will Deacon
Às 11:29 de 24/11/21, Arnd Bergmann escreveu:
> On Wed, Nov 24, 2021 at 2:21 PM André Almeida <andrealmeid@collabora.com> wrote:
>>
>> Wireup futex_waitv syscall for all remaining archs.
>>
>> Signed-off-by: André Almeida <andrealmeid@collabora.com>
>
> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
>
> I double-checked that futex_waitv() doesn't need any architecture specific
> hacks, and that the list above is complete.
Thanks!
>
> Should I take this through the asm-generic tree, or would you send it
> through the
> tip tree?
>
I think that adding it to asm-generic tree make sense to me.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] futex: Wireup futex_waitv syscall
2021-11-24 13:21 ` [PATCH 1/1] futex: Wireup futex_waitv syscall André Almeida
2021-11-24 13:49 ` Geert Uytterhoeven
2021-11-24 14:29 ` Arnd Bergmann
@ 2021-11-24 17:23 ` Max Filippov
2021-11-24 23:07 ` Michael Ellerman
3 siblings, 0 replies; 7+ messages in thread
From: Max Filippov @ 2021-11-24 17:23 UTC (permalink / raw)
To: André Almeida
Cc: LKML, Arnd Bergmann, Geert Uytterhoeven, Michal Simek,
Michael Ellerman, Yoshinori Sato, Rich Felker, David S. Miller,
Chris Zankel, open list:ALPHA PORT,
open list:IA64 (Itanium) PL..., open list:M68K ARCHITECTURE,
linuxppc-dev, open list:SUPERH, open list:SPARC + UltraSPAR...,
open list:TENSILICA XTENSA PORT (xtensa), Andrew Morton,
Sebastian Andrzej Siewior, boqun.feng, Linux-Next, lkft-triage,
longman, Minchan Kim, Ingo Molnar, naresh.kamboju, Peter Zijlstra,
Rob Landley, Sergey Senozhatsky, Stephen Rothwell, umgwanakikbuti,
Will Deacon
On Wed, Nov 24, 2021 at 5:21 AM André Almeida <andrealmeid@collabora.com> wrote:
>
> Wireup futex_waitv syscall for all remaining archs.
>
> Signed-off-by: André Almeida <andrealmeid@collabora.com>
> ---
> arch/alpha/kernel/syscalls/syscall.tbl | 1 +
> arch/ia64/kernel/syscalls/syscall.tbl | 1 +
> arch/m68k/kernel/syscalls/syscall.tbl | 1 +
> arch/microblaze/kernel/syscalls/syscall.tbl | 1 +
> arch/powerpc/kernel/syscalls/syscall.tbl | 1 +
> arch/sh/kernel/syscalls/syscall.tbl | 1 +
> arch/sparc/kernel/syscalls/syscall.tbl | 1 +
> arch/xtensa/kernel/syscalls/syscall.tbl | 1 +
> 8 files changed, 8 insertions(+)
For xtensa:
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
--
Thanks.
-- Max
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] futex: Wireup futex_waitv syscall
2021-11-24 13:21 ` [PATCH 1/1] futex: Wireup futex_waitv syscall André Almeida
` (2 preceding siblings ...)
2021-11-24 17:23 ` Max Filippov
@ 2021-11-24 23:07 ` Michael Ellerman
3 siblings, 0 replies; 7+ messages in thread
From: Michael Ellerman @ 2021-11-24 23:07 UTC (permalink / raw)
To: André Almeida, linux-kernel, arnd, geert, monstr, ysato,
dalias, davem, chris, jcmvbkbc, linux-alpha, linux-ia64,
linux-m68k, linuxppc-dev, linux-sh, sparclinux, linux-xtensa
Cc: akpm, andrealmeid, bigeasy, boqun.feng, linux-next, lkft-triage,
longman, minchan, mingo, naresh.kamboju, peterz, rob, senozhatsky,
sfr, umgwanakikbuti, will
André Almeida <andrealmeid@collabora.com> writes:
> diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/syscall.tbl
> index 7bef917cc84e..15109af9d075 100644
> --- a/arch/powerpc/kernel/syscalls/syscall.tbl
> +++ b/arch/powerpc/kernel/syscalls/syscall.tbl
> @@ -528,3 +528,4 @@
> 446 common landlock_restrict_self sys_landlock_restrict_self
> # 447 reserved for memfd_secret
> 448 common process_mrelease sys_process_mrelease
> +449 common futex_waitv sys_futex_waitv
Tested-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
The selftest doesn't build with old headers, I needed this:
diff --git a/tools/testing/selftests/futex/include/futex2test.h b/tools/testing/selftests/futex/include/futex2test.h
index 9d305520e849..e6422321e9d0 100644
--- a/tools/testing/selftests/futex/include/futex2test.h
+++ b/tools/testing/selftests/futex/include/futex2test.h
@@ -8,6 +8,10 @@
#define u64_to_ptr(x) ((void *)(uintptr_t)(x))
+#ifndef __NR_futex_waitv
+#define __NR_futex_waitv 449
+#endif
+
/**
* futex_waitv - Wait at multiple futexes, wake on any
* @waiters: Array of waiters
cheers
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/1] futex: Wireup futex_waitv syscall
2021-11-24 14:29 ` Arnd Bergmann
2021-11-24 15:56 ` André Almeida
@ 2021-11-24 23:18 ` Thomas Gleixner
1 sibling, 0 replies; 7+ messages in thread
From: Thomas Gleixner @ 2021-11-24 23:18 UTC (permalink / raw)
To: Arnd Bergmann, André Almeida
Cc: Linux Kernel Mailing List, Arnd Bergmann, Geert Uytterhoeven,
Michal Simek, Michael Ellerman, Yoshinori Sato, Rich Felker,
David Miller, Chris Zankel, Max Filippov, alpha, linux-ia64,
linux-m68k, linuxppc-dev, Linux-sh list, sparclinux,
open list:TENSILICA XTENSA PORT (xtensa), Andrew Morton,
Sebastian Andrzej Siewior, Boqun Feng, Linux-Next Mailing List,
lkft-triage, Waiman Long, Minchan Kim, Ingo Molnar,
Naresh Kamboju, Peter Zijlstra, Rob Landley, Sergey Senozhatsky,
Stephen Rothwell, Mike Galbraith, Will Deacon
On Wed, Nov 24 2021 at 15:29, Arnd Bergmann wrote:
> On Wed, Nov 24, 2021 at 2:21 PM André Almeida <andrealmeid@collabora.com> wrote:
>>
>> Wireup futex_waitv syscall for all remaining archs.
>>
>> Signed-off-by: André Almeida <andrealmeid@collabora.com>
>
> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
>
> I double-checked that futex_waitv() doesn't need any architecture specific
> hacks, and that the list above is complete.
>
> Should I take this through the asm-generic tree, or would you send it
> through the tip tree?
Feel free to pick it up.
Thanks,
tglx
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-11-24 23:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAK8P3a3pQW59NVF=5P+ZiBjNJmnWh+iTZUHvqHBrXkHA6pMd4g@mail.gmail.com>
2021-11-24 13:21 ` [PATCH 1/1] futex: Wireup futex_waitv syscall André Almeida
2021-11-24 13:49 ` Geert Uytterhoeven
2021-11-24 14:29 ` Arnd Bergmann
2021-11-24 15:56 ` André Almeida
2021-11-24 23:18 ` Thomas Gleixner
2021-11-24 17:23 ` Max Filippov
2021-11-24 23:07 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox