linux-kernel-test/arch/powerpc/platforms/cell/spufs
Jordi Caubet 183b73ae7c [PATCH] spufs: fix context-switch decrementer code
We found that when the 'decrementer' is saved, the PPE saves the current
time 'csa->suspend_time'. When restoring the 'decrementer', (Step 34)
decrementer seems to be adjusted with the number of cycles th= at a spu
thread has not been running.

In that code it is missing a substract ('-') because 'delta_time' is
assigned a not substracted(see bellow).

Acked-by: Mark Nutter <mnutter@us.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-04-13 09:38:46 -07:00
..
backing_ops.c [PATCH] spufs: implement mfc access for PPE-side DMA 2006-03-27 14:48:26 +11:00
context.c [PATCH] spufs: initialize context correctly 2006-03-27 14:48:30 +11:00
file.c [PATCH] spufs: enable SPE problem state MMIO access. 2006-03-27 14:48:28 +11:00
hw_ops.c [PATCH] spufs: implement mfc access for PPE-side DMA 2006-03-27 14:48:26 +11:00
inode.c Merge ../linux-2.6 2006-03-29 13:24:50 +11:00
Makefile [PATCH] spufs: move spu_run call to its own file 2006-01-09 15:44:45 +11:00
run.c [PATCH] powerpc/cell: compile fixes 2006-04-01 22:37:14 +11:00
sched.c [PATCH] spufs: implement mfc access for PPE-side DMA 2006-03-27 14:48:26 +11:00
spu_restore_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_restore_dump.h_shipped [PATCH] spufs: switchable spu contexts 2006-01-09 14:49:16 +11:00
spu_restore.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_crt0.S [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_save_dump.h_shipped [PATCH] spufs: switchable spu contexts 2006-01-09 14:49:16 +11:00
spu_save.c [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spu_utils.h [PATCH] spufs: add spu-side context switch code 2006-01-09 14:49:25 +11:00
spufs.h [PATCH] spufs: enable SPE problem state MMIO access. 2006-03-27 14:48:28 +11:00
switch.c [PATCH] spufs: fix context-switch decrementer code 2006-04-13 09:38:46 -07:00
syscalls.c [PATCH] powerpc: cell namespace cleanup 2006-01-12 20:39:14 +11:00