From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BFE2648BFA for ; Mon, 1 Dec 2025 15:41:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA79F402EB; Mon, 1 Dec 2025 15:41:29 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id A668D4021F for ; Mon, 1 Dec 2025 15:41:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764600087; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=knUXdOwhaAquKuh5CbZzGwkKHddUnnOABfCGT8MpQ/c=; b=V78TfMF89qK38wQBd3z5wewQzCAJ+sga/gMZzw/+qt50Ji5OnJWkCWKZQlGGDb0crpOEK9 G1fjk/NgO9ADUyyHdcBkqh0Tevc+Ob+YsMdcqaFU6jbqMBkMF3/Q5CxYKymnzC8NiRCs76 FfP4dGK32HuMYZL9rdPr/un+st9KkDw= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-73-zBsTheZGO_y2SbpIBOnd6g-1; Mon, 01 Dec 2025 09:41:21 -0500 X-MC-Unique: zBsTheZGO_y2SbpIBOnd6g-1 X-Mimecast-MFC-AGG-ID: zBsTheZGO_y2SbpIBOnd6g_1764600080 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 9DBE4195606F; Mon, 1 Dec 2025 14:41:20 +0000 (UTC) Received: from rh.redhat.com (unknown [10.42.28.204]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 495AE180047F; Mon, 1 Dec 2025 14:41:19 +0000 (UTC) From: Kevin Traynor To: Luca Boccassi Cc: Bruce Richardson , dpdk stable Subject: patch 'test/debug: fix IOVA mode on PPC64 without huge pages' has been queued to stable release 24.11.4 Date: Mon, 1 Dec 2025 14:41:00 +0000 Message-ID: <20251201144112.633118-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 4MsyBltv6jAcpQZRDeI1gzii_y0RAwBWu7KHyL-xC1M_1764600080 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org 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 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 Acked-by: Bruce Richardson --- 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