极术小姐姐 · 2020年02月03日

In Arm v7 mmu, stage2 translation cannot use short descriptors

ARM V7 document states: "In ARMv7-A short descriptors only be used at EL0 and EL1 stage 1 translations. They cannot, therefore, be used by hypervisors or Secure monitor code."

Why stage2/hypervisors/secure monitor cannot use short descriptors? what is the limitation?

1 个回答 得票排序 · 时间排序
棋子 · 2020年02月03日

I don't know the reasons for the decision at the time, but I can think of several possible reasons.

Complexity. If you support both formats at S2, the TLBs need to be able record more possibilities so making them more complex. If you don't need short descriptors, not supporting them is one way to make the designer simpler.

Address space size. LPAE made is easier for Arm processors to support physical address sizes greater than 32-bit. Virtualization is one use case where you would expect this kind of support to be more useful.

你的回答
关注数
1
收藏数
0
浏览数
2315
棋子
极术微信服务号
关注极术微信号
实时接收点赞提醒和评论通知
安谋科技学堂公众号
关注安谋科技学堂
实时获取安谋科技及 Arm 教学资源
安谋科技招聘公众号
关注安谋科技招聘
实时获取安谋科技中国职位信息