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

Marek Vasut
2015-08-13T22:42:29Z

On Thursday, August 13, 2015 at 10:56:27 PM, Sergei Temerkhanov wrote:

Hi!

(please stop top-posting ; please keep the list in the loop)

> 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 suspect we might need a quirk for the XHCI instead them (quirk that the
controller gets stuck when you try to queue arbitrary number of descriptors).
But I wonder, don't you have some cache problems instead ? Try disabling
dcache (CONFIG_SYS_DCACHE_OFF) on your machine and see if that fixes the
problem .

Best regards,
Marek Vasut