On 13.10.2015 23:23, Alexey Brodkin wrote:
Hi Mathias,
On Fri, 2015-09-18 at 22:45 +0300, Alexey Brodkin wrote:
Hi Mathias,
On Fri, 2015-09-18 at 18:07 +0300, Mathias Nyman wrote:
If the difference is big enough between the bytes asked and received
in a bulk tranfer we can get a short transfer event pointing to a TRB in
the middle of the TD. We don't want to handle the TD yet as we will anyway
receive a new event for the last TRB in the TD.
Hold off removing TD from list and finishing it before we reveive a event
for the last TRB in the TD
Signed-off-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
---
I tried your patch and even though I I cannot see literally any changes
in usbmon output I see [probably too] many things reported in syslog.
I'm not sure if that's ok to post such a long logs here but I'll do it now.
If that's not ok please let me know how to pass those long logs to you.
Also before that log an observation - USB device gets reconnected
even though I don't touch it. In the log below you'll see it happens twice.
Note below the first part of the log is for just device connection and
some more time after that. And only then logs for 2 attempts to get
data from USB device.
I'm wondering if there's any chance to continue this investigation?
Yes, we should, but I need to take some time to properly review the Mediatek
xhci driver that has been pending for far too long already.
In the meantime could you try reproducing it without Powermanagement, (CONFIG_PM).
It's a long shot but it would help ruling out PM.
-Mathias
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html