patch 'dma/dpaa2: propagate removal error' has been queued to stable release 25.11.3

Kevin Traynor ktraynor at redhat.com
Tue Jul 28 17:56:00 CEST 2026


Hi,

FYI, your patch has been queued to stable release 25.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/01/26. 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/a6c81ad3e478c309b55d8a1b1ab4d2fb8b40e58f

Thanks.

Kevin

---
>From a6c81ad3e478c309b55d8a1b1ab4d2fb8b40e58f Mon Sep 17 00:00:00 2001
From: Md Shofiqul Islam <shofiqtest at gmail.com>
Date: Sat, 16 May 2026 14:08:28 +0300
Subject: [PATCH] dma/dpaa2: propagate removal error

[ upstream commit 611ef29e2c768bcede197996ddd9c5a37cf1a243 ]

dpaa2_qdma_remove() checked the return value of rte_dma_pmd_release()
and logged an error on failure, but then unconditionally returned 0,
hiding the failure from fslmc_bus_unplug() and any higher-level
caller.  A device-cleanup failure was silently swallowed.

Return the actual error code so that callers can detect and handle
removal failures correctly.

Bugzilla ID: 1914
Fixes: 8caf8427f85a ("dma/dpaa2: introduce driver skeleton")

Signed-off-by: Md Shofiqul Islam <shofiqtest at gmail.com>
Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
 drivers/dma/dpaa2/dpaa2_qdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/dpaa2/dpaa2_qdma.c b/drivers/dma/dpaa2/dpaa2_qdma.c
index beca464c72..f7d94bb799 100644
--- a/drivers/dma/dpaa2/dpaa2_qdma.c
+++ b/drivers/dma/dpaa2/dpaa2_qdma.c
@@ -1740,5 +1740,5 @@ dpaa2_qdma_remove(struct rte_dpaa2_device *dpaa2_dev)
 		DPAA2_QDMA_ERR("Device cleanup failed");
 
-	return 0;
+	return ret;
 }
 
-- 
2.55.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-28 16:54:51.697933182 +0100
+++ 0030-dma-dpaa2-propagate-removal-error.patch	2026-07-28 16:54:50.770728502 +0100
@@ -1 +1 @@
-From 611ef29e2c768bcede197996ddd9c5a37cf1a243 Mon Sep 17 00:00:00 2001
+From a6c81ad3e478c309b55d8a1b1ab4d2fb8b40e58f Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 611ef29e2c768bcede197996ddd9c5a37cf1a243 ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list