android_kernel_xiaomi_sm8350/arch/powerpc/platforms/cell/spufs
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
..
backing_ops.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
context.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
file.c [POWERPC] spufs: make mailbox functions handle multiple elements 2006-10-05 09:21:01 +10:00
gang.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
hw_ops.c [POWERPC] cell spufs iomem annotations 2006-09-26 15:25:33 +10:00
inode.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
Makefile [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
run.c [POWERPC] spufs: implement error event delivery to user space 2006-10-05 09:21:01 +10:00
sched.c [POWERPC] spufs: implement error event delivery to user space 2006-10-05 09:21:01 +10:00
spu_restore_crt0.S
spu_restore_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_restore.c
spu_save_crt0.S
spu_save_dump.h_shipped [POWERPC] spufs: one more fix for 64k pages 2006-06-21 15:01:32 +10:00
spu_save.c
spu_utils.h
spufs.h [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
switch.c [POWERPC] spufs: fix context switch during page fault 2006-10-05 09:21:01 +10:00
syscalls.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00