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

2024-08-29 Thread Chenbo Xia
> On Aug 29, 2024, at 16:57, Konrad Sztyber wrote: > > External email: Use caution opening links or attachments > > > 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

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

2024-08-29 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. The commit that intr