[U-Boot] [UBOOT RFC PATCH 13/13] dwc3: core: Change the bounce buffer size to 4096

Felipe Balbi
2014-08-18T14:41:57Z

On Mon, Aug 18, 2014 at 07:58:35PM +0530, Kishon Vijay Abraham I wrote:
> Bounce buffer is used for transferring requests which is not maxpacket
> aligned. In the case of DFU the requests can be upto 4096 bytes.
>
> While the actual fix for this should be using two chained TRBs to handle
> the transfer, this can be used as a temporary fix.

Did you manage to trigger this fault ? Was the size larger than 512 ?
I'm inclined into getting a real fix instead of just patching around.

That way, the kernel benefits too as we can port the same patch there.

--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140818/495e5c89/attachment.pgp>