On Fri, Jun 5, 2026 at 2:11 PM <[email protected]> wrote:
>
> From: Pavan Nikhilesh <[email protected]>
>
> cnxk_dmadev_probe() ran in secondary processes too, overwriting the
> shared rdpi->pci_dev with a process-local pointer and marking the
> device ready. With buses now cleaned up on shutdown, the primary's
> roc_dpi_dev_fini() dereferences that stale pointer and crashes.
>
> Skip HW init in secondary processes: attach to the shared device data
> and return, leaving rdpi and the device state untouched.
>
> Fixes: 53f6d7328bf4 ("dma/cnxk: create and initialize device on PCI probing")
> Cc: [email protected]
>
> Signed-off-by: Pavan Nikhilesh <[email protected]>

Applied to dpdk-next-net-mrvl/for-main. Thanks

Reply via email to