Hi,

I'm working at Toshiba with Uchikawa and Funayama on porting perfmon2 to the
Toshiba Cell platform. (I have mailed several times with Kevin before.)

I send patches applied to "Initial Cell support for Perfmon2" patches.
Because PM signal groups are set through RTAS, it is not available on Cell 
platform which doesn't have RTAS. Our platform is exactly so. This patch
directly accesses the MMIO registerand sets PM signal groups for Cell platform
without RTAS.

The setting of PM signals has been achieved by replacing rtas_reset_signals()
and rtas_activate_signals() with pfm_cell_reset_signals() and 
pfm_cell_activate_signals() respectively. 

However, this patch doesn't correspond to SMP. Moreover because the volume
of the patch becomes to be huge, only "PPE signal group" is included
this time.

1/3
The patch replaces rtas_reset_signals() and rtas_activate_signals()
with pfm_cell_reset_signals() and pfm_cell_activate_signals() respectively
according to the platform identification. 

2/3
It is a main body of pfm_cell_reset_signals(), and pfm_cell_activate_signals().
(in the new file: perfmon_cell_signals.c)

3/3
The patch maps the MMIO registers for PM signal groups setting to the memory.
(SPE/SMF gropus are not included.) 

Thanks,
----------
Takaki Azuma

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

Reply via email to