patch 'test/power: fix nominal frequency check with amd-pstate' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:01:14 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/26. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/c7e526416c2cf25b6bffadd442301e57dab36c3b

Thanks.

Kevin

---
>From c7e526416c2cf25b6bffadd442301e57dab36c3b Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Tue, 8 Sep 2026 09:52:34 -0700
Subject: [PATCH] test/power: fix nominal frequency check with amd-pstate

[ upstream commit e3eb97e22936a796a8a257ebe65691fc56ba207d ]

The turbo test checks that the core runs at frequency index 1 after
scaling up with turbo disabled. That index is only nominal for
acpi-cpufreq; amd-pstate spreads its buckets between scaling_min_freq
and scaling_max_freq, putting nominal at index 47 on a Ryzen 9 7945HX.
Use the index reported by rte_power_get_freq() instead.

Fixes: 1ed04d33cf19 ("power: support amd-pstate cpufreq driver")

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
 app/test/test_power_cpufreq.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app/test/test_power_cpufreq.c b/app/test/test_power_cpufreq.c
index 0331b37fe0..62bc3bf16a 100644
--- a/app/test/test_power_cpufreq.c
+++ b/app/test/test_power_cpufreq.c
@@ -487,6 +487,7 @@ check_power_turbo(void)
 	}
 
-	/* Check the current frequency */
-	ret = check_cur_freq(TEST_POWER_LCORE_ID, 1, false);
+	/* Nominal frequency is not at a fixed index in the table. */
+	ret = check_cur_freq(TEST_POWER_LCORE_ID,
+			rte_power_get_freq(TEST_POWER_LCORE_ID), false);
 	if (ret < 0)
 		return -1;
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:43.481551438 +0000
+++ 0148-test-power-fix-nominal-frequency-check-with-amd-psta.patch	2026-12-03 12:52:39.136789713 +0000
@@ -1 +1 @@
-From e3eb97e22936a796a8a257ebe65691fc56ba207d Mon Sep 17 00:00:00 2001
+From c7e526416c2cf25b6bffadd442301e57dab36c3b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit e3eb97e22936a796a8a257ebe65691fc56ba207d ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index 08bce4c0d1..1f79b80e6f 100644
+index 0331b37fe0..62bc3bf16a 100644



More information about the stable mailing list