[PATCH v3] bus/pci: don't open uio device in secondary process
Konrad Sztyber
konrad.sztyber at intel.com
Tue Nov 19 11:39:43 CET 2024
On 10/24/24 11:05, David Marchand wrote:
> On Fri, Oct 11, 2024 at 1:17 PM 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>
>
> Recheck-request: rebase=main,iol-compile-amd64-testing
Is there anything that's required of me to get this patch merged?
More information about the dev
mailing list