Re: pci_probe called concurrently in machine with 2 identical PCI devices causing race condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 26, 2025 at 02:26:56PM +0200, Lukas Wunner wrote:
> On Thu, Jun 26, 2025 at 12:20:48PM +0000, Jozef Matejcik (Nokia) wrote:
> > However, I think this can happen in any machine with 2 identical
> > PCI devices, because as far as I know, existing PCI drivers usually
> > do not assume that probe function can be called from multiple threads.
> 
> That can happen all the time and it would be a bug in the driver
> if it caused issues.

Wait, is that true? I thought that would only happen if the driver
indicated probe_type PROBE_PREFER_ASYNCHRONOUS. The default appears to
still be the same as PROBE_FORCE_SYNCHRONOUS.




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux