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

[rtl] CSR cleanup #167

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

[rtl] CSR cleanup #167

wants to merge 5 commits into from

Conversation

szbieg
Copy link

@szbieg szbieg commented Oct 25, 2023

Add/remove respective CSRs according to the CVE2 specification:

  • cycle,
  • instruction,
  • performance counters

szbieg and others added 2 commits October 18, 2023 15:32
perf monitor event selector, cycle counters index 13..31 removed

Signed-off-by: Szymon Bieganski <[email protected]>
@szbieg szbieg marked this pull request as draft October 25, 2023 13:18
Copy link

@emgens emgens left a comment

Choose a reason for hiding this comment

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

I believe this is very likely to resolve issue 166.
Removing the unused event counters is not strictly speaking necessary, and might make the code less general for future reuse; but that does not strike me a a reason not to approve.

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] User Mode Counters Not Implemented.
2 participants