[U-Boot] [PATCH 7/9] CACHE: net: Test if start address is aligned

Joe Hershberger joe.hershberger at gmail.com
Mon Jun 25 20:05:59 CEST 2012


Hi Marek,

On Sun, Jun 24, 2012 at 7:17 PM, Marek Vasut <marex at denx.de> wrote:
> This prevents the scenario where data cache is on and the
> device uses DMA to deploy data. In that case, it might not
> be possible to flush/invalidate data to RAM properly. The
> other option is to use bounce buffer, but that involves a
> lot of copying and therefore degrades performance rapidly.
> Therefore disallow this possibility of unaligned load address
> altogether if data cache is on.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Joe Hershberger <joe.hershberger at gmail.com>
> ---
Acked-by: Joe Hershberger <joe.hershberger at gmail.com>


More information about the U-Boot mailing list