]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
usb: xhci: bInterval quirk for TI TUSB73x0
authorRoger Quadros <rogerq@ti.com>
Fri, 7 Apr 2017 14:57:12 +0000 (17:57 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 20 Jun 2017 08:50:10 +0000 (10:50 +0200)
commit25513a7a4acb951e5c6c5c483207986a204b5473
tree24ace216bea6e0016c26df9889f2b5804a3987c8
parent914b692a3f0e0db05fb812f58a93ed6219fef4de
usb: xhci: bInterval quirk for TI TUSB73x0

BugLink: http://bugs.launchpad.net/bugs/1692898
commit 69307ccb9ad7ccb653e332de68effdeaaab6907d upstream.

As per [1] issue #4,
"The periodic EP scheduler always tries to schedule the EPs
that have large intervals (interval equal to or greater than
128 microframes) into different microframes. So it maintains
an internal counter and increments for each large interval
EP added. When the counter is greater than 128, the scheduler
rejects the new EP. So when the hub re-enumerated 128 times,
it triggers this condition."

This results in Bandwidth error when devices with periodic
endpoints (ISO/INT) having bInterval > 7 are plugged and
unplugged several times on a TUSB73x0 XHCI host.

Workaround this issue by limiting the bInterval to 7
(i.e. interval to 6) for High-speed or faster periodic endpoints.

[1] - http://www.ti.com/lit/er/sllz076/sllz076.pdf

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci.h