Skip to content

Update PMUSERENR_EL0 flag names - #85

Merged
berkus merged 1 commit into
mainfrom
update-pmuserenr-el0-flag-names
Oct 8, 2026
Merged

berkus merged 1 commit into
mainfrom
update-pmuserenr-el0-flag-names

Conversation

@berkus

@berkus berkus commented Oct 8, 2026

Copy link
Copy Markdown
Member

Rename fields to more understandable. Add writability.

Copilot AI balanced review requested due to automatic review settings October 8, 2026 22:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new EN::Trapped name incorrectly implies unconditional trapping despite documented exceptions.

1 open finding
What changed in this PR

Updates PMUSERENR_EL0 field naming, documentation, and write support.

Changes:

  • Clarifies register and field semantics.
  • Renames field values to reflect trapping behavior.
  • Adds typed writable-register support.
File Description
packages/​aarch64-cpu/​src/​registers/​pmuserenr_el0.rs Updates flags, documentation, and register writability.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/aarch64-cpu/src/registers/pmuserenr_el0.rs Outdated
@berkus
berkus force-pushed the update-pmuserenr-el0-flag-names branch from e268f0a to 80ae164 Compare October 8, 2026 22:55
@berkus
berkus merged commit 81e6008 into main Oct 8, 2026
44 of 48 checks passed
@berkus
berkus deleted the update-pmuserenr-el0-flag-names branch October 8, 2026 22:59
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