Re: [PATCH] xhci: Add check for invalid byte size error when UAS devices are connected.

From: Mathias Nyman
Date: Mon Sep 24 2018 - 09:12:55 EST


On 21.09.2018 16:22, Sandeep Singh wrote:
From: Sandeep Singh <sandeep.singh@xxxxxxx>

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


Thanks, adding to queue.

Just out of curiosity, was the TRB pointer bits all zeroes
in this Stopped -Length invalid transfer event TRB?

-Mathias