linux-stable-rt/arch/powerpc/platforms/cell/spufs
Jeremy Kerr c6730ed4c2 [POWERPC] spufs: Load isolation kernel from spu_run
In order to fit with the "don't-run-spus-outside-of-spu_run" model, this
patch starts the isolated-mode loader in spu_run, rather than
spu_create. If spu_run is passed an isolated-mode context that isn't in
isolated mode state, it will run the loader.

This fixes potential races with the isolated SPE app doing a
stop-and-signal before the PPE has called spu_run: bugzilla #29111.
Also (in conjunction with a mambo patch), this addresses #28565, as we
always set the runcntrl register when entering spu_run.

It is up to libspe to ensure that isolated-mode apps are cleaned up
after running to completion - ie, put the app through the "ISOLATE EXIT"
state (see Ch11 of the CBEA).

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-12-04 20:40:06 +11:00
..
Makefile [POWERPC] spufs: Add infrastructure needed for gang scheduling 2006-10-05 09:21:01 +10:00
backing_ops.c [POWERPC] spufs: Add runcntrl read accessors 2006-12-04 20:40:04 +11:00
context.c [POWERPC] spufs: Use SPU master control to prevent wild SPU execution 2006-12-04 20:40:02 +11:00
file.c [POWERPC] spufs: Load isolation kernel from spu_run 2006-12-04 20:40:06 +11:00
gang.c
hw_ops.c [POWERPC] spufs: Add runcntrl read accessors 2006-12-04 20:40:04 +11:00
inode.c [POWERPC] spufs: Load isolation kernel from spu_run 2006-12-04 20:40:06 +11:00
run.c [POWERPC] spufs: Load isolation kernel from spu_run 2006-12-04 20:40:06 +11:00
sched.c
spu_restore.c
spu_restore_crt0.S
spu_restore_dump.h_shipped
spu_save.c
spu_save_crt0.S
spu_save_dump.h_shipped
spu_utils.h
spufs.h [POWERPC] spufs: Load isolation kernel from spu_run 2006-12-04 20:40:06 +11:00
switch.c [POWERPC] spufs: "stautus" isnt a word. 2006-10-25 14:20:21 +10:00
syscalls.c