Skip to content

dpaa2: bus, DMA and mempool base fixes

Prashant Gupta dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6bus/fslmc: defer bus initialization to probedrivers/bus/fslmc/fslmc_bus.c+51 -410 replies
1/6bus/fslmc: defer bus initialization to probedrivers/bus/fslmc/fslmc_bus.c+51 -410 replies
2/6bus/fslmc: reduce probe logging and skip ignored devicesdrivers/bus/fslmc/fslmc_vfio.c drivers/bus/fslmc/portal/dpaa2_hw_dprc.c+5 -20 replies
2/6bus/fslmc: reduce probe logging and skip ignored devicesdrivers/bus/fslmc/fslmc_vfio.c drivers/bus/fslmc/portal/dpaa2_hw_dprc.c+5 -20 replies
3/6dma/dpaa2: use memcpy to fill completion index ringdrivers/dma/dpaa2/dpaa2_qdma.c+9 -60 replies
3/6dma/dpaa2: use memcpy to fill completion index ringdrivers/dma/dpaa2/dpaa2_qdma.c+9 -60 replies
4/6dma/dpaa2: release SG FLE on completion ring overflowdrivers/dma/dpaa2/dpaa2_qdma.c+5 -30 replies
4/6dma/dpaa2: release SG FLE on completion ring overflowdrivers/dma/dpaa2/dpaa2_qdma.c+10 -60 replies
5/6dma/dpaa2: validate FLE pool IOVA mapping at vchan setupdrivers/dma/dpaa2/dpaa2_qdma.c+44 -01 reply
5/6dma/dpaa2: validate FLE pool IOVA mapping at vchan setupdrivers/dma/dpaa2/dpaa2_qdma.c+48 -70 replies
6/6mempool/dpaa2: look up ops index locally in secondarydrivers/mempool/dpaa2/dpaa2_hw_mempool.c+21 -40 replies
6/6mempool/dpaa2: look up ops index locally in secondarydrivers/mempool/dpaa2/dpaa2_hw_mempool.c+21 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v6-S1 0/6] dpaa2: bus, DMA and mempool base fixes

This series is the first of four that upstream the missing NXP dpaa2 driver changes. It collects the foundational bus/fslmc, dma/dpaa2 and mempool/dpaa2 fixes that the later series build on:

- defer fslmc bus initialization to probe; reduce probe logging and skip ignored devices during DPRC population,
- use memcpy to fill the dpaa2 QDMA completion index ring,
- release SG FLE on completion ring overflow in the dpaa2 QDMA dequeue path,
- validate the FLE pool IOVA mapping at vchan setup and free the pool on failure,
- resolve the mempool ops index locally in secondary processes by scanning rte_mempool_ops_table, removing the need for IPC.

Every commit builds cleanly (including the aarch64 DPAA cross build with -Werror) and the series is bisectable.

Gagandeep Singh (1):
dma/dpaa2: validate FLE pool IOVA mapping at vchan setup

Hemant Agrawal (1):
bus/fslmc: reduce probe logging and skip ignored devices

Jun Yang (3):
dma/dpaa2: use memcpy to fill completion index ring dma/dpaa2: release SG FLE on completion ring overflow mempool/dpaa2: look up ops index locally in secondary

Prashant Gupta (1):
bus/fslmc: defer bus initialization to probe

 drivers/bus/fslmc/fslmc_bus.c            | 92 +++++++++++++-----------
 drivers/bus/fslmc/fslmc_vfio.c           |  3 +-
 drivers/bus/fslmc/portal/dpaa2_hw_dprc.c |  4 ++
 drivers/dma/dpaa2/dpaa2_qdma.c           | 67 ++++++++++++++---
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 25 +++++--
 5 files changed, 135 insertions(+), 56 deletions(-)
Signature · 1 line
2.43.0