android_kernel_xiaomi_sm8350/arch/powerpc/platforms/cell
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
..
spufs [POWERPC] spufs: Load isolation kernel from spu_run 2006-12-04 20:40:06 +11:00
cbe_cpufreq.c [POWERPC] cell: add cpufreq driver for Cell BE processor 2006-10-25 14:20:22 +10:00
cbe_regs.c [POWERPC] cell: add shadow registers for pmd_reg 2006-10-25 14:20:21 +10:00
cbe_regs.h [POWERPC] cell: add low-level performance monitoring code 2006-10-25 14:20:21 +10:00
cbe_thermal.c [POWERPC] cell: add temperature to SPU and CPU sysfs entries 2006-10-25 14:20:22 +10:00
interrupt.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
interrupt.h [POWERPC] Cell interrupt rework 2006-10-04 14:52:08 +10:00
io-workarounds.c [POWERPC] Cell "Spider" MMIO workarounds 2006-12-04 20:38:54 +11:00
iommu.c [POWERPC] Cell iommu support 2006-12-04 20:39:02 +11:00
Kconfig [POWERPC] cell: add cpufreq driver for Cell BE processor 2006-10-25 14:20:22 +10:00
Makefile [POWERPC] Cell "Spider" MMIO workarounds 2006-12-04 20:38:54 +11:00
pervasive.c [POWERPC] cell: use ppc_md->power_save instead of cbe_idle_loop 2006-10-25 14:20:22 +10:00
pervasive.h
pmu.c [POWERPC] cell: add low-level performance monitoring code 2006-10-25 14:20:21 +10:00
pmu.h [POWERPC] cell: add low-level performance monitoring code 2006-10-25 14:20:21 +10:00
ras.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
ras.h
setup.c [POWERPC] Cell iommu support 2006-12-04 20:39:02 +11:00
smp.c [POWERPC] Cleanup CPU inits 2006-08-25 13:27:35 +10:00
spider-pic.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
spu_base.c [POWERPC] spufs: Return correct event for data storage interrupt 2006-12-04 20:39:54 +11:00
spu_callbacks.c
spu_priv1_mmio.c [POWERPC] spufs: wrap mfc sdr access 2006-10-25 14:20:20 +10:00
spu_syscalls.c