From: Mario Limonciello <mario.limonciello@amd.com>
To: "Rafael J . Wysocki" <rafael@kernel.org>
Cc: Len Brown <lenb@kernel.org>, Huang Rui <ray.huang@amd.com>,
<linux-acpi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-pm@vger.kernel.org>,
Gautham Ranjal Shenoy <gautham.shenoy@amd.com>,
Wyes Karny <Wyes.Karny@amd.com>, Perry Yuan <perry.yuan@amd.com>,
"Mario Limonciello" <mario.limonciello@amd.com>
Subject: [PATCH v3 1/3] ACPI: CPPC: Add definition for undefined FADT preferred PM profile value
Date: Tue, 20 Jun 2023 12:24:31 -0500 [thread overview]
Message-ID: <20230620172433.21325-2-mario.limonciello@amd.com> (raw)
In-Reply-To: <20230620172433.21325-1-mario.limonciello@amd.com>
In the event a new preferred PM profile value is introduced it's best for
code to be able to defensively guard against it so that the wrong settings
don't get applied on a new system that uses this profile but ancient
kernels.
Acked-by: Huang Rui <ray.huang@amd.com>
Suggested-by: Gautham Ranjal Shenoy <gautham.shenoy@amd.com>
Link: https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/05_ACPI_Software_Programming_Model/ACPI_Software_Programming_Model.html#fixed-acpi-description-table-fadt
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
v2->v3:
* Drop new symbols (they fold into patch 2)
* Update commit message
* Add Ray's tag
---
include/acpi/actbl.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h
index e5dfb6f4de52..451f6276da49 100644
--- a/include/acpi/actbl.h
+++ b/include/acpi/actbl.h
@@ -307,7 +307,8 @@ enum acpi_preferred_pm_profiles {
PM_SOHO_SERVER = 5,
PM_APPLIANCE_PC = 6,
PM_PERFORMANCE_SERVER = 7,
- PM_TABLET = 8
+ PM_TABLET = 8,
+ NR_PM_PROFILES = 9
};
/* Values for sleep_status and sleep_control registers (V5+ FADT) */
--
2.34.1
next prev parent reply other threads:[~2023-06-20 17:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-20 17:24 [PATCH v3 0/3] Enable amd-pstate active mode by default Mario Limonciello
2023-06-20 17:24 ` Mario Limonciello [this message]
2023-06-21 4:23 ` [PATCH v3 1/3] ACPI: CPPC: Add definition for undefined FADT preferred PM profile value Yuan, Perry
2023-06-20 17:24 ` [PATCH v3 2/3] cpufreq: amd-pstate: Set a fallback policy based on preferred_profile Mario Limonciello
2023-06-21 4:25 ` Yuan, Perry
2023-06-20 17:24 ` [PATCH v3 3/3] cpufreq: amd-pstate: Add a kernel config option to set default mode Mario Limonciello
2023-06-21 17:38 ` [PATCH v3 0/3] Enable amd-pstate active mode by default Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230620172433.21325-2-mario.limonciello@amd.com \
--to=mario.limonciello@amd.com \
--cc=Wyes.Karny@amd.com \
--cc=gautham.shenoy@amd.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=perry.yuan@amd.com \
--cc=rafael@kernel.org \
--cc=ray.huang@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®