From: Tom Rini Date: Thu, 20 Sep 2012 11:43:07 -0700 Subject: [U-Boot] [PATCH] ext4: cache-align buffers so the invalidation works In-Reply-To: <1347991528-11255-1-git-send-email-swarren@wwwdotorg.org> References: <1347991528-11255-1-git-send-email-swarren@wwwdotorg.org> Message-ID: <20120920184307.GE1763@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Sep 18, 2012 at 12:05:28PM -0600, Stephen Warren wrote: > From: Stephen Warren > > DMA buffer cache invalidation requires that buffers have cache-aligned > buffer locations and sizes. Use memalign() and ALLOC_CACHE_ALIGN_BUFFER() > to ensure this. > > On Tegra at least, without this fix, the following fail commands fail in > u-boot-master/ext4, but succeeded at the branch's branch point in > u-boot/master. With this fix, the commands work again: > > ext2ls mmc 0:1 / > ext2load mmc 0:1 /boot/zImage > > Cc: Uma Shankar > Cc: Manjunatha C Achar > Cc: Iqbal Shareef > Cc: Hakgoo Lee > Cc: Wolfgang Denk > Cc: Tom Rini > Signed-off-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: