android_kernel_xiaomi_sm8350/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
context.c
file.c
hw_ops.c
inode.c
Makefile
run.c [PATCH] powerpc/cell: compile fixes 2006-04-01 22:37:14 +11:00
sched.c
spu_restore_crt0.S
spu_restore_dump.h_shipped
spu_restore.c
spu_save_crt0.S
spu_save_dump.h_shipped
spu_save.c
spu_utils.h
spufs.h
switch.c [PATCH] spufs: fix context-switch decrementer code 2006-04-13 09:38:46 -07:00
syscalls.c