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

Xueming Li xuemingl at nvidia.com
Sat Jun 12 01:04:08 CEST 2021


Hi,

FYI, your patch has been queued to stable release 20.11.2

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/14/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/steevenlee/dpdk

This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/4498bac0f5d21cccd7b6559a671d1de69bc49842

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 4498bac0f5d21cccd7b6559a671d1de69bc49842 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
Cc: Luca Boccassi <bluca at debian.org>

[ 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 2b4728d2e1..c24b706f4f 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.25.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-06-12 06:54:00.467846500 +0800
+++ 0154-test-power-fix-low-frequency-test-when-turbo-enabled.patch	2021-06-12 06:53:56.620000000 +0800
@@ -1 +1 @@
-From 0745214e9239784a62dba28c6ad6bbb211cde949 Mon Sep 17 00:00:00 2001
+From 4498bac0f5d21cccd7b6559a671d1de69bc49842 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Luca Boccassi <bluca at debian.org>
+
+[ upstream commit 0745214e9239784a62dba28c6ad6bbb211cde949 ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list