android_kernel_xiaomi_sm8350/arch/powerpc/platforms/cell/spufs
Jeremy Kerr 099814bb1f [POWERPC] spufs: Add isolated-mode SPE recycling support
When in isolated mode, SPEs have access to an area of persistent
storage, which is per-SPE. In order for isolated-mode apps to
communicate arbitrary data through this storage, we need to ensure that
isolated physical SPEs can be reused for subsequent applications.

Add a file ("recycle") in a spethread dir to enable isolated-mode
recycling. By writing to this file, the kernel will reload the
isolated-mode loader kernel, allowing a new app to be run on the same
physical SPE.

This requires the spu_acquire_exclusive function to enforce exclusive
access to the SPE while the loader is initialised.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-10-25 14:20:21 +10:00
..
backing_ops.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
context.c [POWERPC] spufs: Add isolated-mode SPE recycling support 2006-10-25 14:20:21 +10:00
file.c [POWERPC] spufs: Add isolated-mode SPE recycling support 2006-10-25 14:20:21 +10:00
gang.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
hw_ops.c [POWERPC] spufs: add support for nonschedulable contexts 2006-10-25 14:20:21 +10:00
inode.c [POWERPC] spufs: Add isolated-mode SPE recycling support 2006-10-25 14:20:21 +10:00
Makefile [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
run.c [POWERPC] spufs: allow isolated mode apps by starting the SPE loader 2006-10-25 14:20:21 +10:00
sched.c [POWERPC] spufs: add infrastructure for finding elf objects 2006-10-05 09:21:02 +10:00
spu_restore_crt0.S
spu_restore_dump.h_shipped
spu_restore.c
spu_save_crt0.S
spu_save_dump.h_shipped
spu_save.c
spu_utils.h
spufs.h [POWERPC] spufs: Add isolated-mode SPE recycling support 2006-10-25 14:20:21 +10:00
switch.c [POWERPC] spufs: "stautus" isnt a word. 2006-10-25 14:20:21 +10:00
syscalls.c [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00