Type of issue: bug report Impact: unknown Development Phase: proposal Other information
Our co-simulation framework found that the exception type of address translation PMA violation is incorrect.
In the following test case, we modify a non-leaf (level 2) PTE to zero, which means the level 2 page dictionary is at 0x0000.
0x0000 is not part of the address range of the memory, which clearly violates the PMA.
boom throws a store page fault(0xf), while spike throws a store access fault(0x7).
Type of issue: bug report
Impact: unknown
Development Phase: proposal
Other information
Our co-simulation framework found that the exception type of address translation PMA violation is incorrect.
In the following test case, we modify a non-leaf (level 2) PTE to zero, which means the level 2 page dictionary is at 0x0000.
0x0000 is not part of the address range of the memory, which clearly violates the PMA.
boom throws a store page fault(0xf), while spike throws a store access fault(0x7).
According to riscv-privileged specification:
Hence, boom should throw a store access fault.
Please tell us about your environment:
- version:
ad64c54boom-2.zip
cc to @jerryz123
The text was updated successfully, but these errors were encountered: