Mark Haywood wrote: >> I'm wondering if you think it makes sense for the CPU power manager to >> export the interfaces to the Processor Grouping Framework. Please see >> the attached figure... >> > > Yes, I think it makes sense. I'd expect that such an interface might be > a common PM policy engine interface and I guess in this case the the CPU > power manager is part of the PM policy engine? Sarito might be able to > provide some thoughts on whether this is what he'd envisioned. >
Right, I would suppose the CPU power manager would need to know policy, or at least be configured to operate in accordance with the policy. > For prototyping purposes, it should be easy create a CPU "power manager" > entity, have it get the processor group information from the CPU driver > and present the information in some fashion to the PGF. > > Great. I should have clarity soon as to what sort of interfaces the PGF could expect. >> The idea is for the Processor Grouping Framework to query the CPU >> Power Manager for the CPU's power grouping information, and the CPU >> power manager in turn would get this from the platform dependent CPU >> PM driver, which would get it from ACPI, or the sun4v MD, etc. >> > > This makes sense to me, but I'm not comfortable with how sun4v might do > this. I want to make sure that someone more familiar with sun4v is good > with this. > Right. We should be sure to get the right eyes on the design doc when it's up for review. Thanks, -Eric
