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

2024-11-19 Thread Konrad Sztyber
On 10/24/24 11:05, David Marchand wrote: On Fri, Oct 11, 2024 at 1:17 PM Konrad Sztyber 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 proc

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

2024-10-24 Thread David Marchand
On Fri, Oct 11, 2024 at 1:17 PM Konrad Sztyber 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 fi

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

2024-10-11 Thread Konrad Sztyber
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 get