]> Git Repo - u-boot.git/commit
ext4: cache-align buffers so the invalidation works
authorStephen Warren <[email protected]>
Tue, 18 Sep 2012 08:05:28 +0000 (08:05 +0000)
committerTom Rini <[email protected]>
Thu, 20 Sep 2012 18:07:26 +0000 (11:07 -0700)
commit55b523b7d4ab885142f77d388007eb5490ba6bf4
tree52860da4203f49ccc80bed7e1703d41b96c7fdd7
parented34f34dbaf206dfe223f4bc2147d600fe1b0f58
ext4: cache-align buffers so the invalidation works

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 <[email protected]>
Cc: Manjunatha C Achar <[email protected]>
Cc: Iqbal Shareef <[email protected]>
Cc: Hakgoo Lee <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Tom Rini <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
fs/ext4/dev.c
fs/ext4/ext4_common.c
fs/ext4/ext4_common.h
This page took 0.034119 seconds and 4 git commands to generate.