Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1993850yba; Thu, 25 Apr 2019 08:58:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTWxoYobX9hIDhuCI0SiV4/B84JTvaOjbSxjWWFr/YAxCuQQIhWPeWva2f7XsPr9u5P1g9 X-Received: by 2002:a65:4481:: with SMTP id l1mr37655863pgq.66.1556207907620; Thu, 25 Apr 2019 08:58:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556207907; cv=none; d=google.com; s=arc-20160816; b=q6AZrcC5jDZGTZuagrlRqrYDLmF82udDWY9oI4GgJQ1y+feXENuPSsz5AtNBbiOdAh LUQcbRiNyj3cZBwNOaV4O8ZSR2147VkWnSlQVX3TfATC+TnPTN3p5P0J472sWOm1M7zC zmGIG9W18Fadwnr5j/HEGPQyfTqIkJ/8UGQ/xAmfaGPzkkCJBNOKGwY3n2uzYHbHgGCu VBKFK6/LW/WyQkGzgDu2SQyyHcpxEItNtdbovmiWpMqbEyUwkMSa0+0SmS3e71AVx9cA vyA8w0k4UrPNK8wANCxZEW21FAawzV32pAYIt7tUMf4IhXdAek/aFyd06/ohx1U9+7Y0 G3vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2sbwg0L9RWIY1yx4og9yDX54LDcD6lm1qQ96G7LSClM=; b=qYV2QHwagrSh+v8LHQs0QepVNpDK+DDmkBlInh0uM6Roz+m0fhhSV7jQCvt/6fMn2Y 1XhtZW6LE6/pEntosFt1gd16/72bl+ymektGQxrjdcilxvpuBBnDl0iUShId0txipYY3 yL8sl7R50vskD5Mm2MsTtsKYPF/gFqsXg5g3gSY1BiLMKTZDdlks82omY86xAHGhRcsf /75Y8r8FczGf/FawevaRjlcXQyYZwvAOSf08L8hfbMcph61JcXoC8GZQ8T++iI5d6d0J 7u9/998lTnqrDdw1/CKVLRkdP+F+eTGDvDcglDINDzBXB9zk1Bof9dnAEKMLYdT8YxBT aeMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D8dNqawa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s79si23199757pfa.69.2019.04.25.08.58.12; Thu, 25 Apr 2019 08:58:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D8dNqawa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730329AbfDYPdr (ORCPT + 99 others); Thu, 25 Apr 2019 11:33:47 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:34124 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730286AbfDYPdp (ORCPT ); Thu, 25 Apr 2019 11:33:45 -0400 Received: by mail-pg1-f196.google.com with SMTP id v12so45382pgq.1; Thu, 25 Apr 2019 08:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2sbwg0L9RWIY1yx4og9yDX54LDcD6lm1qQ96G7LSClM=; b=D8dNqawaDr2iRAk6wUpl0siYfsyzK8XnZC9wZmD3cRqfcMxzxFxSL6Lf/+th9626cS Jun0eqT0cy3VU/MKwlLGmU7Fs3MSS70yroa4gKzqHf/MkLYcqXDQmHQWuhqAvTwM6Dtt fxf5+8WvG9xuS1D1NIFUuL6vXLJMa5aWhGWKFeeNJWVpslXimY1RWECdz1bVCvFkT4xK FDFp8NW2WccrcxfShPQshE9vqPvv8ukR2n/uj4npZW5Zigs0x1XUI4R+GxBa0GZXvC/j WdHJy5mVXHX9TEo2FQnscNXzauxlsOtdVsvTgdRHHIdHWZAmO3xxTMBvoutMiIrfO6O0 QR6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2sbwg0L9RWIY1yx4og9yDX54LDcD6lm1qQ96G7LSClM=; b=Sgw9xtB4MDTAWjUlmU+bTD8GoDzzFExS2d67OZjVDgY2vM/Uh8Ikfnjr0VtSLvywOA VByU5VqC0sHrbsH1Ytuv6SnlQUjxhTmGmeAH6ECZRKvlcKpfRX4u3Cj/Kq8zZ7Nv39nN SAV40kktKf9yRLOw5D+B4FF5L+co05OyG0FKl3iQ7/Mn29XKzgtBUXCOgwtpzNoP04R8 3OmQQKKTOvRX3gK9S9rRtiwqCIa2QlblSyTqWC6P2VN6cte14bbVcZpEUYREUue17wJR y5PK12sGpCm1u1HMKTper25iaEbDGqhmGwmxMXgoXBtGoWw3CsgMVVJJP8Cozdbeeii3 QPjA== X-Gm-Message-State: APjAAAVVrXQb3j4WwLtLcc5dCpOPG4IRt2Y2+G6FELRgC9hyCYxxs46G JFNIB6h90WKpKdGoQJnYNNM= X-Received: by 2002:a63:4c26:: with SMTP id z38mr38632238pga.425.1556206424985; Thu, 25 Apr 2019 08:33:44 -0700 (PDT) Received: from localhost.localdomain ([104.238.181.70]) by smtp.gmail.com with ESMTPSA id c14sm2643363pgj.94.2019.04.25.08.33.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 08:33:43 -0700 (PDT) From: Changbin Du To: rjw@rjwysocki.net, Jonathan Corbet Cc: Bjorn Helgaas , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, fenghua.yu@intel.com, linuxppc-dev@lists.ozlabs.org, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, mchehab+samsung@kernel.org, Changbin Du Subject: [PATCH v6 22/24] Documentation: ACPI: move lpit.txt to firmware-guide/acpi and convert to reST Date: Thu, 25 Apr 2019 23:31:15 +0800 Message-Id: <20190425153117.16057-23-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190425153117.16057-1-changbin.du@gmail.com> References: <20190425153117.16057-1-changbin.du@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/firmware-guide/acpi/index.rst | 1 + .../lpit.txt => firmware-guide/acpi/lpit.rst} | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) rename Documentation/{acpi/lpit.txt => firmware-guide/acpi/lpit.rst} (68%) diff --git a/Documentation/firmware-guide/acpi/index.rst b/Documentation/firmware-guide/acpi/index.rst index fca854f017d8..0e60f4b7129a 100644 --- a/Documentation/firmware-guide/acpi/index.rst +++ b/Documentation/firmware-guide/acpi/index.rst @@ -22,3 +22,4 @@ ACPI Support gpio-properties i2c-muxes acpi-lid + lpit diff --git a/Documentation/acpi/lpit.txt b/Documentation/firmware-guide/acpi/lpit.rst similarity index 68% rename from Documentation/acpi/lpit.txt rename to Documentation/firmware-guide/acpi/lpit.rst index b426398d2e97..aca928fab027 100644 --- a/Documentation/acpi/lpit.txt +++ b/Documentation/firmware-guide/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