[U-Boot] [PATCH] part_iso: Cache align read buffer

Tom Rini trini at konsulko.com
Wed Mar 22 14:50:50 UTC 2017


On Wed, Mar 22, 2017 at 02:43:24PM +0100, Martin Hundebøll wrote:
> The global 'tmpbuf' variable in part_iso triggers invalid cache
> alignment warnings when not being aligned to ARCH_DMA_MINALIGN:
> 
>   ERROR: v7_outer_cache_inval_range - start address is not aligned - 0x4ffbb6ac
>   ERROR: v7_outer_cache_inval_range - stop address is not aligned - 0x4ffbbeac
> 
> 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!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170322/d77c98a8/attachment.sig>


More information about the U-Boot mailing list