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

bug fix: canonical check on virtual address for data accesses #2667

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

fatimasaleem
Copy link
Contributor

As mentioned in the spec, we need to perform a canonical check on the virtual address for instruction fetch, load, and store. If the check fails, it will cause the page-fault exception.

image

This PR fixes the above two:

  1. changes INSTR_ACCESS_FAULT to INSTR_PAGE_FAULT
  2. Adding virtual address check on data accesses as well

@JeanRochCoulon
Copy link
Contributor

Great finding !
As your branch is protected, I cannot rebase before merging. Can you do rebase ?

Copy link
Contributor

✔️ successful run, report available here.

Copy link
Contributor

❌ failed run, report available here.

Copy link
Contributor

✔️ successful run, report available here.

@JeanRochCoulon JeanRochCoulon merged commit f4355fa into openhwgroup:master Dec 16, 2024
10 checks passed
@fatimasaleem fatimasaleem deleted the sv-bug branch December 16, 2024 10:28
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