Hi Martin,

On Tue, Aug 28, 2018 at 04:20:41PM -0300, Martin Pieuchot wrote:
> Hello Tom,
> 
> On 28/08/18(Tue) 11:10, Tom Murphy wrote:
> > On Tue, Aug 28, 2018 at 02:49:38PM +0900, Bryan Linton wrote:
> > > On 2018-08-25 21:40:57, Tom Murphy <open...@pertho.net> wrote:
> > > > On Thu, Aug 23, 2018 at 08:45:54PM +0900, Tom Murphy wrote:
> > > > >  I've narrowed it down. 
> > > > >
> > > > >Last kernel where adb works:  June 24 09:59:46 MDT 2018
> > > > >1st Kernel where adb panics:  June 25 13:10:32 MDT 2018
> 
> The real problem is in the xhci(4) driver.  When a command with a
> timeout is submitted we should ensure no other command is enqueued
> before continuing.  Sadly the driver did not include any mechanism
> to serialize command submissions.  Diff below does that and should
> fix your problem.
> 
> Can you try it on top of -current?  Make sure you have no diff
> reverted.

I've just tested this and was able to send some files to the phone
with adb over USB without any issues.

The rwlock diff did the trick. Many thanks for this!

Tom

Reply via email to