kernel-ark/arch/powerpc
Arnd Bergmann cdcc89bb1c [POWERPC] spufs: make mailbox functions handle multiple elements
Since libspe2 will provide a function that can read/write
multiple mailbox elements at once, the kernel should handle
that efficiently.

read/write on the three mailbox files can now access the
spe context multiple times to operate on any number of
mailbox data elements.

If the spu application keeps writing to its outbound
mailbox, the read call will pick up all the data in a
single system call.

Unfortunately, if the user passes an invalid pointer,
we may lose a mailbox element on read, since we can't
put it back. This probably impossible to solve, if the
user also accesses the mailbox through direct register
access.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-05 09:21:01 +10:00
..
boot Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-10-04 08:16:37 -07:00
configs [POWERPC] Add MPC8360EMDS board support 2006-10-04 15:24:27 +10:00
kernel Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-10-04 08:16:37 -07:00
lib [POWERPC] Fix rheap alignment problem 2006-10-02 20:27:47 +10:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm Merge branch 'master' of git://oak/home/sfr/kernels/iseries/work 2006-10-04 15:02:27 +10:00
oprofile fix file specification in comments 2006-10-03 23:01:26 +02:00
platforms [POWERPC] spufs: make mailbox functions handle multiple elements 2006-10-05 09:21:01 +10:00
sysdev Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/configh 2006-10-04 09:59:57 -07:00
xmon [POWERPC] Don't try to just continue if xmon has no input device 2006-10-04 14:52:40 +10:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-10-04 08:16:37 -07:00
Kconfig.debug [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00