patch 'dma/dpaa: fix data validation on completion path' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Thu Nov 5 17:42:41 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/07/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/70605502b364b032b53de0483a83100eaa95beae
Thanks.
Luca Boccassi
---
>From 70605502b364b032b53de0483a83100eaa95beae 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 4fb924cf953..fae5fb79f5d 100644
--- a/drivers/dma/dpaa/dpaa_qdma.c
+++ b/drivers/dma/dpaa/dpaa_qdma.c
@@ -11,6 +11,7 @@
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"
@@ -392,6 +393,9 @@ fsl_qdma_data_validation(struct fsl_qdma_desc *desc[],
char err_msg[512];
int offset;
+ if (likely(!s_data_validation))
+ return;
+
offset = sprintf(err_msg, "Fatal TC%d/queue%d: ",
fsl_queue->block_id,
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-11-05 16:42:47.786582905 +0000
+++ 0074-dma-dpaa-fix-data-validation-on-completion-path.patch 2026-11-05 16:42:45.005063297 +0000
@@ -1 +1 @@
-From ace48214936ec2e1772a5eaa23b08a876b8d92fc Mon Sep 17 00:00:00 2001
+From 70605502b364b032b53de0483a83100eaa95beae 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 e2cb157c433..85d351a8cf9 100644
+index 4fb924cf953..fae5fb79f5d 100644
More information about the stable
mailing list