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

Incomplete check of "cause = 263" about RESERVED bits in msipte.translate_rw #287

Closed HDntown closed 7 months ago

HDntown commented 7 months ago

There are two parts of RESERVED bits in msipte.translate_rw. They are "reserved0:7" and "reserved:9" . See <_riscv-iommu/iommu_ref_model/libiommu/include/iommutranslate.h _line_61 and line64>.

So my partner and me think "reserved0:7" should be added to judge "cause = 263". See <_riscv-iommu/iommu_ref_model/libiommu/src/iommu_msitrans.c _line_111~line114>.

ved-rivos commented 7 months ago

@HDntown thanks for reporting this. Updated in PR #288