From: Tom Rini Date: Sat, 28 Jan 2017 14:33:09 -0500 Subject: [U-Boot] [PATCH v3 3/4] api: FreeBSD: flush cache before starting In-Reply-To: <20170126164612.86684-4-manu@bidouilliste.com> References: <20170126164612.86684-1-manu@bidouilliste.com> <20170126164612.86684-4-manu@bidouilliste.com> Message-ID: <20170128193309.GC22316@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jan 26, 2017 at 05:46:11PM +0100, Emmanuel Vadot wrote: > From: Warner Losh > > 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 Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: