[Cbe-oss-dev] [PATCH] spufs: avoid using backing operation for wbox write

Arnd Bergmann arnd at arndb.de
Thu Aug 9 04:09:22 EST 2007


On Wednesday 08 August 2007, André Detsch wrote:
> BEFORE writing to spu_runcntl_RW:
> in_be32(&prob->spu_status_R)=3ffc0002
> in_be32(&prob->spu_runcntl_RW)=0

ok, so it's stopped-by-stop and not waiting for a channel.
This sort of makes sense since the spu doesn't know it's blocking
yet.

> AFTER writing to spu_runcntl_RW:
> in_be32(&prob->spu_status_R)=1
> in_be32(&prob->spu_runcntl_RW)=1

This is where it gets weird. So the SPE should be blocking on a channel
read, correct?

The expected status value for this would be 0x8 (waiting for channel),
not 0x1. Does that match what you can see from systemsim?

	Arnd <><



More information about the cbe-oss-dev mailing list