Re: [PATCH] fs: ext4: Fix alignment of cache buffers

2020-03-27 Thread Tom Rini
On Wed, Mar 25, 2020 at 09:27:51PM +0100, Jan Kiszka wrote: > From: Jan Kiszka > > We need to align the cache buffer to ARCH_DMA_MINALIGN in order to avoid > access errors like > > CACHE: Misaligned operation at range [be0231e0, be0235e0] > > seen on the MCIMX7SABRE. > > Fixes: d5aee659f217 (

Re: [PATCH] fs: ext4: Fix alignment of cache buffers

2020-03-26 Thread Peter Robinson
On Wed, Mar 25, 2020 at 8:28 PM Jan Kiszka wrote: > > From: Jan Kiszka > > We need to align the cache buffer to ARCH_DMA_MINALIGN in order to avoid > access errors like > > CACHE: Misaligned operation at range [be0231e0, be0235e0] > > seen on the MCIMX7SABRE. I've also seen this on some i.MX6 de

Re: [PATCH] fs: ext4: Fix alignment of cache buffers

2020-03-25 Thread Stephen Warren
On 3/25/20 2:27 PM, Jan Kiszka wrote: > From: Jan Kiszka > > We need to align the cache buffer to ARCH_DMA_MINALIGN in order to avoid > access errors like > > CACHE: Misaligned operation at range [be0231e0, be0235e0] > > seen on the MCIMX7SABRE. > > Fixes: d5aee659f217 ("fs: ext4: cache extent

Re: [PATCH] fs: ext4: Fix alignment of cache buffers

2020-03-25 Thread Tom Rini
On Wed, Mar 25, 2020 at 09:27:51PM +0100, Jan Kiszka wrote: > From: Jan Kiszka > > We need to align the cache buffer to ARCH_DMA_MINALIGN in order to avoid > access errors like > > CACHE: Misaligned operation at range [be0231e0, be0235e0] > > seen on the MCIMX7SABRE. > > Fixes: d5aee659f217 (

[PATCH] fs: ext4: Fix alignment of cache buffers

2020-03-25 Thread Jan Kiszka
From: Jan Kiszka We need to align the cache buffer to ARCH_DMA_MINALIGN in order to avoid access errors like CACHE: Misaligned operation at range [be0231e0, be0235e0] seen on the MCIMX7SABRE. Fixes: d5aee659f217 ("fs: ext4: cache extent data") Signed-off-by: Jan Kiszka --- fs/ext4/ext4fs.c |