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

typo: HPM counters consider previous privilege mode if changed #1555

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

YenHaoChen
Copy link
Collaborator

There is a typo of getting the privilege mode in function wide_counter_csr_t::is_counting_enabled(). The HPM should consider the previous privilege mode if the executing instruction changes the privilege mode.

@aswaterman aswaterman merged commit 5fa1cd5 into riscv-software-src:master Jan 5, 2024
3 checks passed
@YenHaoChen YenHaoChen deleted the pr-hpm branch March 28, 2024 14:05
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