From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kishon Vijay Abraham I Date: Tue, 19 Aug 2014 21:45:11 +0530 Subject: [U-Boot] [UBOOT RFC PATCH 13/13] dwc3: core: Change the bounce buffer size to 4096 In-Reply-To: <20140818144157.GH9662@saruman.home> References: <1408372115-4570-1-git-send-email-kishon@ti.com> <1408372115-4570-14-git-send-email-kishon@ti.com> <20140818144157.GH9662@saruman.home> Message-ID: <53F3780F.8030809@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Monday 18 August 2014 08:11 PM, Felipe Balbi wrote: > 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 ? yeah.. transferring any kernel image resulted in a 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. sure. Thanks Kishon