3.1.2. IOMMU 命令队列栅栏命令(IOMMU Command-queue Fence commands) ....................................39
3.1.3. IOMMU 目录缓存失效命令(IOMMU directory cache invalidation commands) ..............................40
3.1.4. IOMMU PCIe ATS 命令(IOMMU PCIe ATS commands) .................................................................40
3.2. 故障/事件队列(Fault/Event-Queue,FQ) .....................................................................................................42
3.3. 页面请求队列(Page-Request-Queue,PQ) ................................................................................................45
第 4 章 调试支持 .............................................................................................................................................................47
第 5 章 内存映射寄存器接口 .........................................................................................................................................48
5.1. 寄存器布局 ..........................................................................................................................................................48
5.2. 复位行为 ..............................................................................................................................................................50
5.3. IOMMU 能力(capabilities) ............................................................................................................................50
5.4. 功能控制寄存器(fctl) ......................................................................................................................................52
5.5. 设备目录表指针 (ddtp) .......................................................................................................................................53
5.6. 命令队列基地址(cqb) .....................................................................................................................................54
5.7. 命令队列头(cqh) ............................................................................................................................................54
5.8. 命令队列尾(cqt) ..............................................................................................................................................55
5.9. 故障队列基地址 (fqb)..........................................................................................................................................55
5.10. 故障队列头 (fqh)..........................................................................................................................................56
5.11. 故障队列尾(fqt) .......................................................................................................................................56
5.12. 页面请求队列基地址(pqb) .....................................................................................................................56
5.13. 页面请求队列头(pqh).............................................................................................................................57
5.14. 页面请求队列尾(pqt) ..............................................................................................................................57
5.15. 命令队列 CSR (cqcsr) ................................................................................................................................57
5.16. 故障队列 CSR (fqcsr) .................................................................................................................................59
5.17. 页面请求队列 CSR (pqcsr) ........................................................................................................................60
5.18. 中断待处理状态寄存器 (ipsr) .....................................................................................................................61
5.19. 性能监测计数器溢出状态(iocountovf) .................................................................................................62
5.20. 性能监测计数器禁止 (iocountinh) .............................................................................................................62
5.21. 性能监测循环计数器(iohpmcycles) ...................................................................................................63
5.22. 性能监控事件计数器(iohpmctr1-31) ....................................................................................................63
5.23. 性能监控事件选择器(iohpmevt1-31) ...................................................................................................63
5.24. 转换请求 IOVA (tr_req_iova) ......................................................................................................................66
5.25. 转换请求控制 (tr_req_ctl) ...........................................................................................................................66
5.26. 转换应答 (tr_response) ...............................................................................................................................67
5.27. 中断原因向量寄存器 (icvec).......................................................................................................................68
5.28. MSI 配置表 (msi_cfg_tbl) ...........................................................................................................................69
第 6 章 软件指南(Software guidelines) ...............................................................................................................71
6.1. 读写 IOMMU 寄存器(Reading and writing IOMMU registers) ..................................................................71
6.2. 初始化指南(Guidelines for initialization) ....................................................................................................71
6.3. 失效指南(Guidelines for invalidations) .......................................................................................................73
6.3.1. 更改设备目录表表项(Changing device directory table entry) ...........................................................73
6.3.2. 更改进程目录表表项(Changing process directory table entry) ..........................................................73