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(aia, exception): Add the missing AIA-related permission checks. #776

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

NewPaulWalker
Copy link
Contributor

Along the same lines, when hstatus.VGEIN is not the number of an implemented guest external interrupt, attempts from M-mode or HS-mode to access CSR vstopei raise an illegal instruction exception, and attempts from VS-mode to access stopei raise a virtual instruction exception.

Along the same lines, when hstatus.VGEIN is not the number of an implemented guest external
interrupt, attempts from M-mode or HS-mode to access CSR vstopei raise an illegal instruction
exception, and attempts from VS-mode to access stopei raise a virtual instruction exception.
…cause not only the xtopei in AIA needs to be synchronized.

Also added support for hgeip synchronization.
@Tang-Haojin Tang-Haojin merged commit c7ab69d into master Jan 16, 2025
7 checks passed
@Tang-Haojin Tang-Haojin deleted the add-exception-check branch January 16, 2025 05:08
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.

2 participants