[Cbe-oss-dev] [PATCH 0/9] spufs: fix SPU decrementer save and restore code

Noguchi, Masato Masato.Noguchi at jp.sony.com
Tue Jul 17 13:59:48 EST 2007


> On Fri, Jul 13, 2007 at 04:29:51PM +0900, Masato Noguchi wrote:
>
> > This series of patches fixes bugs in the SPU context save and
> > restore code about SPU decrementer.
>
> Did you find these by reading the code or do you have testcases
> triggering problems in this code?

Currently, I'm making testsuite for spufs. I found these problems
on the way of it. Unfortunately my testsuite does not still take form,
so I attached another simple source code to represent these bugs.

Attached is a spe program to print dots repeatedly for about
3 seconds until the spu decrementer event enabled.
To represent bugs, execute it multi-ply in parallel as below:

$ for (( i = 0; i < 15; i++ )) ; do elfspe ./a.out & done

If kernel has bags, some spu decrementer will be halted
accidentally and these programs will never stop.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: decrbug.c
Type: application/octet-stream
Size: 325 bytes
Desc: decrbug.c
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20070717/e9ec24ab/attachment.obj>


More information about the cbe-oss-dev mailing list