Re: [PATCH v7 4/4] PM / DEVFREQ: add sysfs interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 24, 2011 at 2:34 AM, Turquette, Mike <mturquette@xxxxxx> wrote:
> On Tue, Aug 23, 2011 at 12:54 AM, MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx> wrote:
>> +               The /sys/devices/.../power/devfreq_cur_freq shows the
>
> Copy/paste error?  Description should reference devfreq_max_freq not
> devfreq_cur_freq.
>
>> +               minimum operable frequency of the corresponding device.
>
> Similar to the above.
>

Thank you. I'll resubmit soon with corrections (and w/ some further
changes to allow governors to have their own sysfs entries and access
more on the DEVFREQ core).

>> +
>> +What:          /sys/devices/.../power/devfreq_set_freq
>> +Date:          August 2011
>> +Contact:       MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>
>> +Description:
>> +               The /sys/devices/.../power/devfreq_set_freq sets and shows
>> +               the user specified desired frequency of the device. The
>> +               governor may and may not use the value. With the basic
>> +               governors given with devfreq.c, userspace governor is
>> +               using the value.
>
> As I stated in patch 3, this should conditionally exist only if the
> userspace governor is being used for this device.

Ok, in the next revision, this entry will be removed and replaced with
an entry created by userspace governor.

>
> The existing devfreq_cur_freq covers the read-only case well.

It could be a bit different especially with another device driver
enabling and disabling OPPs and/or PM QoS.

For example, when user states "100MHz" on a device with
"50/100/200MHz", it will use 100. However, if someone has disabled
100MHz with opp_disable, devfreq_cur_freq will automatically changed
to 200 while the user value should remain at 100 in case where 100 is
later re-enabled.

>
> Regards,
> Mike
>

Thank you.


Cheers!

MyungJoo


-- 
MyungJoo Ham (함명주), Ph.D.
Mobile Software Platform Lab,
Digital Media and Communications (DMC) Business
Samsung Electronics
cell: 82-10-6714-2858
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm



[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux