[U-Boot] [PATCH] usb_storage: USB storage transfer size increase for xHCI

Sergei Temerkhanov
2015-08-13T22:48:57Z

Well, when I was working on this, setting large transfer sizes resulted in,
AFAIR, xhci_wait_for_event() timeout and changing XHCI_TIMEOUT doesn't
help. This function returns NULL which is being dereferenced somewhere else
(I don't remember where exactly), there are several places in the generic
xhci support code where this is possible - I think it was abort_td().

Regards,
Sergey

On Thu, Aug 13, 2015 at 10:34 PM, Marek Vasut <marex@denx.de> wrote:

> On Thursday, August 13, 2015 at 09:13:52 PM, Sergei Temerkhanov wrote:
> > Tried different values but transfer sizes larger than ~8k blocks never
> > complete on some controllers causing timeouts and crashes. So, 4k blocks
> is
> > a safe enough xfer size
>
> Would you please elaborate on this ?
>
> Best regards,
> Marek Vasut
>