Hi Yamamoto-san,

On Thu October 4 2007 8:12:46 am Takashi02 Yamamoto wrote:
> Kevin Corry <[EMAIL PROTECTED]> wrote on 2007/10/04 21:44:08:
> > On Wed October 3 2007 10:59:50 pm Takashi02 Yamamoto wrote:
> > > I have a question about Cell support.
> > >
> > > In the case of a Cell SPE event,
> > > Is the sub-unit field of pmX_event PMC
> > > same as spe_id of spu structure(/include/asm-powerpc/spu.h) on your
> > > Cell platform ?
> >
> > The sub_unit field of pmX_event is the SPU/MFC number within a single
> > physical Cell CPU (CBE). So currently the values should be limited to 0
> > through 7.
>
> Do you know whether the spe_id in the spu structure is same as the SPU/MFC
> number on your platform ?

I can't really tell how the spe_id field is used on our platform. It looks 
like the value comes comes from a property in the open-firmware device-tree, 
but looking at the values in the device-tree, it's not obvious how or if the 
spe_id value relates to the simple SPU number.

Sorry I can't give you a better answer.

-- 
Kevin Corry
[EMAIL PROTECTED]
http://www.ibm.com/linux/
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to