linux/arch/powerpc
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
..
boot [POWERPC] Cleanup zImage handling of kernel entry with flat device tree 2006-12-04 20:39:34 +11:00
configs Merge branch 'linux-2.6' into for-linus 2006-12-04 15:59:07 +11:00
kernel [POWERPC] Fix wraparound problem in smp-tbsync on 32-bit 2006-12-04 20:39:35 +11:00
lib
math-emu
mm [POWERPC] setup_kcore(): Fix incorrect function name in panic() call. 2006-12-04 20:39:39 +11:00
oprofile
platforms [POWERPC] spufs: Load isolation kernel from spu_run 2006-12-04 20:40:06 +11:00
sysdev [POWERPC] Don't compile arch/powerpc mpc52xx_pic driver for ARCH=ppc 2006-12-04 20:39:37 +11:00
xmon [POWERPC] iSeries: fix xmon.c for combined build 2006-12-04 20:39:17 +11:00
Kconfig [POWERPC] Remove ioremap64 and fixup_bigphys_addr 2006-12-04 20:39:04 +11:00
Kconfig.debug
Makefile