Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3787120yba; Tue, 23 Apr 2019 09:35:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMC8m+3WKpBcTNwoBZHOFdQR7/ox17GdqG1RQIX1vHgJ3yK74NmV4XjznlV8NQiRFhHRcS X-Received: by 2002:a65:5202:: with SMTP id o2mr25493512pgp.402.1556037318430; Tue, 23 Apr 2019 09:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556037318; cv=none; d=google.com; s=arc-20160816; b=wX8YV5GIdmwHcqRnQWqZmtOSvZiZX+NA/nW0NQwM9KoTfHsEAHeNmuaHN7alJgfKee hBZoMFBsgLCmPzDhdjNtq/rr2FZBMrN71yb8+Ts+6N7DyxI7ipqoCBzj1Vbc6ljYIaSU EJYB29z+ErxMYpwBcsgJZ0hmLBmyA4S7xVB/RkW12dInO/rzahulreu/NzYL4p+ptuB7 69LglF4zR1lBpcAy227E6iyAgYo9Q3YpIKiztRAzZO5Rb4qVmB3Blu1dXYCRP4EgEGO3 1BwlGoh+Sq6zEXwdoE2lVc0yP5aIaV7mayKCZwHpKiBaFGEifVhqxATGo+Linv4DgSku 1vtg== 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=4xTrnLrO59umJmSOvr4epn2M5miwC5OKlGYVuirCoC0=; b=fHBVBqKKu7+LGL6VkPgNXBndIM4k4UBA7ajqEPZC/Tg2NS7Iwe0VElelQTvyOZAtUm qOqdVYpJZ+80h8k9UeCqo9WWjzdFPlL9FyBa740N36+3igpW7dVL5PmBTxvKQB+dq2PA wqZLQwc6Z5tWu6CfujdWjSvkz7jtOagvDVIys9bA+1RqEMiK2KVhS/3vUG0rWRe+hGxN hjv1t6/jvTZl+ue7o+Dx6hBjlWoIZEMmAQrh2YE9JKlDVwZdYtPPIBHoTuQNfSjD+tju uNPPUhF0wLEDBKhNRS1Ez8PgmvFpf1FnkGtm0Si/+rCPAwzW+qzBbS9kp2nPiiAn86wk G4WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IM3hq3uO; 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 j4si16771279pfc.101.2019.04.23.09.35.03; Tue, 23 Apr 2019 09:35:18 -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=IM3hq3uO; 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 S1728905AbfDWQdz (ORCPT + 99 others); Tue, 23 Apr 2019 12:33:55 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:35164 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728569AbfDWQdy (ORCPT ); Tue, 23 Apr 2019 12:33:54 -0400 Received: by mail-pg1-f194.google.com with SMTP id g8so7886566pgf.2; Tue, 23 Apr 2019 09:33:54 -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=4xTrnLrO59umJmSOvr4epn2M5miwC5OKlGYVuirCoC0=; b=IM3hq3uOs4nXIMqaVCPkR+wmGVqnUYUAe2kfzxLiWVFI16Po9dzRGA2HEL3HTkFS0Y yIRE1YfFsBZWwKLtF7pxM2H6HTLfiI0ecsylitlE0QrTK0PBvM1CSbxFDnOM+JvHatdf SV28RxH4G2Z5bsYXMGcsUAbc1qqgAXv3yZdORTxV4D7NP97bqoQed6Qxa/UqCR2ZMR2z 0irvdt100pc8mJM//h6u3lDSti3tCpE7DKg9Kyt6yiWkAqvOQpAVP9/ak2hcHY7RB9YV MOplj8bdzATistWqkFYsXOssi0OqMMCXspkn+JIXz2agpujc4ykwxK0apEBNF4k1xB9W m0zw== 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=4xTrnLrO59umJmSOvr4epn2M5miwC5OKlGYVuirCoC0=; b=Pcg9C4qsyOqL20EsFGBMqRzJaN+uG1362z9tStD8xgVLHrV99w2xJ7yhVlD+jupYru vaR3ZoyZS3wxSITbbkcNez0KehePtLpZTAojV/Hp2ec0n31vkvVKERnmMijFciilIhP9 p5b4SmVUpJRIC4+fbAPT+0H4OWoVSnqI2SSZFEz6Eyosy7DQxlrFTVfk8OBFqoONST5/ PLbhJVwQDuS2k39aSMo5qckcVjs9mFjXBZrLxKvi1Mz6Ry+Gu/ry/z54OIKvUFNo6Hyi ZDl2mzqqEx8mTNQoSxsDZ4LypbTLzGMSPCu7gafcOgBQ/eWiM3hnL9SPOTJaKllR4qZW j45Q== X-Gm-Message-State: APjAAAWfos4yVJQZkZ+OQdvUTA9wF+OeIMA9TSMIhVQgxIRSfKcudlfZ 1k3WZWSuBHzUnqF6Rkm+d2E= X-Received: by 2002:a65:6202:: with SMTP id d2mr25646108pgv.176.1556037233885; Tue, 23 Apr 2019 09:33:53 -0700 (PDT) Received: from localhost.localdomain ([104.238.181.70]) by smtp.gmail.com with ESMTPSA id v1sm24364801pff.81.2019.04.23.09.33.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Apr 2019 09:33:53 -0700 (PDT) From: Changbin Du To: Jonathan Corbet Cc: Bjorn Helgaas , rjw@rjwysocki.net, linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, x86@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 v4 22/63] Documentation: ACPI: move lpit.txt to firmware-guide/acpi and convert to reST Date: Wed, 24 Apr 2019 00:28:51 +0800 Message-Id: <20190423162932.21428-23-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190423162932.21428-1-changbin.du@gmail.com> References: <20190423162932.21428-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 --- 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