Skip to contentSkip to conversation

cpufreq: amd-pstate: Update Zen6 client EPP tuning values

PATCH Applied Vishal Badole 2 participants 2 messages Sep 28

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: amd-pstate: Update Zen6 client EPP tuning values

The per-CPU-type EPP values for the Zen6 client platform are further tuned based on platform characterization. Adjust the performance and low-power core entries so each core type uses its intended EPP settings.

---
This patch is based on Mario Limonciello's:
"cpufreq/amd-pstate: Add EPP tunings for Zen6 client platforms"
https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git/commit/?id=114a157e8d30601d024b53564a0fe54202f6567f

 drivers/cpufreq/amd-pstate.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/cpufreq/amd-pstate.c +3 -3
index 83960a6336b9..2529cee9a6cc 100644
@@ -211,7 +211,7 @@ static const struct amd_pstate_epp_soc epp_soc_zen6_client __initconst = {
 		.performance		= 25,
 		.balance_performance	= 51,
 		.balance_power		= 64,
-		.power			= 64,
+		.power			= 115,
 	},
 	.efficiency_core = {
 		.performance		= 25,
@@ -221,9 +221,9 @@ static const struct amd_pstate_epp_soc epp_soc_zen6_client __initconst = {
 	},
 	.low_power_core = {
 		.performance		= 25,
-		.balance_performance	= 51,
+		.balance_performance	= 64,
 		.balance_power		= 64,
-		.power			= 115,
+		.power			= 64,
 	},
 };
 
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 11 lines · Vishal Badole

The per-CPU-type EPP values for the Zen6 client platform are further tuned based on platform characterization. Adjust the performance and low-power core entries so each core type uses its intended EPP settings.

---
This patch is based on Mario Limonciello's:
"cpufreq/amd-pstate: Add EPP tunings for Zen6 client platforms"
https://git.kernel.org/pub/scm/linux/kernel/git/superm1/linux.git/commit/?id=114a157e8d30601d024b53564a0fe54202f6567f

Appreciated.

Applied to superm1/linux.git bleeding-edge.

I'll include this in my last PR for 7.4.

Quoted 28 lines
  drivers/cpufreq/amd-pstate.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
drivers/cpufreq/amd-pstate.c +3 -3
index 83960a6336b9..2529cee9a6cc 100644
@@ -211,7 +211,7 @@ static const struct amd_pstate_epp_soc epp_soc_zen6_client __initconst = {
  		.performance		= 25,
  		.balance_performance	= 51,
  		.balance_power		= 64,
-		.power			= 64,
+		.power			= 115,
  	},
  	.efficiency_core = {
  		.performance		= 25,
@@ -221,9 +221,9 @@ static const struct amd_pstate_epp_soc epp_soc_zen6_client __initconst = {
  	},
  	.low_power_core = {
  		.performance		= 25,
-		.balance_performance	= 51,
+		.balance_performance	= 64,
  		.balance_power		= 64,
-		.power			= 115,
+		.power			= 64,
  	},
  };