[U-Boot] [PATCH v3 3/4] api: FreeBSD: flush cache before starting
Tom Rini
trini at konsulko.com
Sat Jan 28 20:33:09 CET 2017
On Thu, Jan 26, 2017 at 05:46:11PM +0100, Emmanuel Vadot wrote:
> From: Warner Losh <imp at freebsd.org>
>
> FreeBSD loader(8) just loaded code to some random location that may
> contain stale icache entries.
> FreeBSD Kernel needs the icache and dcache flushed.
> Before running either one of them, flush the icache and dcache.
This could probably be expanded to note that in general it's just always
a good idea to flush icache/dcache prior to running whatever we're about
to run. This isn't so much a FreeBSD thing as a generic thing.
> Signed-off-by: Emmanuel Vadot <manu at bidouilliste.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
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/20170128/8d7e2301/attachment.sig>
More information about the U-Boot
mailing list