patches for DPDK stable branches
 help / color / mirror / Atom feed
* patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4
@ 2025-12-01 14:41 Kevin Traynor
  2025-12-01 14:41 ` patch 'bus/fslmc: fix const pointer in device name parsing' " Kevin Traynor
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Kevin Traynor @ 2025-12-01 14:41 UTC (permalink / raw)
  To: Luca Boccassi; +Cc: Bruce Richardson, dpdk stable

Hi,

FYI, your patch has been queued to stable release 24.11.4

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/kevintraynor/dpdk-stable

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

Thanks.

Kevin

---
From 4b0f9391cee6bbc06b297687bb41f2e2b2e1fbd0 Mon Sep 17 00:00:00 2001
From: Luca Boccassi <bluca@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@debian.org>
Acked-by: Bruce Richardson <bruce.richardson@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 fe5dd5b02d..5ff9068e2b 100644
--- a/app/test/test_debug.c
+++ b/app/test/test_debug.c
@@ -47,5 +47,5 @@ test_debug(void)
  */
 
-static const char *test_args[7];
+static const char *test_args[8];
 
 int
@@ -159,8 +159,15 @@ test_debug(void)
 		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
 	}
 
-- 
2.51.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-12-01 11:18:48.630518175 +0000
+++ 0001-test-debug-fix-IOVA-mode-on-PPC64-without-huge-pages.patch	2025-12-01 11:18:48.566735499 +0000
@@ -1 +1 @@
-From c94a9de51c2100659b25105ef433b88f3e6dc5af Mon Sep 17 00:00:00 2001
+From 4b0f9391cee6bbc06b297687bb41f2e2b2e1fbd0 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c94a9de51c2100659b25105ef433b88f3e6dc5af ]
+
@@ -17 +18,0 @@
-Cc: stable@dpdk.org


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-12-01 14:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Kevin Traynor
2025-12-01 14:41 ` patch 'bus/fslmc: fix const pointer in device name parsing' " Kevin Traynor
2025-12-01 14:41 ` patch 'bus/ifpga: " Kevin Traynor
2025-12-01 14:41 ` patch 'bus/uacce: fix const pointer in device matching' " Kevin Traynor
2025-12-01 14:41 ` patch 'common/qat: fix some const pointers' " Kevin Traynor
2025-12-01 14:41 ` patch 'crypto/caam_jr: fix const pointer in UIO filename parsing' " Kevin Traynor
2025-12-01 14:41 ` patch 'net/enetfec: " Kevin Traynor
2025-12-01 14:41 ` patch 'net/memif: fix const pointer in socket check' " Kevin Traynor
2025-12-01 14:41 ` patch 'app/procinfo: fix const pointer in collectd format' " Kevin Traynor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).