From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] part_iso: Cache align read buffer
Date: Wed, 22 Mar 2017 10:50:50 -0400 [thread overview]
Message-ID: <20170322145050.GL19897@bill-the-cat> (raw)
In-Reply-To: <20170322134324.27189-1-mnhu@prevas.dk>
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>
prev parent reply other threads:[~2017-03-22 14:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-22 13:43 [U-Boot] [PATCH] part_iso: Cache align read buffer Martin Hundebøll
2017-03-22 14:50 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170322145050.GL19897@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox