I'm having problems with xhci giving me errors like "ERROR Transfer event TRB DMA ptr not part of current TD..." I've finally found a fix on lkml for this problem. I would love for this to be included in your patches for the latest table kernel so I don't have to add this patch manually (or anyone else having the same problem as me). This little fix I found works like a charm. Reproducible: Always These errors makes the usb device reset every time this happens with huge stalls for like 30 seconds for me. As I use the usb drive for system disc it hits me hard.
The URL i attached to this report will show the discussion about the problem and also the little fix that needs to be done to the kernel.
This thing bit me as well, using kernel 4.1.3. It's an off by one error in the xhci. https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg939670.html drivers/usb/host/xhci-ring.c - if (segment_offset > TRBS_PER_SEGMENT) + if (segment_offset >= TRBS_PER_SEGMENT) Small change, USB3 speed went from 2MB/s back to 150MB/s.
This patch is in kernels >= 4.1.6