All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: wire up compat readv2/writev2 syscalls
@ 2016-04-07 15:37 Christoph Hellwig
  2016-04-07 16:35 ` kbuild test robot
  0 siblings, 1 reply; 6+ messages in thread
From: Christoph Hellwig @ 2016-04-07 15:37 UTC (permalink / raw)
  To: x86; +Cc: linux-kernel

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: David Smith <dsmith@redhat.com>
Tested-by: David Smith <dsmith@redhat.com>
---
 arch/x86/entry/syscalls/syscall_32.tbl | 4 ++--
 arch/x86/entry/syscalls/syscall_64.tbl | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl
index b30dd81..4cddd17 100644
--- a/arch/x86/entry/syscalls/syscall_32.tbl
+++ b/arch/x86/entry/syscalls/syscall_32.tbl
@@ -384,5 +384,5 @@
 375	i386	membarrier		sys_membarrier
 376	i386	mlock2			sys_mlock2
 377	i386	copy_file_range		sys_copy_file_range
-378	i386	preadv2			sys_preadv2
-379	i386	pwritev2		sys_pwritev2
+378	i386	preadv2			sys_preadv2			compat_sys_preadv2
+379	i386	pwritev2		sys_pwritev2			compat_sys_pwritev2
diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl
index cac6d17..dc3355b 100644
--- a/arch/x86/entry/syscalls/syscall_64.tbl
+++ b/arch/x86/entry/syscalls/syscall_64.tbl
@@ -374,3 +374,5 @@
 543	x32	io_setup		compat_sys_io_setup
 544	x32	io_submit		compat_sys_io_submit
 545	x32	execveat		compat_sys_execveat/ptregs
+534	x32	preadv2			compat_sys_preadv2
+535	x32	pwritev2		compat_sys_pwrite2
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] x86: wire up compat readv2/writev2 syscalls
  2016-04-07 15:37 [PATCH] x86: wire up compat readv2/writev2 syscalls Christoph Hellwig
@ 2016-04-07 16:35 ` kbuild test robot
  2016-04-07 20:43   ` [PATCH v2] " Christoph Hellwig
  0 siblings, 1 reply; 6+ messages in thread
From: kbuild test robot @ 2016-04-07 16:35 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: kbuild-all, x86, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

Hi Christoph,

[auto build test ERROR on v4.6-rc2]
[also build test ERROR on next-20160407]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Christoph-Hellwig/x86-wire-up-compat-readv2-writev2-syscalls/20160407-234047
config: x86_64-acpi-redef (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> arch/x86/built-in.o:(.rodata+0x10b8): undefined reference to `compat_sys_pwrite2'

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 27546 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2] x86: wire up compat readv2/writev2 syscalls
  2016-04-07 16:35 ` kbuild test robot
@ 2016-04-07 20:43   ` Christoph Hellwig
  2016-04-13 11:31     ` [tip:x86/asm] x86/syscalls: Wire " tip-bot for Christoph Hellwig
  2016-05-31  7:43     ` [PATCH v2] x86: wire " David Drysdale
  0 siblings, 2 replies; 6+ messages in thread
From: Christoph Hellwig @ 2016-04-07 20:43 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, x86, linux-kernel

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 arch/x86/entry/syscalls/syscall_32.tbl | 4 ++--
 arch/x86/entry/syscalls/syscall_64.tbl | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl
index b30dd81..4cddd17 100644
--- a/arch/x86/entry/syscalls/syscall_32.tbl
+++ b/arch/x86/entry/syscalls/syscall_32.tbl
@@ -384,5 +384,5 @@
 375	i386	membarrier		sys_membarrier
 376	i386	mlock2			sys_mlock2
 377	i386	copy_file_range		sys_copy_file_range
-378	i386	preadv2			sys_preadv2
-379	i386	pwritev2		sys_pwritev2
+378	i386	preadv2			sys_preadv2			compat_sys_preadv2
+379	i386	pwritev2		sys_pwritev2			compat_sys_pwritev2
diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl
index cac6d17..555263e 100644
--- a/arch/x86/entry/syscalls/syscall_64.tbl
+++ b/arch/x86/entry/syscalls/syscall_64.tbl
@@ -374,3 +374,5 @@
 543	x32	io_setup		compat_sys_io_setup
 544	x32	io_submit		compat_sys_io_submit
 545	x32	execveat		compat_sys_execveat/ptregs
