RE: [RFC][PATCH 0/2] Avoiding DWC3 transfer stalls/hangs when using adb over f_fs

From: Yang, Fei
Date: Thu Jan 23 2020 - 11:29:27 EST


>> Hey all,
>> I wanted to send these out for comment and thoughts.
>>
>> Since ~4.20, when the functionfs gadget enabled scatter-gather
>> support, we have seen problems with adb connections stalling and
>> stopping to function on hardware with dwc3 usb controllers.
>> Specifically, HiKey960, Dragonboard 845c, and Pixel3 devices.
>
> Any chance this:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git/commit/?h=testing/next&id=f63333e8e4fd63d8d8ae83b89d2c38cf21d64801
This is a different issue. I have tried initializing num_sgs when debugging this adb stall problem, but it didn't help.

>> has something to do with the problem you are reporting?
>
>> Andrzej