[U-Boot] [PATCH 0/5] Add KConfig option for cache maintenance availability

Faiz Abbas faiz_abbas at ti.com
Tue May 22 06:17:41 UTC 2018


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


More information about the U-Boot mailing list