https://github.com/torvalds/linux
Revision ada83daab31c3ec35845785482124373a62f430c authored by Andre Detsch on 21 August 2007, 02:06:22 UTC, committed by Paul Mackerras on 30 August 2007, 06:27:18 UTC
This fixes a major bug which was happening when a SPU thread advances
its execution right after being restored to a SPU.  A potentially
outdated NPC value was being (re)written to the SPU.

So, spu_run_init, in this case, was either not doing anything relevant,
or breaking the execution of the SPU thread.

This fixes a common problem of losing a mailbox write when it was done
to a saved context.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
1 parent 62ee68e
History
Tip revision: ada83daab31c3ec35845785482124373a62f430c authored by Andre Detsch on 21 August 2007, 02:06:22 UTC
[POWERPC] spufs: Don't call spu_run_init from spu_reacquire_runnable
Tip revision: ada83da
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 607 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 89.3 KB
Kbuild -rw-r--r-- 1.5 KB
MAINTAINERS -rw-r--r-- 91.0 KB
Makefile -rw-r--r-- 50.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top