From mboxrd@z Thu Jan 1 00:00:00 1970 From: Changbin Du Subject: [PATCH v2 22/24] acpi doc: convert acpi/lpit.txt to rst format Date: Fri, 29 Mar 2019 08:11:33 +0800 Message-ID: <20190329001135.15847-23-changbin.du@gmail.com> References: <20190329001135.15847-1-changbin.du@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20190329001135.15847-1-changbin.du@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Jonathan Corbet Cc: rjw@rjwysocki.net, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Changbin Du List-Id: linux-acpi@vger.kernel.org This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- Documentation/acpi/index.rst | 1 + Documentation/acpi/{lpit.txt => lpit.rst} | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) rename Documentation/acpi/{lpit.txt => lpit.rst} (68%) diff --git a/Documentation/acpi/index.rst b/Documentation/acpi/index.rst index 91aeed814ea9..664807949272 100644 --- a/Documentation/acpi/index.rst +++ b/Documentation/acpi/index.rst @@ -27,3 +27,4 @@ Linux ACPI (Advanced Configuration and Power Interface) apei/output_format apei/einj cppc_sysfs + lpit diff --git a/Documentation/acpi/lpit.txt b/Documentation/acpi/lpit.rst similarity index 68% rename from Documentation/acpi/lpit.txt rename to Documentation/acpi/lpit.rst index b426398d2e97..aca928fab027 100644 --- a/Documentation/acpi/lpit.txt +++ b/Documentation/acpi/lpit.rst @@ -1,3 +1,9 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=========================== +Low Power Idle Table (LPIT) +=========================== + To enumerate platform Low Power Idle states, Intel platforms are using “Low Power Idle Table” (LPIT). More details about this table can be downloaded from: @@ -8,13 +14,15 @@ Residencies for each low power state can be read via FFH On platforms supporting S0ix sleep states, there can be two types of residencies: -- CPU PKG C10 (Read via FFH interface) -- Platform Controller Hub (PCH) SLP_S0 (Read via memory mapped interface) + + - CPU PKG C10 (Read via FFH interface) + - Platform Controller Hub (PCH) SLP_S0 (Read via memory mapped interface) The following attributes are added dynamically to the cpuidle -sysfs attribute group: - /sys/devices/system/cpu/cpuidle/low_power_idle_cpu_residency_us - /sys/devices/system/cpu/cpuidle/low_power_idle_system_residency_us +sysfs attribute group:: + + /sys/devices/system/cpu/cpuidle/low_power_idle_cpu_residency_us + /sys/devices/system/cpu/cpuidle/low_power_idle_system_residency_us The "low_power_idle_cpu_residency_us" attribute shows time spent by the CPU package in PKG C10 -- 2.20.1