riscv-non-isa / riscv-iommu

RISC-V IOMMU Specification
https://jira.riscv.org/browse/RVG-55
Creative Commons Attribution 4.0 International
85 stars 17 forks source link

What Fault should be reported if MSI page access permissions check failed? #406

Closed zhuotianshu closed 1 month ago

zhuotianshu commented 1 month ago

If requesting X permission to MSI region, what fault should be reported by IOMMU? Should it be Instruction guest page fault (cause=20)?

ved-rivos commented 1 month ago

If execute permission is requested and G-stage does not provide execute permission then a instruction guest page fault occurs.