Re: bug in pci_try_reset_bus

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

 



On 8/27/2018 4:48 PM, Dennis Dalessandro wrote:
Possible solutions are:
1. introduce a locked reset API > 2. skip lock during probe
3. bring back raw reset API even though it is undesirable.

I think the first option is the cleanest. I can put together a patch and post it soon.

I was thinking about this. These locked API are getting out of control. It could
be a simpler solution to change the mutex type of device_lock such that it can
be locked twice. I think I have seen some examples of how to do this in the
NVMe driver.





[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