CPUFreq HAL [PSARC/2007/679 FastTrack timeout 12/12/2007]
David Chieu
David.Chieu at sun.com
Thu Dec 6 14:59:23 PST 2007
Artem,
HAL spec is placed at:
http://sac.eng/arc/PSARC/2007/679/materials/hal-spec.html
as well.
-- David Chieu
Anup Pemmaiah wrote:
> Artem Kachitchkine wrote:
>>
>>>> What happens when CPUs are DR removed/added ?
>>> The associated device objects should get removed.
>>
>> Will that be achieved via DR sysevents or some other mechanism?
>>
>>> The CPUFreq interface is associated with the "computer" device
>>> object, similar to system power management interface. Since it is
>>> global there will be just one method call.
>>
>> OK, so based on our little q&a, things missing from the interface table:
>>
>> - DBus interface name (org.freedesktop.Hal.Device.CPUFreq?)
>> - DBus path of the objects that implement that interface
>> (/org/freedesktop/Hal/devices/computer?)
>> - "processor" capability for processor objects
>> - I think also "cpufreq_control" capability for the computer object
> Have updated the psarc draft with the missing interfaces. I am pasting
> below the additional interfaces added to the draft
>
> The processor specific properties interface
> Interface Type Comments
> ---------------------------------------------------------------
> info.capabilities string list value = "processor"
>
>
> The computer device object specific properties interface. If the
> property
> already exists, then the following values will get appended
>
> Interface Type Comments
> ---------------------------------------------------------------
> info.capabilities string list value = "cpufreq_control"
> info.interfaces string list value =
> "org.freedesktop.Hal.Device.CPUFreq"
> info.addons string list value = "hald-addon-cpufreq"
> D-Bus specific Information
> ---------------------------
>
> Interface Name: org.freedesktop.Hal.Device.CPUFreq
> Path to device object
> /org/freedesktop/Hal/devices/computer
> that implements the
> interface
>
> Interfaces Imported:
>
> Interface
> Comments
>
> -----------------------------------------------------------------------------------------------------------
>
> PM_GET_CPU_THRESHOLD Used by GetCPUFreqPerformance to determine
> the
> frequency
> performance.
> PM_GET_SYSTEM_THRESHOLD Used by GetCPUFreqPerformance to
> determine the
>
> frequency performance.
>
>
> PM_GET_CPUPM_STATE Used by GetCPUFreqGovernor to
> determine the
> current
> system policy.
>
> PM_GET_PM_STATE Used by GetCPUFreqGovernor to
> determine the
> current
> system policy.
>
>
> The new draft can be found at
> http://sac.eng/arc/PSARC/2007/679/materials/spec.v1.txt
>
> Thanks
> Anup
>>
>> Could you also place a copy of hal-spec.html in the case directory,
>> because the one at freedesktop.org changes frequently.
>>
>> thanks,
>> -Artem
>
More information about the opensolaris-arc
mailing list