[dpdk-stable] patch 'test/power: fix low frequency test when turbo enabled' has been queued to stable release 19.11.9

Christian Ehrhardt christian.ehrhardt at canonical.com
Thu Jun 10 14:06:27 CEST 2021


Hi,

FYI, your patch has been queued to stable release 19.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 06/12/21. 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/cpaelzer/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/cpaelzer/dpdk-stable-queue/commit/4664acc0f58da508f87756cecc009235d38a783d

Thanks.

Christian Ehrhardt <christian.ehrhardt at canonical.com>

---
>From 4664acc0f58da508f87756cecc009235d38a783d Mon Sep 17 00:00:00 2001
From: David Hunt <david.hunt at intel.com>
Date: Wed, 12 May 2021 17:32:53 +0100
Subject: [PATCH] test/power: fix low frequency test when turbo enabled

[ upstream commit 0745214e9239784a62dba28c6ad6bbb211cde949 ]

With the intel_pstate driver and turbo enabled, indexing is slightly
different to normal, so to get the test to work properly, enable
turbo at the start.

Fixes: ed7c51a6a680 ("app/test: vm power management")

Signed-off-by: David Hunt <david.hunt at intel.com>
---
 app/test/test_power_cpufreq.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/test/test_power_cpufreq.c b/app/test/test_power_cpufreq.c
index 24ecfceaaf..9c2aee5bec 100644
--- a/app/test/test_power_cpufreq.c
+++ b/app/test/test_power_cpufreq.c
@@ -249,6 +249,8 @@ check_power_freq_down(void)
 {
 	int ret;
 
+	rte_power_freq_enable_turbo(TEST_POWER_LCORE_ID);
+
 	/* test with an invalid lcore id */
 	ret = rte_power_freq_down(TEST_POWER_LCORE_INVALID);
 	if (ret >= 0) {
-- 
2.31.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-06-10 14:04:59.908426042 +0200
+++ 0039-test-power-fix-low-frequency-test-when-turbo-enabled.patch	2021-06-10 14:04:58.070024673 +0200
@@ -1 +1 @@
-From 0745214e9239784a62dba28c6ad6bbb211cde949 Mon Sep 17 00:00:00 2001
+From 4664acc0f58da508f87756cecc009235d38a783d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0745214e9239784a62dba28c6ad6bbb211cde949 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 2b4728d2e1..c24b706f4f 100644
+index 24ecfceaaf..9c2aee5bec 100644


More information about the stable mailing list