All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 7/7] revoke: wire up s390 system calls
@ 2007-03-09  8:16 Pekka J Enberg
  2007-03-09 15:11 ` Arnd Bergmann
  0 siblings, 1 reply; 6+ messages in thread
From: Pekka J Enberg @ 2007-03-09  8:16 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, hch, alan, serue

From: Serge E. Hallyn <serue@us.ibm.com>

Make revokeat and frevoke system calls available to user-space on s390.

Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
---
 arch/s390/kernel/compat_wrapper.S |   11 +++++++++++
 arch/s390/kernel/syscalls.S       |    2 ++
 include/asm-s390/unistd.h         |    4 +++-
 3 files changed, 16 insertions(+), 1 deletion(-)

Index: uml-2.6/arch/s390/kernel/compat_wrapper.S
===================================================================
--- uml-2.6.orig/arch/s390/kernel/compat_wrapper.S	2007-03-08 10:24:23.000000000 +0200
+++ uml-2.6/arch/s390/kernel/compat_wrapper.S	2007-03-08 10:24:34.000000000 +0200
@@ -1665,3 +1665,14 @@
 	llgtr	%r3,%r3			# unsigned *
 	llgtr	%r4,%r4			# struct getcpu_cache *
 	jg	sys_getcpu
+
+	.globl sys_revokeat_wrapper
+sys_revokeat_wrapper:
+	lgfr	%r2,%r2			# int
+	llgtr	%r3,%r3			# const char *
+	jg	sys_revokeat
+
+	.globl sys_frevoke_wrapper
+sys_frevoke_wrapper:
+	llgfr	%r2,%r2			# unsigned int
+	jg	sys_frevoke
Index: uml-2.6/arch/s390/kernel/syscalls.S
===================================================================
--- uml-2.6.orig/arch/s390/kernel/syscalls.S	2007-03-08 10:24:23.000000000 +0200
+++ uml-2.6/arch/s390/kernel/syscalls.S	2007-03-08 10:24:34.000000000 +0200
@@ -321,3 +321,5 @@
 NI_SYSCALL							/* 310 sys_move_pages */
 SYSCALL(sys_getcpu,sys_getcpu,sys_getcpu_wrapper)
 SYSCALL(sys_epoll_pwait,sys_epoll_pwait,sys_ni_syscall)
+SYSCALL(sys_revokeat,sys_revokeat,sys_revokeat_wrapper)
+SYSCALL(sys_frevoke,sys_frevoke,sys_frevoke_wrapper)
Index: uml-2.6/include/asm-s390/unistd.h
===================================================================
--- uml-2.6.orig/include/asm-s390/unistd.h	2007-03-08 10:24:23.000000000 +0200
+++ uml-2.6/include/asm-s390/unistd.h	2007-03-08 10:24:34.000000000 +0200
@@ -250,8 +250,10 @@
 /* Number 310 is reserved for new sys_move_pages */
 #define __NR_getcpu		311
 #define __NR_epoll_pwait	312
+#define __NR_revokeat		313
+#define __NR_frevoke		314
 
-#define NR_syscalls 313
+#define NR_syscalls 315
 
 /* 
  * There are some system calls that are not present on 64 bit, some

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

* Re: [PATCH 7/7] revoke: wire up s390 system calls
  2007-03-09  8:16 [PATCH 7/7] revoke: wire up s390 system calls Pekka J Enberg
@ 2007-03-09 15:11 ` Arnd Bergmann
  2007-03-09 15:36   ` Martin Schwidefsky
  0 siblings, 1 reply; 6+ messages in thread
From: Arnd Bergmann @ 2007-03-09 15:11 UTC (permalink / raw)
  To: Pekka J Enberg, Martin Schwidefsky; +Cc: akpm, linux-kernel, hch, alan, serue

On Friday 09 March 2007, Pekka J Enberg wrote:
> 
> From: Serge E. Hallyn <serue@us.ibm.com>
> 
> Make revokeat and frevoke system calls available to user-space on s390.
> 
> Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>

Looks good to me, but you really should through Martin, since he
has an overview of what syscall numbers may already be assigned
some another patch he has queued up.

	Arnd <><

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

* Re: [PATCH 7/7] revoke: wire up s390 system calls
  2007-03-09 15:11 ` Arnd Bergmann
@ 2007-03-09 15:36   ` Martin Schwidefsky
  2007-03-09 15:41     ` Pekka Enberg
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Schwidefsky @ 2007-03-09 15:36 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: Pekka J Enberg, akpm, linux-kernel, hch, alan, serue

