]> err.no Git - linux-2.6/commit
[PATCH] spufs: switchable spu contexts
authorMark Nutter <mnutter@us.ibm.com>
Tue, 15 Nov 2005 20:53:49 +0000 (15:53 -0500)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 03:49:16 +0000 (14:49 +1100)
commit5473af049d8b3556874174e61ce1986c9b5e8fa6
tree53da74c13eb9125b85e85f9fc44981d3d1b41b49
parent67207b9664a8d603138ef1556141e6d0a102bea7
[PATCH] spufs: switchable spu contexts

Add some infrastructure for saving and restoring the context of an
SPE. This patch creates a new structure that can hold the whole
state of a physical SPE in memory. It also contains code that
avoids races during the context switch and the binary code that
is loaded to the SPU in order to access its registers.

The actual PPE- and SPE-side context switch code are two separate
patches.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/cell/spufs/Makefile
arch/powerpc/platforms/cell/spufs/context.c
arch/powerpc/platforms/cell/spufs/spu_restore_dump.h_shipped [new file with mode: 0644]
arch/powerpc/platforms/cell/spufs/spu_save_dump.h_shipped [new file with mode: 0644]
arch/powerpc/platforms/cell/spufs/spufs.h
arch/powerpc/platforms/cell/spufs/switch.c [new file with mode: 0644]
include/asm-powerpc/spu.h
include/asm-powerpc/spu_csa.h [new file with mode: 0644]