From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 19 Jul 2012 18:48:26 -0400 Subject: [U-Boot] [PATCH 5/7] FAT: get_cluster: Add buffer bouncing In-Reply-To: <1320224323.294130.1342735357081.JavaMail.root@advansee.com> References: <1320224323.294130.1342735357081.JavaMail.root@advansee.com> Message-ID: <201207191848.27881.vapier@gentoo.org> 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 19 July 2012 18:02:37 Beno?t Th?baudeau wrote: > + if ((unsigned long)buffer & (ARCH_DMA_MINALIGN - 1)) { > ALLOC_CACHE_ALIGN_BUFFER(__u8, tmpbuf, mydata->sect_size); > > + debug("FAT: Misaligned buffer address (%p)\n", buffer); i'd suggest making this a printf. bounce buffers are not cheap. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: