RE: [RFT PATCH] xhci: Fix handling timeouted commands on hosts in weird states.

2016-05-25 Thread Rajesh Bhagat
> -Original Message- > From: Joe Lawrence [mailto:joe.lawre...@stratus.com] > Sent: Wednesday, May 25, 2016 9:04 PM > To: Mathias Nyman > Cc: linux-usb@vger.kernel.org; derek.sh...@stratus.com; Rajesh Bhagat > ; stable > Subject: Re: [RFT PATCH] xhci: Fix handling

Re: [RFT PATCH] xhci: Fix handling timeouted commands on hosts in weird states.

2016-05-25 Thread Joe Lawrence
On 05/12/2016 07:57 AM, Mathias Nyman wrote: > If commands timeout we mark them for abortion, then stop the command > ring, and turn the commands to no-ops and finally restart the command > ring. > > If the host is working properly the no-op commands will finish and > pending completions are calle

Re: [RFT PATCH] xhci: Fix handling timeouted commands on hosts in weird states.

2016-05-13 Thread Joe Lawrence
On 05/12/2016 07:57 AM, Mathias Nyman wrote: > If commands timeout we mark them for abortion, then stop the command > ring, and turn the commands to no-ops and finally restart the command > ring. > > If the host is working properly the no-op commands will finish and > pending completions are calle

[RFT PATCH] xhci: Fix handling timeouted commands on hosts in weird states.

2016-05-12 Thread Mathias Nyman
If commands timeout we mark them for abortion, then stop the command ring, and turn the commands to no-ops and finally restart the command ring. If the host is working properly the no-op commands will finish and pending completions are called. If we notice the host is failing driver clears the com