From: Faiz Abbas Date: Tue, 22 May 2018 11:47:41 +0530 Subject: [U-Boot] [PATCH 0/5] Add KConfig option for cache maintenance availability In-Reply-To: <20180430083355.72439-1-manu@freebsd.org> References: <20180430083355.72439-1-manu@freebsd.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Monday 30 April 2018 02:03 PM, Emmanuel Vadot wrote: > Hi, > > In order to correctly exectute some binaries on some arch we need to flush > the data cache or instructions cache. Some arch offer helper functions for > this while others don't (or don't have the ability to do this in hardware). > Introduce some kconfig option name SYS_HAVE_DCACHE_MAINTENANCE and > SYS_HAVE_ICACHE_MAINTENANCE and enable it on some arm CPU that have cache > maintenance helpers. It was decided that instead of flushing/invalidating caches, architectures should add support for allocating coherent data in the first place. See the discussion here: https://patchwork.ozlabs.org/patch/826131/ Thanks, Faiz