Skip to content

dpaa2: bus, DMA and mempool base fixes

Prashant Gupta dpdk-dev 1 version Applied

Status from this message: Applied this first series to next-net. The review was clean.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 1 replyApplied

Patches in v1 Applied

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v7-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 FLE objects immediately on completion ring overflow and only account them after successful context-ring insertion,
- validate FLE pool memory chunks at vchan setup by verifying consistent VA-to-IOVA offsets across the mempool and free the pool on setup 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 remains 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           | 86 +++++++++++++++++-----
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 24 ++++++-
 5 files changed, 144 insertions(+), 65 deletions(-)
Signature · 1 line
2.43.0