Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix exception type on PMP check during PTW #908

Merged
merged 1 commit into from
Jul 8, 2022

Conversation

Moschn
Copy link
Contributor

@Moschn Moschn commented Jun 9, 2022

Fixes #906

According to the spec:

If accessing pte violates a PMA or PMP check, raise an access-fault
exception corresponding to the original access type.

Found by @Phantom1003 and @ProjectDimlight

Signed-off-by: Moritz Schneider moritz.schneider@inf.ethz.ch

Copy link
Contributor

@zarubaf zarubaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good catch!

Fixes openhwgroup#906

According to the spec:
> If accessing pte violates a PMA or PMP check, raise an access-fault
> exception corresponding to the original access type.

Found by @Phantom1003 and @ProjectDimlight

Signed-off-by: Moritz Schneider <moritz.schneider@inf.ethz.ch>
@JeanRochCoulon JeanRochCoulon merged commit 011edf4 into openhwgroup:master Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report] Incorrect exception type of PMP violation during address translation
3 participants