Hi again, Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> writes: > ville.syrjala@xxxxxxxxxxxxxxx writes: >> From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> >> >> This reverts commit 55a0237f8f47957163125e20ee9260538c5c341c. >> >> commit 55a0237f8f47 ("usb: dwc3: gadget: use allocated/queued reqs for >> LST bit") causes my BYT FFRD8 with g_ether to behave poorly. ssh/scp >> is very sluggish and can even stall entirely. Revert cures it. >> >> Cc: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> >> Cc: stable@xxxxxxxxxxxxxxx >> Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Reverting that commit is not the best idea. Let's start with the usual: > > - Kernel version > - dmesg on both sides (host and device) > - dwc3 tracepoints: > > # mkdir -p /t > # mount -t tracefs none /t > # echo 8192 > /t/buffer_size_kb > # echo 1 > /t/events/dwc3/enable > # echo 0 > /t/events/dwc3/dwc3_readl/enable > # echo 0 > /t/events/dwc3/dwc3_writel/enable > > This should be enough to tell me what's really going on. I have been trying this with SKL running v4.8 vanilla and a laptop running v4.7.1 from Debian and I can't reproduce it. The only time when I sort of reproduced was when Network Manager on the laptop side decided to "reconfigure" the interface after I had ifconfig foobar 192.168.0.2, so the interface ended up loosing the IP. I have since configured that interface for static IP and it has been running for a while without any problems. FYI I sshed from laptop to SKL and have 'while true; do dmesg; done' running and in another terminal I'm pinging SKL from laptop. I'll keep it running for a while longer. Drop by once you're in the office and I can check what's going on with your device. cheers -- balbi
Attachment:
signature.asc
Description: PGP signature