From patchwork Thu Mar 2 17:49:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rafael J. Wysocki" X-Patchwork-Id: 63510 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e54c:0:0:0:0:0 with SMTP id z12csp43127wrm; Thu, 2 Mar 2023 10:14:48 -0800 (PST) X-Google-Smtp-Source: AK7set+By9+te+FE4314ku+nLwjnI2yY91FBl8Edxkt7iiGOtSiWwXW9HRHNXJ8svW01SzxlfoYG X-Received: by 2002:a17:906:7690:b0:8b1:7ae8:ba79 with SMTP id o16-20020a170906769000b008b17ae8ba79mr10844165ejm.30.1677780887993; Thu, 02 Mar 2023 10:14:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677780887; cv=none; d=google.com; s=arc-20160816; b=q9wVcYluXxokL2Ypdc1OA22tx24F5UnbzsiICksHSRNgS8lzPA25w3zkBhXC3Jr4yq Q4IypUBJHqPAcN3aX6ayXSLEfsYl8MKqXbuM/YFZmYYDBR6GX6G/xbUFpPO1I8c0zLc5 BC2/uAQ8wphlgInZ7eShRLywyXS9exNbkcLGhtmK3TJZeo2fJNCGg2QHw0Wmy3LIZwLi +TJqgA9uq3Gv3/nphYodng0GhBhkaw77QMPqzBC23MahT+GUd/eL5EFQil2Po718oepP OVtVEVEBtb9iVcmu7VMnZFKywWvrYL0zlmmm6UoeUoMIe6iZ3h5IFOS+QQfh5VLWtVna Td1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=i7xvmh/OqPnVOcMvvtcPSGp8q1Xo0MM+LYSgKB+JnV0=; b=xStEwIgpJffTIcXYlnoIDiACym7kGkdPgHFPmx62UvaRDXILtZVHJ1cRqxF9QyPmOS mNaGWJkA4j5AEoNYlTCnXOnmamQ8iZTv9OAeE/IZYZnYAXjqyAH+G9dqUTd7yoJRYihG NkNZnmm/Vackf/DPyr6CbLZ3kXVSFxb6hO0cEWSZaIZWDHjw1YizSvDTqgfaysAsGmkK EY1j7aNaIYV32yvPWQq+0NjIq05jgWblaAAJci64XVXHebkZsYqS0n/RBUWjfoq5ajLF sCpNWsyMkkTJ+KiLKS/egD3bXMdzbB12fBcjB/otXtKAjcLI/cpECx5g/X6Io42I1fLv nRYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e15-20020a1709067e0f00b008f6c0244cefsi16518520ejr.701.2023.03.02.10.13.51; Thu, 02 Mar 2023 10:14:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbjCBRtR (ORCPT + 99 others); Thu, 2 Mar 2023 12:49:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbjCBRtQ (ORCPT ); Thu, 2 Mar 2023 12:49:16 -0500 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B65C17CD6; Thu, 2 Mar 2023 09:49:15 -0800 (PST) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.1.0) id 32703731c8ccc0ca; Thu, 2 Mar 2023 18:49:13 +0100 Received: from kreacher.localnet (unknown [213.134.183.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id E1AFA206173F; Thu, 2 Mar 2023 18:49:12 +0100 (CET) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML Subject: [PATCH] ACPI: docs: Update the pm_profile sysfs attribute documentation Date: Thu, 02 Mar 2023 18:49:12 +0100 Message-ID: <12163052.O9o76ZdvQC@kreacher> MIME-Version: 1.0 X-CLIENT-IP: 213.134.183.41 X-CLIENT-HOSTNAME: 213.134.183.41 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrudeljedguddtfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeffffffkefgheehffelteeiveeffeevhfelteejvddvieejjeelvdeiheeuveeuffenucfkphepvddufedrudefgedrudekfedrgedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddufedrudefgedrudekfedrgedupdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopedvpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhg X-DCC--Metrics: v370.home.net.pl 1024; Body=2 Fuz1=2 Fuz2=2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759280772375383638?= X-GMAIL-MSGID: =?utf-8?q?1759280772375383638?= From: Rafael J. Wysocki The list of possible pm_profile values listed in sysfs-acpi-pmprofile does not include the tablet one (8), so update it. While at it, rewrite the description so it is more accurate and somewhat easier to follow. Signed-off-by: Rafael J. Wysocki --- Documentation/ABI/stable/sysfs-acpi-pmprofile | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) Index: linux-pm/Documentation/ABI/stable/sysfs-acpi-pmprofile =================================================================== --- linux-pm.orig/Documentation/ABI/stable/sysfs-acpi-pmprofile +++ linux-pm/Documentation/ABI/stable/sysfs-acpi-pmprofile @@ -2,16 +2,17 @@ What: /sys/firmware/acpi/pm_profile Date: 03-Nov-2011 KernelVersion: v3.2 Contact: linux-acpi@vger.kernel.org -Description: The ACPI pm_profile sysfs interface exports the platform - power management (and performance) requirement expectations - as provided by BIOS. The integer value is directly passed as - retrieved from the FADT ACPI table. +Description: The ACPI pm_profile sysfs interface exposes the preferred + power management (and performance) profile of the platform + as provided in the ACPI FADT Preferred_PM_Profile field. -Values: For possible values see ACPI specification: - 5.2.9 Fixed ACPI Description Table (FADT) - Field: Preferred_PM_Profile + The integer value is directly passed as retrieved from the FADT. - Currently these values are defined by spec: +Values: For the possible values refer to the Preferred_PM_Profile field + definition in Table 5.9 "FADT Format", Section 5.2.9 "Fixed ACPI + Description Table (FADT)" of the ACPI specification. + + Currently (as of ACPI 6.5), the following values are defined: == ================= 0 Unspecified @@ -22,5 +23,6 @@ Values: For possible values see 5 SOHO Server 6 Appliance PC 7 Performance Server - >7 Reserved + 8 Tablet + >8 Reserved == =================