[PATCH v3] bus/pci: don't open uio device in secondary process

David Marchand david.marchand at redhat.com
Fri Sep 19 12:15:53 CEST 2025


On Fri, 11 Oct 2024 at 13:17, Konrad Sztyber <konrad.sztyber at intel.com> wrote:
>
> The uio_pci_generic driver clears the bus master bit when the device
> file is closed. So, when the secondary process terminates after probing
> a device, that device becomes unusable in the primary process.
>
> To avoid that, the device file is now opened only in the primary process
> and the secondary gets it over UNIX domain socket via SCM_RIGHTS.
>
> Fixes: 847d78fb9530 ("bus/pci: fix FD in secondary process")
> Cc: stable at dpdk.org
>
> Signed-off-by: Konrad Sztyber <konrad.sztyber at intel.com>

Sorry I let this patch slip out of my radar.
I see nothing wrong in this v3, but could you rebase and resend it so
it goes through our CI?

Anatoly, Chenbo, Nipun, please have a look.
Thanks.


-- 
David Marchand



More information about the stable mailing list