Skip to content

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