[U-Boot] cmd: net: flush cache cacheline aligned

Joe Hershberger joe.hershberger at gmail.com
Mon Aug 15 17:57:51 CEST 2016


On Sun, Aug 14, 2016 at 3:06 PM, Tom Rini <trini at konsulko.com> wrote:
> On Tue, Aug 02, 2016 at 12:20:28AM -0700, Stefan Agner wrote:
>
>> From: Stefan Agner <stefan.agner at toradex.com>
>>
>> Flush loaded data cacheline aligned. This avoids warnings such as
>> CACHE: Misaligned operation at range [81000000, 816d0fa8]
>>
>> Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
>> Tested-by: Fabio Estevam <fabio.estevam at nxp.com>
>> Reviewed-by: Simon Glass <sjg at chromium.org>
>> ---
>> Why do we actually have to flush caches after load? It seems to
>> have worked so far despite the caches did not get flushed (due to
>> missalignment).
>
> Joe, would you prefer to just drop this flush, given the rest of the
> thread?  Thanks!

That's what I'd prefer. I'm willing to wait for a bit more discussion. though.

Cheers,
-Joe


More information about the U-Boot mailing list