开发者

mcr instruction after cache disable

开发者 https://www.devze.com 2023-04-10 07:28 出处:网络
Consider arm as platform and Linux as OS used. Consider cache is disabled by means of enabling CONFIG_CPU_DCACHE_DISABLE in k开发者_如何学JAVAernel config.

Consider arm as platform and Linux as OS used.

Consider cache is disabled by means of enabling CONFIG_CPU_DCACHE_DISABLE in k开发者_如何学JAVAernel config. This option basically disables L1 cache. Disabling L1 cache will obviously disable L2 cache?

After this, any mcr instruction will not have any impact regarding cache. It means any dma_cache_maint() operation is equivalent to NULL?

Link:http://lxr.linux.no/#linux+v2.6.35/arch/arm/kernel/head.S#L166

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号