riscv-non-isa / riscv-iommu

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

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

Closed zhuotianshu closed 3 months ago

zhuotianshu commented 3 months 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 3 months ago

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