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 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5bus/fslmc: defer bus initialization to probedrivers/bus/fslmc/fslmc_bus.c+51 -410 replies
1/5bus/fslmc: defer bus initialization to probedrivers/bus/fslmc/fslmc_bus.c+51 -410 replies
1/5bus/fslmc: defer bus initialization to probedrivers/bus/fslmc/fslmc_bus.c+51 -410 replies
2/5bus/fslmc: reduce probe-time logging and MC trafficdrivers/bus/fslmc/fslmc_vfio.c+1 -20 replies
2/5bus/fslmc: reduce probe-time logging and MC trafficdrivers/bus/fslmc/fslmc_vfio.c drivers/bus/fslmc/portal/dpaa2_hw_dprc.c+6 -20 replies
2/5bus/fslmc: reduce probe-time logging and skip ignored devicesdrivers/bus/fslmc/fslmc_vfio.c drivers/bus/fslmc/portal/dpaa2_hw_dprc.c+5 -20 replies
3/5dma/dpaa2: fix array-bounds warning in dequeue pathdrivers/dma/dpaa2/dpaa2_qdma.c+16 -220 replies
3/5dma/dpaa2: fix array-bounds warning in dequeue pathdrivers/dma/dpaa2/dpaa2_qdma.c+14 -90 replies
3/5dma/dpaa2: fix array-bounds warning and SG FD double-putdrivers/dma/dpaa2/dpaa2_qdma.c+14 -90 replies
4/5dma/dpaa2: validate IOVA in pre-populate helpersdrivers/dma/dpaa2/dpaa2_qdma.c+49 -90 replies
4/5dma/dpaa2: validate IOVA in pre-populate helpersdrivers/dma/dpaa2/dpaa2_qdma.c+20 -10 replies
4/5dma/dpaa2: validate FLE pool IOVA mapping at vchan setupdrivers/dma/dpaa2/dpaa2_qdma.c+22 -10 replies
5/5mempool/dpaa2: support ops index from primary in secondarydrivers/mempool/dpaa2/dpaa2_hw_mempool.c+92 -30 replies
5/5mempool/dpaa2: support ops index from primary in secondarydrivers/mempool/dpaa2/dpaa2_hw_mempool.c+100 -30 replies
5/5mempool/dpaa2: look up ops index locally in secondarydrivers/mempool/dpaa2/dpaa2_hw_mempool.c+21 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v3-S1 0/5] 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 and reduce probe-time logging and MC traffic,
- fix an array-bounds warning and validate IOVA in the dpaa2 QDMA pre-populate helpers,
- support fetching the mempool ops index from the primary process in a secondary process.

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

Gagandeep Singh (1):
dma/dpaa2: validate IOVA in pre-populate helpers

Hemant Agrawal (1):
bus/fslmc: reduce probe-time logging and MC traffic

Jun Yang (2):
dma/dpaa2: fix array-bounds warning in dequeue path mempool/dpaa2: support ops index from primary 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/dma/dpaa2/dpaa2_qdma.c           | 96 ++++++++++++++++--------
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 95 ++++++++++++++++++++++-
 4 files changed, 209 insertions(+), 77 deletions(-)
Signature · 1 line
2.43.0