From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 14 Aug 2015 00:42:29 +0200 Subject: [U-Boot] [PATCH] usb_storage: USB storage transfer size increase for xHCI In-Reply-To: References: <1439492404-1606-1-git-send-email-s.temerkhanov@gmail.com> <201508132134.23667.marex@denx.de> Message-ID: <201508140042.29334.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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