linux_dsm_epyc7002/arch
Arnd Bergmann 2dd14934c9 [PATCH] spufs: allow SPU code to do syscalls
An SPU does not have a way to implement system calls
itself, but it can create intercepts to the kernel.

This patch uses the method defined by the JSRE interface
for C99 host library calls from an SPU to implement
Linux system calls. It uses the reserved SPU stop code
0x2104 for this, using the structure layout and syscall
numbers for ppc64-linux.

I'm still undecided wether it is better to have a list
of allowed syscalls or a list of forbidden syscalls,
since we can't allow an SPU to call all syscalls that
are defined for ppc64-linux.

This patch implements the easier choice of them, with a
blacklist that only prevents an SPU from calling anything
that interacts with its own execution, e.g fork, execve,
clone, vfork, exit, spu_run and spu_create and everything
that deals with signals.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-03-27 14:48:24 +11:00
..
alpha [PATCH] bitops: alpha: use generic bitops 2006-03-26 08:57:11 -08:00
arm [PATCH] bitops: arm: use generic bitops 2006-03-26 08:57:12 -08:00
arm26 [PATCH] bitops: arm26: use generic bitops 2006-03-26 08:57:12 -08:00
cris [PATCH] bitops: cris: use generic bitops 2006-03-26 08:57:12 -08:00
frv [PATCH] bitops: frv: use generic bitops 2006-03-26 08:57:12 -08:00
h8300 [PATCH] bitops: h8300: use generic bitops 2006-03-26 08:57:12 -08:00
i386 [PATCH] bitops: i386: use generic bitops 2006-03-26 08:57:12 -08:00
ia64 [PATCH] bitops: ia64: make partial_page.bitmap an unsigned long 2006-03-26 08:57:15 -08:00
m32r [PATCH] bitops: m32r: use generic bitops 2006-03-26 08:57:12 -08:00
m68k [PATCH] bitops: m68k: use generic bitops 2006-03-26 08:57:12 -08:00
m68knommu [PATCH] bitops: m68knommu: use generic bitops 2006-03-26 08:57:13 -08:00
mips [PATCH] bitops: mips: use generic bitops 2006-03-26 08:57:13 -08:00
parisc [PATCH] bitops: parisc: use generic bitops 2006-03-26 08:57:14 -08:00
powerpc [PATCH] spufs: allow SPU code to do syscalls 2006-03-27 14:48:24 +11:00
ppc [PATCH] ppc: fix undefined reference to hweight32 2006-03-26 08:57:13 -08:00
s390 [PATCH] bitops: s390: use generic bitops 2006-03-26 08:57:14 -08:00
sh [PATCH] bitops: sh: use generic bitops 2006-03-26 08:57:14 -08:00
sh64 [PATCH] bitops: sh64: use generic bitops 2006-03-26 08:57:14 -08:00
sparc [PATCH] bitops: sparc: use generic bitops 2006-03-26 08:57:14 -08:00
sparc64 [SPARC64]: Kill duplicate exports of string library functions. 2006-03-26 15:30:29 -08:00
um [PATCH] um: fix undefined reference to hweight32 2006-03-26 08:57:09 -08:00
v850 [PATCH] bitops: v850: use generic bitops 2006-03-26 08:57:14 -08:00
x86_64 [PATCH] bitops: x86_64: use generic bitops 2006-03-26 08:57:14 -08:00
xtensa [PATCH] bitops: xtensa: use generic bitops 2006-03-26 08:57:15 -08:00