From fc6fd959bc04af50c4de895fa2991bdc8621fee6 Mon Sep 17 00:00:00 2001 From: Yijia Wang Date: Thu, 27 Aug 2026 22:04:15 +0800 Subject: [PATCH] BM/pstate: Fix balance_performance EPP check on EMR intel_pstate_tests08 sets energy_performance_preference to balance_performance and then verifies the EPP request value reported by x86_energy_perf_policy. The test currently treats only Sapphire Rapids model 143 as using EPP 32, so Emerald Rapids model 207 falls back to the legacy expected value 128. The upstream Linux change 64a66f4a3c89 ("cpufreq: intel_pstate: Update Balance performance EPP for Emerald Rapids") changed Emerald Rapids to use the same balance_performance EPP value as Sapphire Rapids, 32. Update the LKVS expectation for model 207 to match the kernel behavior. Signed-off-by: Yijia Wang --- BM/pstate/intel_pstate_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BM/pstate/intel_pstate_tests.sh b/BM/pstate/intel_pstate_tests.sh index d933e9a2..ba88ab5a 100755 --- a/BM/pstate/intel_pstate_tests.sh +++ b/BM/pstate/intel_pstate_tests.sh @@ -832,9 +832,9 @@ check_epp_req() { performance) epp_req=0 ;; - # SPR will use 32 for balance_performance EPP value + # SPR and EMR will use 32 for balance_performance EPP value balance_performance) - if [ "$cpu_model" == 143 ]; then + if [ "$cpu_model" == 143 ] || [ "$cpu_model" == 207 ]; then epp_req=32 else epp_req=128