android_kernel_xiaomi_sm8350/arch/powerpc/platforms/cell
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
..
spufs [POWERPC] spufs: make mailbox functions handle multiple elements 2006-10-05 09:21:01 +10:00
cbe_regs.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
cbe_regs.h
interrupt.c [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
interrupt.h [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
iommu.c
iommu.h
Kconfig [POWERPC] spufs: cell spu problem state mapping updates 2006-10-05 09:21:00 +10:00
Makefile
pervasive.c
pervasive.h
ras.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
ras.h
setup.c [POWERPC] powerpc: Make RTAS console init generic 2006-08-25 13:27:35 +10:00
smp.c [POWERPC] Cleanup CPU inits 2006-08-25 13:27:35 +10:00
spider-pic.c [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
spu_base.c [POWERPC] spufs: implement error event delivery to user space 2006-10-05 09:21:01 +10:00
spu_callbacks.c
spu_priv1_mmio.c
spu_syscalls.c