commit | 028fda0a6c80c26f1d9f403b4490b9ddc74ffa3b | [log] [tgz] |
---|---|---|
author | Luke Browning <lukebrowning@us.ibm.com> | Mon Jun 16 10:42:38 2008 +1000 |
committer | Jeremy Kerr <jk@ozlabs.org> | Mon Jun 16 14:35:01 2008 +1000 |
tree | bb8c8977b4b4991919d8995c01f197fb4e5f00dd | |
parent | 2c911a14b74fa9cf815a936f310e4fa85bee77ce [diff] |
powerpc/spufs: fix missed stop-and-signal event There is a delay in the transition to the stopped state for class 2 interrupts. In some cases, the controlling thread detects the state of the spu as running, and goes back to sleep resulting in a hung application as the event is missed. This change detects the stop condition and re-generates the wakeup event after a context save. Signed-off-by: Luke Browning <lukebrowning@us.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>