[U-Boot] [PATCH 2/4] net: round up before calling flush_cache
Marek Vasut
marex at denx.de
Mon Apr 2 16:03:13 CEST 2012
Dear Stefano Babic,
> On 01/04/2012 21:23, Mike Frysinger wrote:
> > On Sunday 01 April 2012 09:22:59 Stefano Babic wrote:
> >> If the range passed to flush_cache is not multiple of
> >> ARCH_DMA_MINALIGN, a warning due to mislaignment is printed.
> >> Detected with fec_mxc, mx35 boards:
> >>
> >> CACHE: Misaligned operation at range [80800000, 8083c310]
> >
> > warning on flushing is broken. the arch/arm/cpu/arm926ejs/cache.c
> > code should probably be fixed instead.
>
> mmhhh...I agree with you. Marek, really I am expecting that the same
> message appears on MX28, not only on arm1136. Only if the size of the
> downloaded file is a multiple of 32, the warning will not appear.
>
> Anyway, the message is misleading. Do we need such kind of warning or
> can we simply silently ignore it ?
Well, it was there to catch bugs in drivers. We can probably turn it into
debug() now ?
> Stefano
Best regards,
Marek Vasut
More information about the U-Boot
mailing list