From mboxrd@z Thu Jan 1 00:00:00 1970 From: puneets Date: Tue, 6 Mar 2012 12:30:09 +0530 Subject: [U-Boot] [PATCH v8] usb: align buffers at cacheline In-Reply-To: References: <4F54BEA9.6060302@boundarydevices.com> <1330958781-20863-1-git-send-email-puneets@nvidia.com> Message-ID: <4F55B5F9.80407@nvidia.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 Simon, I do see only first warning on all the devices and rest of the warnings on a few mass storage device. My patch fixing these warnings is not accepted. Please see below link for further info - http://lists.denx.de/pipermail/u-boot/2012-March/119404.html IMO, these warnings spew when we expects some info e.g. device descriptor, manf id, prod id... from the device. The root cause of the issue is some race condition in H/w due to which, even though we receive "STD_ASS"(Async sequence status) as 0 still transfer descriptor token is not updated. Thanx & Regards, Puneet On Monday 05 March 2012 11:48 PM, Simon Glass wrote: > Hi Puneet, > > On Mon, Mar 5, 2012 at 6:46 AM, Puneet Saxena wrote: >> As DMA expects the buffers to be equal and larger then >> cache lines, This aligns buffers at cacheline. >> >> Signed-off-by: Puneet Saxena > Tested on Seaboard: > > Tested-by: Simon Glass > Acked-by: Simon Glass > > I do still see a few alignment warnings, but only a tidy fraction of > what we had. Do you see these? > > Tegra2 (SeaBoard) # usb start > (Re)start USB... > USB: Register 10011 NbrPorts 1 > USB EHCI 1.00 > scanning bus for devices... ERROR: v7_dcache_inval_range - start > address is not aligned - 0x3fbed6f2 > ERROR: v7_dcache_inval_range - stop address is not aligned - 0x3fbed732 > ERROR: v7_dcache_inval_range - start address is not aligned - 0x3fbed484 > ERROR: v7_dcache_inval_range - stop address is not aligned - 0x3fbed584 > ERROR: v7_dcache_inval_range - start address is not aligned - 0x3fbed492 > ERROR: v7_dcache_inval_range - stop address is not aligned - 0x3fbed592 > ERROR: v7_dcache_inval_range - start address is not aligned - 0x3fbed49e > ERROR: v7_dcache_inval_range - stop address is not aligned - 0x3fbed59e > ERROR: v7_dcache_inval_range - start address is not aligned - 0x3fbed4a2 > ERROR: v7_dcache_inval_range - stop address is not aligned - 0x3fbed582 > 2 USB Device(s) found > scanning bus for storage devices... 1 Storage Device(s) found > > > Regards, > Simon ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------