Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(IFU): mark mmio mismatch exception only on the second line (#3963)
When mmio mismatch happens, we can still fetch inst from the first page. So we can just mark the exception on the second cacheline. Also fixes a bug: when itlb page fault occurs only on the second page, PMP check may return incorrect results (as the input paddr may be incorrect), on which request the mmio mismatch check should not be performed. (Here we still perform the check, but the result will be ignored, since itlb exception has higher priority in `ExceptionType.merge`)
- Loading branch information