patch 'test/power: fix nominal frequency check with amd-pstate' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:50:19 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/29/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/fcf35b7a098c07242882dd8c6b232dc060990fc3
Thanks.
Luca Boccassi
---
>From fcf35b7a098c07242882dd8c6b232dc060990fc3 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 0331b37fe05..62bc3bf16a0 100644
--- a/app/test/test_power_cpufreq.c
+++ b/app/test/test_power_cpufreq.c
@@ -486,8 +486,9 @@ check_power_turbo(void)
return -1;
}
- /* 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.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:43:58.542465842 +0000
+++ 0125-test-power-fix-nominal-frequency-check-with-amd-psta.patch 2026-10-27 11:43:53.650063658 +0000
@@ -1 +1 @@
-From e3eb97e22936a796a8a257ebe65691fc56ba207d Mon Sep 17 00:00:00 2001
+From fcf35b7a098c07242882dd8c6b232dc060990fc3 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 0331b37fe05..62bc3bf16a0 100644
More information about the stable
mailing list