Re: [U-Boot] [PATCH v2 3/4] api: FreeBSD: flush cache before starting loader/kernel

2017-01-23 Thread Emmanuel Vadot
Hi Simon, On Fri, 20 Jan 2017 20:51:54 -0700 Simon Glass wrote: > Hi, > > On 17 January 2017 at 08:50, 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 icach

Re: [U-Boot] [PATCH v2 3/4] api: FreeBSD: flush cache before starting loader/kernel

2017-01-20 Thread Simon Glass
Hi, On 17 January 2017 at 08:50, 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 dcach

Re: [U-Boot] [PATCH v2 3/4] api: FreeBSD: flush cache before starting loader/kernel

2017-01-18 Thread Emmanuel Vadot
On Tue, 17 Jan 2017 21:58:31 +0100 Alexander Graf wrote: > > > On 17/01/2017 21:45, Emmanuel Vadot wrote: > > On Tue, 17 Jan 2017 21:13:51 +0100 > > Alexander Graf wrote: > > > >> > >> > >> On 17/01/2017 16:50, Emmanuel Vadot wrote: > >>> From: Warner Losh > >>> > >>> FreeBSD loader(8) just l

Re: [U-Boot] [PATCH v2 3/4] api: FreeBSD: flush cache before starting loader/kernel

2017-01-17 Thread Alexander Graf
On 17/01/2017 21:45, Emmanuel Vadot wrote: On Tue, 17 Jan 2017 21:13:51 +0100 Alexander Graf wrote: On 17/01/2017 16:50, 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 ica

Re: [U-Boot] [PATCH v2 3/4] api: FreeBSD: flush cache before starting loader/kernel

2017-01-17 Thread Emmanuel Vadot
On Tue, 17 Jan 2017 21:13:51 +0100 Alexander Graf wrote: > > > On 17/01/2017 16:50, 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.

Re: [U-Boot] [PATCH v2 3/4] api: FreeBSD: flush cache before starting loader/kernel

2017-01-17 Thread Alexander Graf
On 17/01/2017 16:50, 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. Signed-off-by: Em

[U-Boot] [PATCH v2 3/4] api: FreeBSD: flush cache before starting loader/kernel

2017-01-17 Thread Emmanuel Vadot
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. Signed-off-by: Emmanuel Vadot --- api/api.c | 5 + cmd/bo