From: Sudeep Holla <sudeep.holla@arm.com>
To: Aishwarya Pant <aishpant@gmail.com>,
linux-pm@vger.kernel.org, linux-doc@vger.kernel.org
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
linux-kernel@vger.kernel.org, Jonathan Corbet <corbet@lwn.net>,
Greg KH <gregkh@linuxfoundation.org>,
Sudeep Holla <sudeep.holla@arm.com>,
Julia Lawall <julia.lawall@lip6.fr>
Subject: Re: [PATCH] Documentation/ABI: update cpuidle sysfs documentation
Date: Mon, 22 Jan 2018 16:30:35 +0000 [thread overview]
Message-ID: <ad66263c-2116-63d0-1b80-c5357f731066@arm.com> (raw)
In-Reply-To: <20180122160922.GA13380@mordor.localdomain>
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
prev parent reply other threads:[~2018-01-22 16:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-22 16:09 Aishwarya Pant
2018-01-22 16:30 ` Sudeep Holla [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ad66263c-2116-63d0-1b80-c5357f731066@arm.com \
--to=sudeep.holla@arm.com \
--cc=aishpant@gmail.com \
--cc=corbet@lwn.net \
--cc=daniel.lezcano@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=julia.lawall@lip6.fr \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®