打印

Is it necessary to flush data cache 3

[复制链接]
194|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
没名字的人|  楼主 | 2018-9-9 10:46 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
A-R-M seems not mention anything about this data cache flush of changing table entry.
From A-R-M of ARMv8-Cortex-A (DDI 0487D.a), the G.5.9  TLB maintenance requirements,
we do not see any hint about the necessary to flush data cache of table entry.
The only one example for a uniprocessor system in G.5.9.1, there is no data cache flush operation.
Therefore, in a uniprocessor system, an example instruction sequence for writing a translation table entry, covering
changes to the instruction or data mappings is:
STR rx, [Translation table entry] ; write new entry to the translation table
DSB ; ensures visibility of the new entry
Invalidate TLB entry by VA (and ASID if non-global) [page address]
Invalidate BTC
DSB ; ensure completion of the Invalidate TLB instruction
ISB ; ensure table changes visible to instruction fetch
For SMP system, It neither not find anything about necessary of data cache flush operation.

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

420

主题

432

帖子

0

粉丝