Home
last modified time | relevance | path

Searched hist:"3 a843d7cd30ab6815610d9d6aa66b56df0ee1228" (Results 1 – 6 of 6) sorted by relevance

/linux/arch/powerpc/platforms/cell/spufs/
H A Dbacking_ops.cdiff 3a843d7cd30ab6815610d9d6aa66b56df0ee1228 Tue Dec 06 04:52:27 CET 2005 Arnd Bergmann <arnd@arndb.de> [PATCH] spufs: fix mailbox polling

Handling mailbox interrupts was broken in multiple respects,
the combination of which was hiding the bugs most of the time.

- The ibox interrupt mask was open initially even though there
are no waiters on a newly created SPU.

- Acknowledging the mailbox interrupt did not work because
it is level triggered and the mailbox data is never retrieved
from inside the interrupt handler.

- The interrupt handler delivered interrupts with a disabled
mask if another interrupt is triggered for the same class
but a different mask.

- The poll function did not enable the interrupt if it had not
been enabled, so we might run into the poll timeout if none of
the other bugs saved us and no signal was delivered.

We probably still have a similar problem with blocking
read/write on mailbox files, but that will result in extra
wakeup in the worst case, not in incorrect behaviour.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
H A Dhw_ops.cdiff 3a843d7cd30ab6815610d9d6aa66b56df0ee1228 Tue Dec 06 04:52:27 CET 2005 Arnd Bergmann <arnd@arndb.de> [PATCH] spufs: fix mailbox polling

Handling mailbox interrupts was broken in multiple respects,
the combination of which was hiding the bugs most of the time.

- The ibox interrupt mask was open initially even though there
are no waiters on a newly created SPU.

- Acknowledging the mailbox interrupt did not work because
it is level triggered and the mailbox data is never retrieved
from inside the interrupt handler.

- The interrupt handler delivered interrupts with a disabled
mask if another interrupt is triggered for the same class
but a different mask.

- The poll function did not enable the interrupt if it had not
been enabled, so we might run into the poll timeout if none of
the other bugs saved us and no signal was delivered.

We probably still have a similar problem with blocking
read/write on mailbox files, but that will result in extra
wakeup in the worst case, not in incorrect behaviour.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
H A Dswitch.cdiff 3a843d7cd30ab6815610d9d6aa66b56df0ee1228 Tue Dec 06 04:52:27 CET 2005 Arnd Bergmann <arnd@arndb.de> [PATCH] spufs: fix mailbox polling

Handling mailbox interrupts was broken in multiple respects,
the combination of which was hiding the bugs most of the time.

- The ibox interrupt mask was open initially even though there
are no waiters on a newly created SPU.

- Acknowledging the mailbox interrupt did not work because
it is level triggered and the mailbox data is never retrieved
from inside the interrupt handler.

- The interrupt handler delivered interrupts with a disabled
mask if another interrupt is triggered for the same class
but a different mask.

- The poll function did not enable the interrupt if it had not
been enabled, so we might run into the poll timeout if none of
the other bugs saved us and no signal was delivered.

We probably still have a similar problem with blocking
read/write on mailbox files, but that will result in extra
wakeup in the worst case, not in incorrect behaviour.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
H A Dspufs.hdiff 3a843d7cd30ab6815610d9d6aa66b56df0ee1228 Tue Dec 06 04:52:27 CET 2005 Arnd Bergmann <arnd@arndb.de> [PATCH] spufs: fix mailbox polling

Handling mailbox interrupts was broken in multiple respects,
the combination of which was hiding the bugs most of the time.

- The ibox interrupt mask was open initially even though there
are no waiters on a newly created SPU.

- Acknowledging the mailbox interrupt did not work because
it is level triggered and the mailbox data is never retrieved
from inside the interrupt handler.

- The interrupt handler delivered interrupts with a disabled
mask if another interrupt is triggered for the same class
but a different mask.

- The poll function did not enable the interrupt if it had not
been enabled, so we might run into the poll timeout if none of
the other bugs saved us and no signal was delivered.

We probably still have a similar problem with blocking
read/write on mailbox files, but that will result in extra
wakeup in the worst case, not in incorrect behaviour.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
H A Dfile.cdiff 3a843d7cd30ab6815610d9d6aa66b56df0ee1228 Tue Dec 06 04:52:27 CET 2005 Arnd Bergmann <arnd@arndb.de> [PATCH] spufs: fix mailbox polling

Handling mailbox interrupts was broken in multiple respects,
the combination of which was hiding the bugs most of the time.

- The ibox interrupt mask was open initially even though there
are no waiters on a newly created SPU.

- Acknowledging the mailbox interrupt did not work because
it is level triggered and the mailbox data is never retrieved
from inside the interrupt handler.

- The interrupt handler delivered interrupts with a disabled
mask if another interrupt is triggered for the same class
but a different mask.

- The poll function did not enable the interrupt if it had not
been enabled, so we might run into the poll timeout if none of
the other bugs saved us and no signal was delivered.

We probably still have a similar problem with blocking
read/write on mailbox files, but that will result in extra
wakeup in the worst case, not in incorrect behaviour.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
/linux/arch/powerpc/platforms/cell/
H A Dspu_base.cdiff 3a843d7cd30ab6815610d9d6aa66b56df0ee1228 Tue Dec 06 04:52:27 CET 2005 Arnd Bergmann <arnd@arndb.de> [PATCH] spufs: fix mailbox polling

Handling mailbox interrupts was broken in multiple respects,
the combination of which was hiding the bugs most of the time.

- The ibox interrupt mask was open initially even though there
are no waiters on a newly created SPU.

- Acknowledging the mailbox interrupt did not work because
it is level triggered and the mailbox data is never retrieved
from inside the interrupt handler.

- The interrupt handler delivered interrupts with a disabled
mask if another interrupt is triggered for the same class
but a different mask.

- The poll function did not enable the interrupt if it had not
been enabled, so we might run into the poll timeout if none of
the other bugs saved us and no signal was delivered.

We probably still have a similar problem with blocking
read/write on mailbox files, but that will result in extra
wakeup in the worst case, not in incorrect behaviour.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>