kernel_optimize_test/arch/powerpc
arnd@arndb.de 0afacde3df [POWERPC] spufs: allow isolated mode apps by starting the SPE loader
This patch adds general support for isolated mode SPE apps.

Isolated apps are started indirectly, by a dedicated loader "kernel".
This patch starts the loader when spe_create is invoked with the
ISOLATE flag. We do this at spe_create time to allow libspe to pass the
isolated app in before calling spe_run.

The loader is read from the device tree, at the location
"/spu-isolation/loader". If the loader is not present, an attempt to
start an isolated SPE binary will fail with -ENODEV.

Update: loader needs to be correctly aligned - copy to a kmalloced buf.
Update: remove workaround for systemsim/spurom 'L-bit' bug, which has
        been fixed.
Update: don't write to runcntl on spu_run_init: SPU is already running.
Update: do spu_setup_isolated earlier

Tested on systemsim.

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
..
boot [POWERPC] Fixed some missing files to be deleted when running make clean 2006-10-25 14:20:20 +10:00
configs [POWERPC] Add DOS partition table support to mpc834x_itx_defconfig 2006-10-16 15:52:14 +10:00
kernel [POWERPC] Make irq_dispose_mapping(NO_IRQ) a nop 2006-10-25 14:20:20 +10:00
lib [POWERPC] Fix rheap alignment problem 2006-10-02 20:27:47 +10:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] Make pSeries_lpar_hpte_insert static 2006-10-16 16:33:04 +10:00
oprofile fix file specification in comments 2006-10-03 23:01:26 +02:00
platforms [POWERPC] spufs: allow isolated mode apps by starting the SPE loader 2006-10-25 14:20:21 +10:00
sysdev [POWERPC] Remove todc code from ARCH=powerpc 2006-10-16 16:32:30 +10:00
xmon [POWERPC] Fix xmon IRQ handler for pt_regs removal 2006-10-10 11:47:07 +10:00
Kconfig [POWERPC] Remove todc code from ARCH=powerpc 2006-10-16 16:32:30 +10:00
Kconfig.debug [POWERPC] print backtrace when entering xmon 2006-09-13 18:39:53 +10:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00