From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 22 Mar 2017 10:50:50 -0400 Subject: [U-Boot] [PATCH] part_iso: Cache align read buffer In-Reply-To: <20170322134324.27189-1-mnhu@prevas.dk> References: <20170322134324.27189-1-mnhu@prevas.dk> Message-ID: <20170322145050.GL19897@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de On Wed, Mar 22, 2017 at 02:43:24PM +0100, Martin Hundeb=C3=B8ll wrote: > The global 'tmpbuf' variable in part_iso triggers invalid cache > alignment warnings when not being aligned to ARCH_DMA_MINALIGN: >=20 > ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4f= fbb6ac > ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ff= bbeac >=20 > The quick fix here is to align the global 'tmpbuf' variable using > DEFINE_CACHE_ALIGN_BUFFER. A real fix would be to change part_iso.c to > use function local buffers defined with ALLOC_CACHE_ALIGN_BUFFER. Can we try and do the real fix please? The merge window isn't even closed just yet, thanks! --=20 Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: