android_kernel_xiaomi_sm8350/arch/powerpc/platforms
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
..
4xx
8xx
82xx POWERPC: mpc82xx merge: board-specific/platform stuff(resend) 2006-10-03 21:36:14 +04:00
83xx Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/configh 2006-10-04 09:59:57 -07:00
85xx Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
86xx
apus
cell [POWERPC] spufs: make mailbox functions handle multiple elements 2006-10-05 09:21:01 +10:00
chrp
embedded6xx Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
iseries Merge branch 'master' of git://oak/home/sfr/kernels/iseries/work 2006-10-04 15:02:27 +10:00
maple
pasemi Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
powermac [POWERPC] Get default baud rate in udbg_scc 2006-10-04 14:52:31 +10:00
prep
pseries [POWERPC] Fix a printk in pseries_mpic_init_IRQ 2006-10-04 14:52:35 +10:00
Makefile