]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: fix concurrent delivery of class 0 & 1 exceptions
authorLuke Browning <lukebr@linux.vnet.ibm.com>
Sun, 27 Apr 2008 18:41:55 +0000 (18:41 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 5 May 2008 03:33:44 +0000 (13:33 +1000)
commit82b26b218058c4fea82f5a2819be4a2d42b25ae1
treef8aa4062bc1a0939d7bdb3a634c01869f2bb32a2
parenta8c62dcba9cce363d76b27e5442310d7e24c4f1e
[POWERPC] spufs: fix concurrent delivery of class 0 & 1 exceptions

SPU class 0 & 1 exceptions may occur in parallel, so we may end up
overwriting csa.dsisr.

This change adds dedicated fields for each class to the spu and the spu
context so that fault data is not overwritten.

Signed-off-by: Luke Browning <lukebr@linux.vnet.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/cell/spufs/fault.c
arch/powerpc/platforms/cell/spufs/run.c
arch/powerpc/platforms/cell/spufs/spufs.h
arch/powerpc/xmon/xmon.c
include/asm-powerpc/spu.h
include/asm-powerpc/spu_csa.h