[Cbe-oss-dev] [PATCH 02/02][RFC] spufs: try to work without master run bit

Noguchi, Masato Masato.Noguchi at jp.sony.com
Tue Feb 6 14:24:27 EST 2007


Jeremy-san,

Thanks for your comments.

(snip...)
> So, our intended approach is to deassert the runcontrol bit when
spu_run
> returns, and then unmap (or map read-only) the necessary pages of the
> problem state mapping.

That's sounds good. That is what I thought mistily. 

> However, someone still needs to do this - it's on my todo list, but if
> you feel like coding something up beforehand, be my guest :)

Perhaps it is too difficult for me. I'm not familiar with paging,
mm, and things like that.
I'm going to lie low in back until you done it ;)

> > BTW, in current implementation, if spe was running at disabled
> > by master run, it seems to be failed at next spu_run syscall.
> > Is it correct?
> 
> That's correct. In order to run a SPE, the run control bit needs to be
> set after the master run control bit is set. So, to start a SPE, we
> need to set the master run control bit, *then* set the problem-state
> run control bit (even if it's already 1).

I got it. Thank you.


Regards,

  >> Masato.Noguchi at jp.sony.com <<





More information about the cbe-oss-dev mailing list