Re: [PATCH] Documentation: PM: correct path name
From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2020-11-02 17:03:29
Also in:
linux-pm, lkml
From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2020-11-02 17:03:29
Also in:
linux-pm, lkml
On Sat, Oct 31, 2020 at 11:23 AM Julia Lawall [off-list ref] wrote:
cpu/ is needed before cpu<N>/ Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> --- Documentation/admin-guide/pm/cpuidle.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/Documentation/admin-guide/pm/cpuidle.rst b/Documentation/admin-guide/pm/cpuidle.rst index 37940a0584ec..26a9d648b88c 100644 --- a/Documentation/admin-guide/pm/cpuidle.rst +++ b/Documentation/admin-guide/pm/cpuidle.rst@@ -478,7 +478,7 @@ order to ask the hardware to enter that state. Also, for each statistics of the given idle state. That information is exposed by the kernel via ``sysfs``. -For each CPU in the system, there is a :file:`/sys/devices/system/cpu<N>/cpuidle/` +For each CPU in the system, there is a :file:`/sys/devices/system/cpu/cpu<N>/cpuidle/` directory in ``sysfs``, where the number ``<N>`` is assigned to the given CPU at the initialization time. That directory contains a set of subdirectories called :file:`state0`, :file:`state1` and so on, up to the number of idle state
Applied as 5,10-rc material, thanks!