
Hi Faiz,
On Tue, 22 May 2018 11:47:41 +0530 Faiz Abbas faiz_abbas@ti.com wrote:
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
Thanks for the heads up. Are you working on on this for arm ?
Cheers,