+534	x32	preadv2			compat_sys_preadv2
+535	x32	pwritev2		compat_sys_pwritev2
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [tip:x86/asm] x86/syscalls: Wire up compat readv2/writev2 syscalls
  2016-04-07 20:43   ` [PATCH v2] " Christoph Hellwig
@ 2016-04-13 11:31     ` tip-bot for Christoph Hellwig
  2016-05-31  7:43     ` [PATCH v2] x86: wire " David Drysdale
  1 sibling, 0 replies; 6+ messages in thread
From: tip-bot for Christoph Hellwig @ 2016-04-13 11:31 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: hch, brgerst, hpa, tglx, dsmith, bp, luto, dvlasenk,
	linux-kernel, peterz, torvalds, mingo

Commit-ID:  482dd2ef124484601adea82e5e806e81e2bc5521
Gitweb:     http://git.kernel.org/tip/482dd2ef124484601adea82e5e806e81e2bc5521
Author:     Christoph Hellwig <hch@lst.de>
AuthorDate: Thu, 7 Apr 2016 22:43:59 +0200
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 13 Apr 2016 10:31:26 +0200

x86/syscalls: Wire up compat readv2/writev2 syscalls

Reported-by: David Smith <dsmith@redhat.com>
Tested-by: David Smith <dsmith@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20160407204359.GA3720@lst.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/entry/syscalls/syscall_32.tbl | 4 ++--
 arch/x86/entry/syscalls/syscall_64.tbl | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl
index b30dd81..4cddd17 100644
--- a/arch/x86/entry/syscalls/syscall_32.tbl
+++ b/arch/x86/entry/syscalls/syscall_32.tbl
@@ -384,5 +384,5 @@
 375	i386	membarrier		sys_membarrier
 376	i386	mlock2			sys_mlock2
 377	i386	copy_file_range		sys_copy_file_range
-378	i386	preadv2			sys_preadv2
-379	i386	pwritev2		sys_pwritev2
+378	i386	preadv2			sys_preadv2			compat_sys_preadv2
+379	i386	pwritev2		sys_pwritev2			compat_sys_pwritev2
diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl
index cac6d17..555263e 100644
--- a/arch/x86/entry/syscalls/syscall_64.tbl
+++ b/arch/x86/entry/syscalls/syscall_64.tbl
@@ -374,3 +374,5 @@
 543	x32	io_setup		compat_sys_io_setup
 544	x32	io_submit		compat_sys_io_submit
 545	x32	execveat		compat_sys_execveat/ptregs
+534	x32	preadv2			compat_sys_preadv2
+535	x32	pwritev2		compat_sys_pwritev2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] x86: wire up compat readv2/writev2 syscalls
  2016-04-07 20:43   ` [PATCH v2] " Christoph Hellwig
  2016-04-13 11:31     ` [tip:x86/asm] x86/syscalls: Wire " tip-bot for Christoph Hellwig
@ 2016-05-31  7:43     ` David Drysdale
  2016-05-31 12:36       ` Christoph Hellwig
  1 sibling, 1 reply; 6+ messages in thread
From: David Drysdale @ 2016-05-31  7:43 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: kbuild test robot, kbuild-all, X86 ML, linux-kernel

On Thu, Apr 7, 2016 at 9:43 PM, Christoph Hellwig <hch@lst.de> wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  arch/x86/entry/syscalls/syscall_32.tbl | 4 ++--
>  arch/x86/entry/syscalls/syscall_64.tbl | 2 ++
>  2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl
> index b30dd81..4cddd17 100644
> --- a/arch/x86/entry/syscalls/syscall_32.tbl
> +++ b/arch/x86/entry/syscalls/syscall_32.tbl
> @@ -384,5 +384,5 @@
>  375    i386    membarrier              sys_membarrier
>  376    i386    mlock2                  sys_mlock2
>  377    i386    copy_file_range         sys_copy_file_range
> -378    i386    preadv2                 sys_preadv2
> -379    i386    pwritev2                sys_pwritev2
> +378    i386    preadv2                 sys_preadv2                     compat_sys_preadv2
> +379    i386    pwritev2                sys_pwritev2                    compat_sys_pwritev2
> diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl
> index cac6d17..555263e 100644
> --- a/arch/x86/entry/syscalls/syscall_64.tbl
> +++ b/arch/x86/entry/syscalls/syscall_64.tbl
> @@ -374,3 +374,5 @@
>  543    x32     io_setup                compat_sys_io_setup
>  544    x32     io_submit               compat_sys_io_submit
>  545    x32     execveat                compat_sys_execveat/ptregs
> +534    x32     preadv2                 compat_sys_preadv2
> +535    x32     pwritev2                compat_sys_pwritev2

Just checking: should those x32 syscall numbers be 546 / 547 ?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] x86: wire up compat readv2/writev2 syscalls
  2016-05-31  7:43     ` [PATCH v2] x86: wire " David Drysdale
@ 2016-05-31 12:36       ` Christoph Hellwig
  0 siblings, 0 replies; 6+ messages in thread
From: Christoph Hellwig @ 2016-05-31 12:36 UTC (permalink / raw)
  To: David Drysdale
  Cc: Christoph Hellwig, kbuild test robot, kbuild-all, X86 ML, linux-kernel

On Tue, May 31, 2016 at 08:43:14AM +0100, David Drysdale wrote:
> > index cac6d17..555263e 100644
> > --- a/arch/x86/entry/syscalls/syscall_64.tbl
> > +++ b/arch/x86/entry/syscalls/syscall_64.tbl
> > @@ -374,3 +374,5 @@
> >  543    x32     io_setup                compat_sys_io_setup
> >  544    x32     io_submit               compat_sys_io_submit
> >  545    x32     execveat                compat_sys_execveat/ptregs
> > +534    x32     preadv2                 compat_sys_preadv2
> > +535    x32     pwritev2                compat_sys_pwritev2
> 
> Just checking: should those x32 syscall numbers be 546 / 547 ?

Meh.  Probably..
---end quoted text---

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-05-31 12:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-07 15:37 [PATCH] x86: wire up compat readv2/writev2 syscalls Christoph Hellwig
2016-04-07 16:35 ` kbuild test robot
2016-04-07 20:43   ` [PATCH v2] " Christoph Hellwig
2016-04-13 11:31     ` [tip:x86/asm] x86/syscalls: Wire " tip-bot for Christoph Hellwig
2016-05-31  7:43     ` [PATCH v2] x86: wire " David Drysdale
2016-05-31 12:36       ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.