Skip to content

RISC-V: Linux: Imply Zicntr from the IMA base behavior #1806

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a4lg
Copy link
Contributor

@a4lg a4lg commented May 26, 2025

As the author confirmed as in https://lists.infradead.org/pipermail/linux-riscv/2025-May/070844.html, runtime detection of the Zicntr extension (as in the Linux kernel 6.15) is currently (and technically) redundant on the current base IMA behavior (although can be meaningful if new base behavior is added).

This commit implies the Zicntr extension from the base IMA behavior.

Note

Because I'm preparing riscv_hwprobe + Linux kernel 6.15 support PR and it depends on whether this change is acceptable, I consider this PR has higher priority than my other PRs (#1797 and #1798).

@rustbot
Copy link
Collaborator

rustbot commented May 26, 2025

r? @Amanieu

rustbot has assigned @Amanieu.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@a4lg a4lg force-pushed the riscv-linux-base-ima-implies-zicntr branch 4 times, most recently from b039ed6 to d19dfa0 Compare May 27, 2025 02:53
As the author confirmed as in:
<https://lists.infradead.org/pipermail/linux-riscv/2025-May/070844.html>,
runtime detection of the Zicntr extension (as in the Linux kernel 6.15)
is currently (and technically) redundant on the current base IMA behavior
(although can be meaningful if new base behavior is added).

This commit implies the Zicntr extension from the base IMA behavior.
@a4lg a4lg force-pushed the riscv-linux-base-ima-implies-zicntr branch from d19dfa0 to 720bff8 Compare May 28, 2025 03:26
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