]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitf3d69e0507f84903059d456c5d19f10b2df3ac69
treef8aa4062bc1a0939d7bdb3a634c01869f2bb32a2
parent7a2142002f29a7b398c49da9bdec712dc57087c7
[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