linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* More dwc3 gadget issues with adb
@ 2020-04-15  6:44 John Stultz
  2020-04-16  8:19 ` Felipe Balbi
  0 siblings, 1 reply; 13+ messages in thread
From: John Stultz @ 2020-04-15  6:44 UTC (permalink / raw)
  To: Felipe Balbi
  Cc: Josh Gao, YongQin Liu, Anurag Kumar Vulisha, Yang Fei,
	Thinh Nguyen, Tejas Joglekar, Andrzej Pietrasiewicz, Jack Pham,
	Todd Kjos, Greg KH, Linux USB List, lkml

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

Hey Felipe,
  Last week or so, a change[1] in AOSP to adbd seemingly uncovered
another issue with dwc3 gadget scatter-gather support on HiKey960.

Interestingly it doesn't seem to affect the Dragonboard 845c, which
uses the same dwc3 driver and has had its own issues in the past.

The behavior is the same as we saw last time around with both devices.
After booting the device, running "adb logcat -d" (or really any adb
command that transfers more than a trivial amount of data) on the host
will result in the adb output seeming to stall. Any further adb
invocations to the device will hang indefinitely.

I've captured trace events for before the change (works), after the
change (broken), and after the change with the sg_enabled flag turned
off (which works around the problem).

Let me know if there is anything else useful for me to share.

thanks
-john

[1] https://android.googlesource.com/platform/system/core/+/0871824de6c5b868f2a2e67c9b5673cb2181b4c6

[-- Attachment #2: hikey960.tar.xz --]
[-- Type: application/octet-stream, Size: 92332 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-04-24 22:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-15  6:44 More dwc3 gadget issues with adb John Stultz
2020-04-16  8:19 ` Felipe Balbi
2020-04-16 18:00   ` John Stultz
2020-04-22  4:38   ` John Stultz
2020-04-22  5:09     ` John Stultz
2020-04-24 17:12       ` Jack Pham
     [not found]         ` <CALAqxLUkg8gqY6kN1D=NbpgLDd_yMdvxOJCksrmXw0v8McHodw@mail.gmail.com>
2020-04-24 20:01           ` John Stultz
2020-04-24 22:48           ` Jack Pham
2020-04-22  6:00     ` Felipe Balbi
2020-04-22 18:32       ` John Stultz
2020-04-23  0:50         ` John Stultz
2020-04-23  9:48           ` Felipe Balbi
2020-04-23  9:22         ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).