[PATCH] bus/dpaa: defer bus initialization to probe

Hemant Agrawal hemant.agrawal at oss.nxp.com
Thu Aug 27 18:02:31 CEST 2026


On 27-08-2026 14:24, David Marchand wrote:
> Hello,
>
> On Thu, 27 Aug 2026 at 09:37, Prashant Gupta <prashant.gupta_3 at nxp.com> 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 <prashant.gupta_3 at nxp.com>
> 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 <hemant.agrawal at nxp.com>

>


More information about the dev mailing list