patch "xhci: Add check for invalid byte size error when UAS devices are" added to usb-linus
Subsystems (3)
This is a note to let you know that I've just added the patch titled
xhci: Add check for invalid byte size error when UAS devices are
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-linus branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.
If you have any questions about this process, please let me know.
Quoted 1 line
From
d9193efba84fe4c4aa22a569fade5e6ca971f8afMon Sep 17 00:00:00 2001
From: Sandeep Singh <[email protected]>
Date: Fri, 9 Nov 2018 17:21:19 +0200
Subject: xhci: Add check for invalid byte size error when UAS devices are
connected.
Observed "TRB completion code (27)" error which corresponds to Stopped - Length Invalid error(xhci spec section 4.17.4) while connecting USB to SATA bridge.
Looks like this case was not considered when the following patch[1] was committed. Hence adding this new check which can prevent
the invalid byte size error.
[1] ade2e3a xhci: handle transfer events without TRB pointer
--- drivers/usb/host/xhci-ring.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/host/xhci-ring.c +1 -0
@@ -2273,6 +2273,7 @@ static int handle_tx_event(struct xhci_hcd *xhci, goto cleanup;case COMP_RING_UNDERRUN :case COMP_RING_OVERRUN : +case COMP_STOPPED_LENGTH_INVALID : goto cleanup;default : xhci_err(xhci, "ERROR Transfer event for unknown stream ring slot %u ep %u\n",
Signature · 1 line
2.19.1