]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: dont try to access SPE channel 1 count
authorarnd@arndb.de <arnd@arndb.de>
Mon, 19 Jun 2006 18:33:27 +0000 (20:33 +0200)
committerPaul Mackerras <paulus@samba.org>
Wed, 21 Jun 2006 05:01:31 +0000 (15:01 +1000)
commit447d965ca4b9da0016814b33ec5a512d4b57efe4
treeb61fd03a0eeb727da423cd6cfe5c20a666caa08c
parent18de78f1fabaac39739fe114a5b39782b523fbee
[POWERPC] spufs: dont try to access SPE channel 1 count

The save/restore sequence for SPE contexts currently attempts to save
and restore the channel count for SPE channel 1 (the SPU_WriteEventMask
channel.  But the CBE architecture (section 9.11.2) clearly states
that this channel does not have an associated count.  Hardware simply
ignores the attempt to write this count, but the simulator generates
a warning message.

WARNING: 279721590: SPE7: Attempt to write channel count for CH 1 with
no associated count is ignored.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/switch.c