From: Tom Rini Date: Mon, 9 Oct 2017 13:01:42 -0400 Subject: [U-Boot] [U-Boot, v2, 1/2] fs/fat: Fix 'CACHE: Misaligned operation at range' warnings In-Reply-To: <20170930232522.8152-1-tuomas.tynkkynen@iki.fi> References: <20170930232522.8152-1-tuomas.tynkkynen@iki.fi> Message-ID: <20171009170142.GP12015@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 Sun, Oct 01, 2017 at 02:25:21AM +0300, Tuomas Tynkkynen wrote: > The 'block' field of fat_itr needs to be properly aligned for DMA and > while it does have '__aligned(ARCH_DMA_MINALIGN)', the fat_itr structure > itself needs to be properly aligned as well. > > While at it use malloc_cache_aligned() for the other aligned allocations > in the file as well. > > Fixes: 2460098cffacd1 ("fs/fat: Reduce stack usage") > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: