android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Prashanth K 95c448e702 UPSTREAM: usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK
Upstream commit bac1ec551434 ("usb: xhci: Set quirk for
XHCI_SG_TRB_CACHE_SIZE_QUIRK") introduced a new quirk in XHCI
which fixes XHC timeout, which was seen on synopsys XHCs while
using SG buffers. But the support for this quirk isn't present
in the DWC3 layer.

We will encounter this XHCI timeout/hung issue if we run iperf
loopback tests using RTL8156 ethernet adaptor on DWC3 targets
with scatter-gather enabled. This gets resolved after enabling
the XHCI_SG_TRB_CACHE_SIZE_QUIRK. This patch enables it using
the xhci device property since its needed for DWC3 controller.

In Synopsys DWC3 databook,
Table 9-3: xHCI Debug Capability Limitations
Chained TRBs greater than TRB cache size: The debug capability
driver must not create a multi-TRB TD that describes smaller
than a 1K packet that spreads across 8 or more TRBs on either
the IN TR or the OUT TR.

Change-Id: I51c065d76939b6fc34e80dc970568ba5c9d40567
Cc: stable@vger.kernel.org #5.11
Signed-off-by: Prashanth K <quic_prashk@quicinc.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20240116055816.1169821-2-quic_prashk@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Prashanth K <quic_prashk@quicinc.com>
2025-02-28 10:03:30 +05:30
..
atm usb: atm: cxacru: fix endpoint checking in cxacru_bind() 2024-07-05 09:08:30 +02:00
c67x00
cdns3 usb: cdns3: fix memory double free when handle zero packet 2024-03-01 13:13:36 +01:00
chipidea usb: chipidea: wait controller resume finished for wakeup irq 2024-01-25 14:34:29 -08:00
class USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages 2024-07-05 09:08:15 +02:00
common usb: common: usb-conn-gpio: Prevent bailing out if initial role is none 2023-08-16 18:19:23 +02:00
core Merge android11-5.4.281 (d62984a) into msm-5.4 2024-10-29 01:43:17 -07:00
dwc2 usb: dwc2: host: Fix dereference issue in DDMA completion flow. 2024-05-02 16:18:32 +02:00
dwc3 UPSTREAM: usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK 2025-02-28 10:03:30 +05:30
early
gadget Merge android11-5.4.281 (d62984a) into msm-5.4 2024-10-29 01:43:17 -07:00
host UPSTREAM: usb: host: xhci-plat: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK 2025-02-28 10:03:22 +05:30
image
isp1760
misc Merge android11-5.4.281 (d62984a) into msm-5.4 2024-10-29 01:43:17 -07:00
mon usb: mon: Fix atomicity violation in mon_bin_vma_fault 2024-01-25 14:34:30 -08:00
mtu3 usb: mtu3: fix kernel panic at qmu transfer done irq handler 2023-05-17 11:35:49 +02:00
musb This is the 5.4.279 stable release 2024-07-08 13:55:50 +00:00
pd usb: pd: Send extcon notification as soon as APSD detection is done 2023-03-06 15:14:29 +05:30
phy Merge android11-5.4.268+ (66f4b04) into msm-5.4 2024-04-10 23:53:13 -07:00
renesas_usbhs
roles usb: roles: don't get/set_role() when usb_role_switch is unregistered 2024-03-01 13:13:36 +01:00
serial USB: serial: option: add Rolling RW350-GL variants 2024-07-18 11:40:55 +02:00
storage Merge android11-5.4.281 (d62984a) into msm-5.4 2024-10-29 01:43:17 -07:00
typec Merge android11-5.4.278(7453ecf) into msm-5.4 2024-10-15 16:13:40 +05:30
usbip USB: usbip: fix stub_dev hub disconnect 2023-11-20 10:30:14 +01:00
Kconfig
Makefile
usb-skeleton.c