On 27-08-2026 14:24, David Marchand wrote:
Hello,

On Thu, 27 Aug 2026 at 09:37, Prashant Gupta <[email protected]> wrote:
In the DPAA bus initialization: it builds the
device list, loads the QMAN/BMAN drivers, registers the platform mbuf
pool ops and populates the PA to VA translation table. All of it needs
the DPDK heap or a memzone for multi process scenarios.

get_iommu_class() for this bus only checks two sysfs paths, so the
initialization is not needed in scan to report the IOVA mode. Move it
back to probe.

Fixes: cdefd2e980bd ("drivers/bus: initialize NXP bus specifics in scan")

Signed-off-by: Prashant Gupta <[email protected]>
While the change looks correct, I don't understand what is being fixed.
Could you elaborate on the issue?

In my brief discussion about this issue, I was told that some of the these QMAN/BMAN related initialization should be done using shared/Hugepage memory for multi-process sharing;

Hugepages are not available during scan, they become available later.

Acked-by: Hemant Agrawal <[email protected]>


Reply via email to