On 9/5/2018 12:08 PM, Sinan Kaya wrote:
pci_reset_bus() is being called from the probe context and causes a deadlock since pci_reset_bus() also tries to obtain kernel lock. Use __pci_reset_function_locked() that provides locking guarantees. Fixes: 811c5cb37df4 ("PCI: Unify try slot and bus reset API") Link: https://bugzilla.kernel.org/show_bug.cgi?id=200985 Signed-off-by: Sinan Kaya <okaya@xxxxxxxxxx>
Tested-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>