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 8693E48BF9 for ; Mon, 1 Dec 2025 12:52:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E592402E9; Mon, 1 Dec 2025 12:52:03 +0100 (CET) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mails.dpdk.org (Postfix) with ESMTP id CBD8B402E9 for ; Mon, 1 Dec 2025 12:52:02 +0100 (CET) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4779a637712so24057545e9.1 for ; Mon, 01 Dec 2025 03:52:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764589922; x=1765194722; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=z61rEXEQKocy5kieqUvhx/GcdJGGSHCHES3eyhiunUY=; b=GE3FJwGfO/LnCP4bOrlAlS73lQvMnVM3VhKFuv1ovK5NR9GUaor2Pc2y78bjSBLT5B 9wg1umo+flQWb/3DPJa7TVjnQGRgkK6L7TPZP5s6EVNDF0JXHxdtPryBTPPr30lO6R1c Gn4RO3gr+0XHap1CjpyxT7sf44G+eJzeqWoFu6LKfickNsxwuSp/S35h/ly1QJhG5dyN 87lCxyBUeidyCGUGB2R03+R5zP7yJCE4k4j22oyf40rwhX6ldu1DL3bXKSxMaYm4vY+G DnlvaojM/O3jM0+HwdE1SGe5ghGDo6FByTtZ6mB7hPeCxpJ8GneHI5S372nhYuuTILVV 7XUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764589922; x=1765194722; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-g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BKoC9yUi5FGy1cLp4hfic1S5syXuKfBozrQThjH0jaQtpFoCfh8ZZ 4azFQELZYZu9llSx0= X-Google-Smtp-Source: AGHT+IG/fzHbcJc6OuaTEIVaDcUGZGYc2MWqkqHP95DfBX/BLuE/ykRC/U2MocYX++S0aGF0AhpyAg== X-Received: by 2002:a05:600c:3110:b0:477:632c:5b91 with SMTP id 5b1f17b1804b1-477c01b4b2amr454524445e9.16.1764589922094; Mon, 01 Dec 2025 03:52:02 -0800 (PST) Received: from localhost ([2a01:4b00:d036:ae00:7f7d:235f:8cc:c7f7]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-4790530e73esm154820155e9.17.2025.12.01.03.52.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Dec 2025 03:52:01 -0800 (PST) From: luca.boccassi@gmail.com 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 22.11.11 Date: Mon, 1 Dec 2025 11:51:26 +0000 Message-ID: <20251201115155.2462035-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251125181053.1783870-4-luca.boccassi@gmail.com> References: <20251125181053.1783870-4-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 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 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@dpdk.org @@ -26 +27 @@ -index fe5dd5b02d..5ff9068e2b 100644 +index f016e2f8f7..1bb730d69e 100644