lkml.org 
[lkml]   [2018]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Documentation/ABI: update cpuidle sysfs documentation
From
Date


On 22/01/18 16:09, Aishwarya Pant wrote:
> Update cpuidle documentation using git logs and existing documentation
> in Documentation/cpuidle/sysfs.txt. This might be useful for scripting
> and tracking changes in the ABI.
>
> Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
> ---
> Documentation/ABI/testing/sysfs-devices-system-cpu | 79 ++++++++++++++++++++++
> 1 file changed, 79 insertions(+)
>
> diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu
> index bfd29bc8d37a..f38e52d08be1 100644
> --- a/Documentation/ABI/testing/sysfs-devices-system-cpu
> +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu
> @@ -126,6 +126,85 @@ Description: Discover cpuidle policy and mechanism
> See files in Documentation/cpuidle/ for more information.
>
>
> +What: /sys/devices/system/cpu/cpuidle/current_driver
> +What: /sys/devices/system/cpu/cpuidle/available_governors
> +What: /sys/devices/system/cpu/cpuidle/current_governor
> +Date: September 2007
> +KernelVersion: v2.6.24
> +Contact: Linux kernel mailing list <linux-kernel@vger.kernel.org>
> +Description:
> + With the cpuidle_sysfs_switch boot option enabled (meant for
> + developer testing), the following three attributes are visible
> + instead:
> +
> + current_driver: (RO) Display the current idle mechanism.
> +
> + available_governors: (RO) Display a space separated list of
> + available governors
> +
> + current_governor: (RW) Display the current idle policy. Users
> + can switch the governor at runtime by writing to this file.
> +

May be you can merge above with the previous entry which already has
/sys/devices/system/cpu/cpuidle/current_driver
/sys/devices/system/cpu/cpuidle/current_governer_ro

Otherwise looks good.

--
Regards,
Sudeep

\
 
 \ /
  Last update: 2018-01-22 17:31    [W:0.045 / U:0.072 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site