[PATCH] bus/dpaa: defer bus initialization to probe
David Marchand
david.marchand at redhat.com
Thu Aug 27 10:54:22 CEST 2026
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?
--
David Marchand
More information about the dev
mailing list