Re: [PATCH v3][for 4.14] xhci: allow TRACE to work with EVENT ring dequeue

2017-10-05 Thread Mathias Nyman
On 04.10.2017 19:07, Adam Wallis wrote: On 9/26/2017 2:44 AM, Mathias Nyman wrote: On 25.09.2017 19:09, David Laight wrote: From: Adam Wallis Sent: 25 September 2017 13:26 inc_deq() currently bails earlier for EVENT rings than the common return point of the function, due to the fact that EVENT

Re: [PATCH v3][for 4.14] xhci: allow TRACE to work with EVENT ring dequeue

2017-10-04 Thread Adam Wallis
On 9/26/2017 2:44 AM, Mathias Nyman wrote: > On 25.09.2017 19:09, David Laight wrote: >> From: Adam Wallis >>> Sent: 25 September 2017 13:26 >>> inc_deq() currently bails earlier for EVENT rings than the common return >>> point of the function, due to the fact that EVENT rings do not have >>> link

Re: [PATCH v3][for 4.14] xhci: allow TRACE to work with EVENT ring dequeue

2017-09-25 Thread Mathias Nyman
On 25.09.2017 19:09, David Laight wrote: From: Adam Wallis Sent: 25 September 2017 13:26 inc_deq() currently bails earlier for EVENT rings than the common return point of the function, due to the fact that EVENT rings do not have link TRBs. The unfortunate side effect of this is that the very us

RE: [PATCH v3][for 4.14] xhci: allow TRACE to work with EVENT ring dequeue

2017-09-25 Thread David Laight
From: Adam Wallis > Sent: 25 September 2017 13:26 > inc_deq() currently bails earlier for EVENT rings than the common return > point of the function, due to the fact that EVENT rings do not have > link TRBs. The unfortunate side effect of this is that the very useful > trace_xhci_inc_deq() function