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

Marek Vasut marex at denx.de
Tue Jun 26 01:16:00 CEST 2012


Dear Joe Hershberger,

> 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>

NAK, actually ... let's wait until the discussion is settled ;-)

Best regards,
Marek Vasut


More information about the U-Boot mailing list