Re: Command ring abort xhci_handshake question

2019-04-25 Thread Bollinger, Seth
> On Apr 25, 2019, at 9:22 AM, Alan Stern wrote: > > Are you certain that those places with the very long timeouts are > called with interrupts disabled? I must admit, I have not reviewed all uses of the long xhci_handshakes. :) I have reviewed the following instance. In usb/host/xhci-ring.c

Re: Command ring abort xhci_handshake question

2019-04-25 Thread Alan Stern
On Thu, 25 Apr 2019, Bollinger, Seth wrote: > Hello All, > > Recently I’ve been troubleshooting a problem with the host > controller dying and noticed that when the controller dies, the > system was unresponsive for a _long_ period of time. When I explored > the code a bit, I saw that xhci_hands

Command ring abort xhci_handshake question

2019-04-25 Thread Bollinger, Seth
Hello All, Recently I’ve been troubleshooting a problem with the host controller dying and noticed that when the controller dies, the system was unresponsive for a _long_ period of time. When I explored the code a bit, I saw that xhci_handshake will spin with interrupts disabled for up to 5 se