Skip to content

Enable ZIHPM unpriviledged performance counters#29

Merged
SamuelRiedel merged 1 commit into
lowRISC:ibex_cosimfrom
SamuelRiedel:enable-zihpm
May 28, 2026
Merged

Enable ZIHPM unpriviledged performance counters#29
SamuelRiedel merged 1 commit into
lowRISC:ibex_cosimfrom
SamuelRiedel:enable-zihpm

Conversation

@SamuelRiedel

Copy link
Copy Markdown

We are adding support for the U-mode performance counters in lowRISC/ibex#2403. Therefore, we are re-enabling them here as well.

By now, we support those performance counters in Ibex so we enable
them again.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Re-enables the ZIHPM extension flag in the ISA parser to allow unprivileged performance counters (U-mode) in line with upstream Ibex support.

Changes:

  • Enable EXT_ZIHPM by default for backward compatibility.
  • Remove/replace the Ibex-specific comment that previously disabled ZIHPM.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread riscv/isa_parser.cc
@SamuelRiedel SamuelRiedel merged commit aadf648 into lowRISC:ibex_cosim May 28, 2026
3 of 4 checks passed
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.

3 participants