]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: ext4: Fix alignment of cache buffers
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 25 Mar 2020 20:27:51 +0000 (21:27 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 27 Mar 2020 19:42:04 +0000 (15:42 -0400)
commit7b83060b1eab4456b3dfaef636dfd5c0ff705b17
tree60960f6366bb9c1a2f4e77ea4fe9e1a2302a3a81
parentcb11eed23d7215b6902d43f6273b562ee31e770a
fs: ext4: Fix alignment of cache buffers

We need to align the cache buffer to ARCH_DMA_MINALIGN in order to avoid
access errors like

CACHE: Misaligned operation at range [be0231e0be0235e0]

seen on the MCIMX7SABRE.

Fixes: d5aee659f217 ("fs: ext4: cache extent data")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
fs/ext4/ext4fs.c