]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/spufs: remove class_0_dsisr from spu exception handling
authorLuke Browning <lukebrowning@us.ibm.com>
Thu, 5 Jun 2008 09:30:25 +0000 (17:30 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 16 Jun 2008 04:35:00 +0000 (14:35 +1000)
commit420247c6ad1005efa76b6a7ae7a7d59ff5f6f129
treefbefce858013d3b53e48b5d3aa1b640025743241
parent4d916bff28255bbd489f2a394460650f17479f5b
powerpc/spufs: remove class_0_dsisr from spu exception handling

According to the CBEA, the SPU dsisr is not updated for class 0
exceptions.

spu_stopped() is testing the dsisr that was passed to it from the class
0 exception handler, so we return a false positive here.

This patch cleans up the interrupt handler and erroneous tests in
spu_stopped. It also removes the fields from the csa since it is not
needed to process class 0 events.

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