patch 'dma/dpaa: fix data validation on completion path' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:03:54 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.5

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/08/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/c8a82b8b147d747ebd8121f92f907023344e3933

Thanks.

Kevin

---
>From c8a82b8b147d747ebd8121f92f907023344e3933 Mon Sep 17 00:00:00 2001
From: Hemant Agrawal <hemant.agrawal at nxp.com>
Date: Fri, 16 Oct 2026 16:49:41 +0530
Subject: [PATCH] dma/dpaa: fix data validation on completion path

[ upstream commit ace48214936ec2e1772a5eaa23b08a876b8d92fc ]

fsl_qdma_data_validation() runs on every completion. It is a
byte-by-byte software compare of the transferred data, which belongs to
debugging and not to the datapath, where it costs a read-back and a
compare of every descriptor that completes.

Gate it behind s_data_validation, which is off by default, so the
compare is skipped unless it is explicitly asked for.

Fixes: f1d30e2786b6 ("dma/dpaa: refactor driver")

Signed-off-by: Gagandeep Singh <g.singh at nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
 drivers/dma/dpaa/dpaa_qdma.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/dma/dpaa/dpaa_qdma.c b/drivers/dma/dpaa/dpaa_qdma.c
index b20ff24ab6..df8141eb70 100644
--- a/drivers/dma/dpaa/dpaa_qdma.c
+++ b/drivers/dma/dpaa/dpaa_qdma.c
@@ -12,4 +12,5 @@
 static uint32_t s_sg_max_entry_sz = 2000;
 static bool s_hw_err_check;
+static bool s_data_validation;
 
 #define DPAA_DMA_ERROR_CHECK "dpaa_dma_err_check"
@@ -393,4 +394,7 @@ fsl_qdma_data_validation(struct fsl_qdma_desc *desc[],
 	int offset;
 
+	if (likely(!s_data_validation))
+		return;
+
 
 	offset = sprintf(err_msg, "Fatal TC%d/queue%d: ",
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:47.930619217 +0000
+++ 0308-dma-dpaa-fix-data-validation-on-completion-path.patch	2026-12-03 12:52:39.243605748 +0000
@@ -1 +1 @@
-From ace48214936ec2e1772a5eaa23b08a876b8d92fc Mon Sep 17 00:00:00 2001
+From c8a82b8b147d747ebd8121f92f907023344e3933 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit ace48214936ec2e1772a5eaa23b08a876b8d92fc ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index e2cb157c43..85d351a8cf 100644
+index b20ff24ab6..df8141eb70 100644



More information about the stable mailing list