Commit 49d825a6 authored by Pedro Henrique Kopper's avatar Pedro Henrique Kopper Committed by Jia, Yingbao
Browse files

cpufreq: intel_pstate: Update Balance performance EPP for Emerald Rapids

mainline inclusion
from mainline-v6.11
commit 64a66f4a3c89b4602ee1e6cd23b28729fc4562b3
category: bugfix
bugzilla: https://gitee.com/openeuler/intel-kernel/issues/IB6QC4
CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=64a66f4a3c89b4602ee1e6cd23b28729fc4562b3



-------------------------------------------------

Intel-SIG: commit 64a66f4a3c89 cpufreq: intel_pstate: Update Balance performance EPP for Emerald Rapids.
Backport intel_pstate driver update for 6.6 from 6.11

On Intel Emerald Rapids machines, we ship the Energy Performance Preference
(EPP) default for balance_performance as 128. However, during an internal
investigation together with Intel, we have determined that 32 is a more
suitable value. This leads to significant improvements in both performance
and energy:

POV-Ray: 32% faster | 12% less energy
OpenSSL: 12% faster | energy within 1%
Build Linux Kernel: 29% faster | 18% less energy

Therefore, we should move the default EPP for balance_performance to 32.
This is in line with what has already been done for Sapphire Rapids.

Signed-off-by: default avatarPedro Henrique Kopper <pedro.kopper@canonical.com>
Acked-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/Zqu6zjVMoiXwROBI@capivara


Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
[ Yingbao Jia: amend commit log ]
Signed-off-by: default avatarYingbao Jia <yingbao.jia@intel.com>
parent 07ccb32a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3406,6 +3406,7 @@ static const struct x86_cpu_id intel_epp_default[] = {
	 */
	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, HWP_SET_DEF_BALANCE_PERF_EPP(102)),
	X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, HWP_SET_DEF_BALANCE_PERF_EPP(32)),
	X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, HWP_SET_DEF_BALANCE_PERF_EPP(32)),
	{}
};