riscv-non-isa / riscv-iommu

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

Question about capabilities access valid check when 32Byte read with offset equals 4 #364

Closed viktoryou closed 1 week ago

viktoryou commented 1 week ago

From the location of the code, I think g_offset_to_size[CAPABILITIES_OFFSET + 4] = 8; is missing. Please help to check.

ved-rivos commented 1 week ago

Did you mean g_offset_to_size[FCTRL_OFFSET+4] = 4; ? The field designated for custom use?

ved-rivos commented 1 week ago

never mind. Yes, that was missing and updated in #365