From: "Mario Limonciello (AMD)" <superm1@kernel.org>
To: K Prateek Nayak <kprateek.nayak@amd.com>
Cc: Perry Yuan <perry.yuan@amd.com>,
linux-kernel@vger.kernel.org (open list:X86 ARCHITECTURE (32-BIT
AND 64-BIT)),
linux-pm@vger.kernel.org (open list:CPU FREQUENCY SCALING
FRAMEWORK), Vishal Badole <Vishal.Badole@amd.com>,
Richard Gong <Richard.Gong@amd.com>,
"Mario Limonciello (AMD)" <superm1@kernel.org>
Subject: [PATCH v2 2/3] cpufreq/amd-pstate: Add EPP tunings for Zen6 client platforms
Date: Mon, 7 Sep 2026 23:19:34 -0500 [thread overview]
Message-ID: <20260908041935.402116-3-superm1@kernel.org> (raw)
In-Reply-To: <20260908041935.402116-1-superm1@kernel.org>
Zen6 client platforms perform better with individual tunings for
different core types. Add initial EPP tuning values for those
platforms.
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
---
drivers/cpufreq/amd-pstate.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 960db977cc8ca..543ec143efc94 100644
--- a/drivers/cpufreq/amd-pstate.c
+++ b/drivers/cpufreq/amd-pstate.c
@@ -222,7 +222,33 @@ struct amd_pstate_epp_soc {
* Per-CPU-type EPP overrides for hybrid systems. Only hybrid SoCs should be
* listed here; non-hybrid systems always use the legacy defaults.
*/
+static const struct amd_pstate_epp_soc epp_soc_zen6_client __initconst = {
+ .performance_core = {
+ .performance = 25,
+ .balance_performance = 51,
+ .balance_power = 64,
+ .power = 64,
+ },
+ .efficiency_core = {
+ .performance = 25,
+ .balance_performance = 51,
+ .balance_power = 64,
+ .power = 115,
+ },
+ .low_power_core = {
+ .performance = 25,
+ .balance_performance = 51,
+ .balance_power = 64,
+ .power = 115,
+ },
+};
+
static const struct x86_cpu_id amd_pstate_epp_soc_ids[] __initconst = {
+ X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x1A, 0x80, &epp_soc_zen6_client),
+ X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x1A, 0x81, &epp_soc_zen6_client),
+ X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x1A, 0x84, &epp_soc_zen6_client),
+ X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x1A, 0x85, &epp_soc_zen6_client),
+ X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x1A, 0xe0, &epp_soc_zen6_client),
{}
};
--
2.43.0
next prev parent reply other threads:[~2026-09-08 4:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-08 4:19 [PATCH v2 0/3] Add support for Zen 6 client EPP tunings Mario Limonciello (AMD)
2026-09-08 4:19 ` [PATCH v2 1/3] cpufreq/amd-pstate: Add per SoC and per core type EPP tuning values Mario Limonciello (AMD)
2026-09-08 6:19 ` K Prateek Nayak
2026-09-08 19:38 ` Mario Limonciello
2026-09-08 4:19 ` Mario Limonciello (AMD) [this message]
2026-09-08 4:19 ` [PATCH v2 3/3] cpufreq/amd-pstate: Show a warning if missing EPP tunings Mario Limonciello (AMD)
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=20260908041935.402116-3-superm1@kernel.org \
--to=superm1@kernel.org \
--cc=Richard.Gong@amd.com \
--cc=Vishal.Badole@amd.com \
--cc=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=perry.yuan@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.