Eric Saxe wrote: > Eric Saxe wrote: > >> Mark, Anup, do you guys have some code we could populate into cpu_pm.c >> and cpu_pm.h? >> >> > I suppose one way I could go, at least to start would be to interface > the CPU power manager against the cpupm driver? >
Yep. It would be pretty easy to do. Take a look at usr/src/uts/i86pc/os/cpupm.c. The linked list of domains can be accessed via the cpupm_cpu_dependencies head pointer. You have to be careful though as the list is freed by the PPM driver after the last CPU instance attaches. You might have to disable the freeing of the list in ppm_rebuild_cpu_domains. Alternatively, you might be able to use the domains as they are grouped in the PPM driver. Mark > Thanks, > -Eric > _______________________________________________ > tesla-dev mailing list > tesla-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/tesla-dev >
