On Wed, 28 Aug 2024 12:40:02 +0200
Konrad Sztyber <[email protected]> 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. The commit that introduced this regression, 847d78fb95
> ("bus/pci: fix FD in secondary process"), only mentioned enabling access
> to config space from secondary process, which still works, as it doesn't
> rely on the device file.
>
> Fixes: 847d78fb95 ("bus/pci: fix FD in secondary process")
>
> Signed-off-by: Konrad Sztyber <[email protected]>
Wouldn't this break use of interrupts in the secondary process?
The patch does need the minor fix of the comment style.
So resubmit