patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 22.11.11
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Dec 1 12:51:26 CET 2025
Hi,
FYI, your patch has been queued to stable release 22.11.11
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/03/25. 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/d6ff079ee42991f6c9499bd0e05fcd2ef461b9b6
Thanks.
Luca Boccassi
---
>From d6ff079ee42991f6c9499bd0e05fcd2ef461b9b6 Mon Sep 17 00:00:00 2001
From: Luca Boccassi <bluca at debian.org>
Date: Tue, 25 Nov 2025 10:39:13 +0000
Subject: [PATCH] test/debug: fix IOVA mode on PPC64 without huge pages
[ upstream commit c94a9de51c2100659b25105ef433b88f3e6dc5af ]
1001s Running binary with argv[]:'/tmp/autopkgtest.LvdXhc/build.6vT/src/build/app/dpdk-test' '--file-prefix=debug' '-l' '0' '--no-huge' '-m' '2048'
<...>
1001s EAL: Cannot use IOVA as 'PA' since physical addresses are not available
This is similar to the commit
6b07762e9490 ("test: force IOVA mode on PPC64 without huge pages")
on ppc64 iova-mode=pa is the default, but it doesn't work with --no-huge,
so add --iova-mode=va to the test arguments.
Fixes: 2b403dd8fb37 ("test/debug: fix crash with mlx5 devices")
Signed-off-by: Luca Boccassi <bluca at debian.org>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
app/test/test_debug.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/app/test/test_debug.c b/app/test/test_debug.c
index f016e2f8f7..1bb730d69e 100644
--- a/app/test/test_debug.c
+++ b/app/test/test_debug.c
@@ -46,7 +46,7 @@ test_debug(void)
* ==========
*/
-static const char *test_args[7];
+static const char *test_args[8];
int
test_panic(void)
@@ -158,10 +158,17 @@ test_debug(void)
test_args[4] = "";
test_args[5] = "";
test_args[6] = "";
+ test_args[7] = "";
} else {
test_args[4] = "--no-huge";
test_args[5] = "-m";
test_args[6] = "2048";
+#ifdef RTE_ARCH_PPC_64
+ /* iova=pa is the default, but fails on ppc64 with --no-huge */
+ test_args[7] = "--iova-mode=va";
+#else
+ test_args[7] = "";
+#endif
}
rte_dump_stack();
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:51:15.265417223 +0000
+++ 0001-test-debug-fix-IOVA-mode-on-PPC64-without-huge-pages.patch 2025-12-01 11:51:15.215263515 +0000
@@ -1 +1 @@
-From c94a9de51c2100659b25105ef433b88f3e6dc5af Mon Sep 17 00:00:00 2001
+From d6ff079ee42991f6c9499bd0e05fcd2ef461b9b6 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c94a9de51c2100659b25105ef433b88f3e6dc5af ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
@@ -26 +27 @@
-index fe5dd5b02d..5ff9068e2b 100644
+index f016e2f8f7..1bb730d69e 100644
More information about the stable
mailing list