On Fri, 2007-03-09 at 16:11 +0100, Arnd Bergmann wrote:
> > Make revokeat and frevoke system calls available to user-space on s390.
> > 
> > Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
> > Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
> 
> Looks good to me, but you really should through Martin, since he
> has an overview of what syscall numbers may already be assigned
> some another patch he has queued up.

Yes, please put me or Heiko on CC if you add system calls to s390.

-- 
blue skies,              IBM Deutschland Entwicklung GmbH
   Martin                Vorsitzender des Aufsichtsrats: Johann Weihen
                         Geschäftsführung: Herbert Kircher
Martin Schwidefsky       Sitz der Gesellschaft: Böblingen
Linux on zSeries         Registergericht: Amtsgericht Stuttgart,
   Development           HRB 243294

"Reality continues to ruin my life." - Calvin.



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

* Re: [PATCH 7/7] revoke: wire up s390 system calls
  2007-03-09 15:36   ` Martin Schwidefsky
@ 2007-03-09 15:41     ` Pekka Enberg
  2007-03-09 16:12       ` Martin Schwidefsky
  0 siblings, 1 reply; 6+ messages in thread
From: Pekka Enberg @ 2007-03-09 15:41 UTC (permalink / raw)
  To: schwidefsky; +Cc: Arnd Bergmann, akpm, linux-kernel, hch, alan, serue

Hi Martin,

Martin Schwidefsky wrote:
> Yes, please put me or Heiko on CC if you add system calls to s390.

Ok, sorry about that. I would expect akpm to send it to you guys though 
whenever revoke graduates from -mm and not merge it to mainline.

				Pekka

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

* Re: [PATCH 7/7] revoke: wire up s390 system calls
  2007-03-09 15:41     ` Pekka Enberg
@ 2007-03-09 16:12       ` Martin Schwidefsky
  2007-03-09 16:28         ` Serge E. Hallyn
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Schwidefsky @ 2007-03-09 16:12 UTC (permalink / raw)
  To: Pekka Enberg; +Cc: Arnd Bergmann, akpm, linux-kernel, hch, alan, serue

On Fri, 2007-03-09 at 17:41 +0200, Pekka Enberg wrote:
> Martin Schwidefsky wrote:
> > Yes, please put me or Heiko on CC if you add system calls to s390.
> 
> Ok, sorry about that. I would expect akpm to send it to you guys though 
> whenever revoke graduates from -mm and not merge it to mainline.

Yes, but nobody is perfect. Even Andrew sometimes forgets to add people
to CC who should know about "stuff". It would be nice if the CC-line is
added from the start.

-- 
blue skies,              IBM Deutschland Entwicklung GmbH
   Martin                Vorsitzender des Aufsichtsrats: Johann Weihen
                         Geschäftsführung: Herbert Kircher
Martin Schwidefsky       Sitz der Gesellschaft: Böblingen
Linux on zSeries         Registergericht: Amtsgericht Stuttgart,
   Development           HRB 243294

"Reality continues to ruin my life." - Calvin.



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

* Re: [PATCH 7/7] revoke: wire up s390 system calls
  2007-03-09 16:12       ` Martin Schwidefsky
@ 2007-03-09 16:28         ` Serge E. Hallyn
  0 siblings, 0 replies; 6+ messages in thread
From: Serge E. Hallyn @ 2007-03-09 16:28 UTC (permalink / raw)
  To: Martin Schwidefsky
  Cc: Pekka Enberg, Arnd Bergmann, akpm, linux-kernel, hch, alan, serue

Quoting Martin Schwidefsky (schwidefsky@de.ibm.com):
> On Fri, 2007-03-09 at 17:41 +0200, Pekka Enberg wrote:
> > Martin Schwidefsky wrote:
> > > Yes, please put me or Heiko on CC if you add system calls to s390.
> > 
> > Ok, sorry about that. I would expect akpm to send it to you guys though 
> > whenever revoke graduates from -mm and not merge it to mainline.
> 
> Yes, but nobody is perfect. Even Andrew sometimes forgets to add people
> to CC who should know about "stuff". It would be nice if the CC-line is
> added from the start.

Sorry, I should have cc:d you when I sent my testing patch to Pekka.

-serge

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

end of thread, other threads:[~2007-03-09 16:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-09  8:16 [PATCH 7/7] revoke: wire up s390 system calls Pekka J Enberg
2007-03-09 15:11 ` Arnd Bergmann
2007-03-09 15:36   ` Martin Schwidefsky
2007-03-09 15:41     ` Pekka Enberg
2007-03-09 16:12       ` Martin Schwidefsky
2007-03-09 16:28         ` Serge E. Hallyn

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.