]> err.no Git - linux-2.6/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)
commite46a0237fda640f02bc4cb3d9702b6ee91bfd6e4
treeb61fd03a0eeb727da423cd6cfe5c20a666caa08c
parentecec21770d87a5035cfd210cfdb22e1935b0c4a6
[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