[PATCH 0/3] dma-debug: skip irrelevant buckets for partial syncs
From: Juanlu Herrero
Date: Tue Nov 10 2026 - 16:37:49 EST
Make the ZCRX area size configurable, skip DMA debug buckets that cannot
contain a partial sync, and add KUnit coverage for bucket bounds.
Earlier Fastio ZCRX registration means with DMA debug enabled:
driver pages before after time saved
mlx5 65536 4.720 s 0.942 s 3.778 s
bnxt_en 131072 10.658 s 0.556 s 10.102 s
These runs used an earlier patch revision and workload. Later
SG-controlled CX7 runs showed no overall registration gain.
Validation: KUnit with KASAN/lockdep, W=1 build and checkpatch passed.
Codex assisted with implementation, review and validation.
Signed-off-by: Juanlu Herrero <juanlu@xxxxxxxxxxxx>
---
Juanlu Herrero (3):
selftests: net: make iou-zcrx area size configurable
dma-debug: skip irrelevant buckets for partial syncs
dma-debug: add bucket bound lifetime coverage
kernel/dma/Kconfig | 10 ++++
kernel/dma/debug.c | 53 +++++++++++++++++----
kernel/dma/tests/debug_kunit.c | 57 +++++++++++++++++++++++
tools/testing/selftests/drivers/net/hw/iou-zcrx.c | 33 ++++++++++---
4 files changed, 137 insertions(+), 16 deletions(-)
---
base-commit: 8ec20f45bd96cdc4c0faff4a6868aae52fab3827
change-id: 20261027-zcrx-dma-debug-registration-03221ef6a7d4
Best regards,
--
Juanlu Herrero