[Cbe-oss-dev] Refactored cell powerpc oprofile patch

Carl Love cel at us.ibm.com
Tue Mar 4 09:42:48 EST 2008


On Tue, 2008-03-04 at 09:18 +1100, Michael Ellerman wrote:
> On Mon, 2008-03-03 at 09:32 -0800, Carl Love wrote:
> > At this point, the only issue I see with PS3 support using the existing
> > CELL code is the FW calls.  The CELL code makes FW calls to setup the
> > debug bus and do SPU cycle based profiling.  We started the process
> > within IBM to get approval to share the FW code with Sony and Toshiba so
> > that all three platforms can share the same FW interface.  This will
> > eliminate adding any kernel support to access the debug bus registers.
> > The debug bus setup register address will probably change with the next
> > version of the HW.  Hence it is necessary to hide that info from the
> > kernel in the HW specific firmware.
> 
> Slightly OT, but this is not entirely true. If it's simply a register
> address that will change then it'd probably be easier to just put the
> address in a device-tree property and have linux use that.
> 
> cheers
> 

We are actually talking about something on the order of about 20 to 30
register addresses here.  

Not familiar with the device-tree stuff but OK, sounds like that might
be an option.  

        Carl Love




More information about the cbe-oss-dev mailing list