Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp875228yba; Wed, 24 Apr 2019 11:01:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwD5xk0q02tMm2/D0OjJxCxyk1eakWqbpt8mL9jfJGgGaPunr15sF3Xa0z/zHvGmuhH+B4V X-Received: by 2002:a62:1c54:: with SMTP id c81mr16861086pfc.122.1556128899472; Wed, 24 Apr 2019 11:01:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556128899; cv=none; d=google.com; s=arc-20160816; b=cVgpv2zp+pHxd7tIYAm5fUmLi7Pa3A3y3C3nq3sHIo1a1uIqWc1g3w39HlUzs+9dos ywZj6jlck4CQX+iRfrRR8eaDpaMXGG+At1Pmos2iAodhVm6HfBOU6ctnSNV9dDscWuFA 7YR/2sJCBX17Y3PL7Zrd2pSMlFA+vT1edGYPXIPBTm6CRwG2VF7zZgx4PvlYx+oWaZDv z5doXIfbclWC+WttPWcnsIp+w2vcRvBOoiro2xRjOT1UDzr2kme6tt4GS6/Oc8sUrjCu JStD8oV2UNAvXMMTcjEwd1ej2TPzfOaWWVLT/sO/kon81bghtk8J2zAdTEfyfqP0SGgJ 8zGg== 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=ZP0CStpWUrM0R0aKRRSzKlANjGL5p1DY/HMd8QLtSETxtJYOViG3SdqXCJmg14h8No cwe31T4g2VeQp+ga1U/5BqSmQwXtXdVFQadT1+bUoxW0+CZ9CPaYiTce2H2Gpqnnema1 nWGGM+kAE2UobDYK+2NIyncKYmRyVMNUMQieNykSOQAe96LtExDTAuPTWpqc27jv9MRz pJV4geTSMImUKMsGbwfhtzaJbB2BpFJJm99++M+btoCrSf25wXj/+lhVdakrn9jMUUJn W2fLRZaRq3gDWhhDGwureLCDSN56/wChxnY9O9AkQdnyb3UWFiUyn8kV9UXNVuUjT+kJ KbNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rC7PI+Um; 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 x5si21307091pfo.84.2019.04.24.11.01.23; Wed, 24 Apr 2019 11:01:39 -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=rC7PI+Um; 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 S2392484AbfDXR6k (ORCPT + 99 others); Wed, 24 Apr 2019 13:58:40 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:42645 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392551AbfDXR4l (ORCPT ); Wed, 24 Apr 2019 13:56:41 -0400 Received: by mail-pg1-f194.google.com with SMTP id p6so9740367pgh.9; Wed, 24 Apr 2019 10:56:41 -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=rC7PI+Umnb6CVvmFeTKMN7ISacQYIp5JWx7K4j+/MoThvTNXN7DKRPDYZuFRkx+xej i0m/SbyBO9wpeuFH4CZdqx+d1RsRX5A3vKccF2xgH0FzdffvCXrm3/kABVs47nkmtaln EcKhcVUokYPdQZoTiF9Gg3+or+ZiiYZAh2+HFADT9Qgb+JtdjJV/7YZxzfvBkInJerJh rNInXK1LJnOkyWXRdP7XJc6/mONGEuE6LWnaVJNcHp4cuZYpPiSVfBLNQzSruieHcGnT mCOAjxpnEUDx49BadZbt5sGCu5y66Jol1LNsT2o/ll4OQb9ja496PorsMm8XSlXZ7FpO 9gCA== 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=ku3rjnuEOJBnf8NxDBwW+HC5ZmEqxhbd+CpCCrhCqo+Qt7L+S5VUWrnwZra1HyT8YY 4hf5nZSd9RhKB1s7U3BFjoyZijv/w3ELrpJf0umyPE0cLThaUkrG8l4I5GVHnhpjyrKg Bw9j040z+2lr6E1eboLXRQfvjVl/KOJc4RDVpMsEByYo/oNWnuh7N0ZlQUldvfAiaR1H 2MY369UPPIQbm2nbveRZp9ymoZ2dmYKU2h3jcdnmIEmF1TDGRiKFghTF9grxtCTJiPR6 6+KojlunYUnIa2rgDXLg1AWWHsA0JImvIJfTaXrXH4poLekiEHNwinFyBqAf2KcRaK52 MqGw== X-Gm-Message-State: APjAAAV2SBG4tmVrOQq67u6xKWKuW7RJhofB7T6F4tZRPdwOlQLeRonV jlrt+7PhGM3DjRnetoHFxrE= X-Received: by 2002:a63:d10:: with SMTP id c16mr19643000pgl.156.1556128600687; Wed, 24 Apr 2019 10:56:40 -0700 (PDT) Received: from localhost.localdomain ([104.238.181.70]) by smtp.gmail.com with ESMTPSA id 6sm29275630pfp.143.2019.04.24.10.56.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Apr 2019 10:56:39 -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 v5 21/23] Documentation: ACPI: move lpit.txt to firmware-guide/acpi and convert to reST Date: Thu, 25 Apr 2019 01:53:04 +0800 Message-Id: <20190424175306.25880-22-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190424175306.25880-1-changbin.du@gmail.com> References: <20190424175306.25880-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