Re: [PATCH RESEND] xhci: Prevent deadlock when xhci adapter breaks during init

2019-09-03 Thread Greg KH
On Thu, Aug 29, 2019 at 02:12:15PM -0400, Bill Kuzeja wrote: > The system can hit a deadlock if xhci adapter breaks while initializing. > The deadlock is between two threads: thread 1 is tearing down the > adapter and is stuck in usb_unlocked_disable_lpm waiting to lock the > hcd->handwidth_mute

[PATCH RESEND] xhci: Prevent deadlock when xhci adapter breaks during init

2019-08-29 Thread Bill Kuzeja
The system can hit a deadlock if xhci adapter breaks while initializing. The deadlock is between two threads: thread 1 is tearing down the adapter and is stuck in usb_unlocked_disable_lpm waiting to lock the hcd->handwidth_mutex. Thread 2 is holding this mutex (while still trying to add a usb d

[PATCH RESEND] xhci: Prevent deadlock when xhci adapter breaks during init

2019-08-15 Thread Bill Kuzeja
The system can hit a deadlock if xhci adapter breaks while initializing. The deadlock is between two threads: thread 1 is tearing down the adapter and is stuck in usb_unlocked_disable_lpm waiting to lock the hcd->handwidth_mutex. Thread 2 is holding this mutex (while still trying to add a usb d