]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CELL] spufs: Avoid unexpectedly restaring MFC during context save
authorKazunori Asayama <asayama@sm.sony.co.jp>
Fri, 20 Jul 2007 19:39:30 +0000 (21:39 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Fri, 20 Jul 2007 19:41:47 +0000 (21:41 +0200)
commit49776d30aea903fb2f9966c8e9b6f23ae5f7c937
treed17073772de1e741960d5f741ce57e9fb6ead5b8
parentd1450317554d52e0e4a454806c4d05bb2a834f00
[CELL] spufs: Avoid unexpectedly restaring MFC during context save

The current SPU context saving procedure in SPUFS unexpectedly
restarts MFC when halting decrementer, because MFC_CNTL[Dh] is set
without MFC_CNTL[Sm]. This bug causes, for example, saving broken DMA
queues. Here is a patch to fix the problem.

Signed-off-by: Kazunori Asayama <asayama@sm.sony.co.jp>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/switch.c
include/asm-powerpc/spu.h