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

Add HW reset to CPU counter CSRs #426

Merged
merged 4 commits into from
Oct 13, 2022
Merged

Add HW reset to CPU counter CSRs #426

merged 4 commits into from
Oct 13, 2022

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Oct 12, 2022

This PR add a dedicated hardware reset to the CPU's [m]cycle[h], [m]instret[h] and [m]hpmcounter[h] CSRs.

With this PR all CSRs now do provide a dedicated hardware reset.

@stnolting stnolting added the HW hardware-related label Oct 12, 2022
@stnolting stnolting self-assigned this Oct 12, 2022
@stnolting stnolting linked an issue Oct 12, 2022 that may be closed by this pull request
@stnolting stnolting marked this pull request as ready for review October 12, 2022 18:18
@stnolting stnolting merged commit e37132a into main Oct 13, 2022
@stnolting stnolting deleted the counter_csr_reset branch October 13, 2022 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HW hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing reset for counters
1 participant