Skip to content

RISC-V: Linux 6.15 riscv_hwprobe support #1816

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jun 1, 2025

Conversation

a4lg
Copy link
Contributor

@a4lg a4lg commented May 31, 2025

This commit adds support for riscv_hwprobe on the Linux kernel 6.15. It adds feature detection of 8 extensions (4 of them are new in this).

Existing RISC-V Extensions:

  1. Zicntr
  2. Zihpm
  3. Zalrsc
  4. Zaamo

New RISC-V Extensions:

  1. Zicbom
  2. Zfbfmin
  3. Zvfbfmin
  4. Zvfbfwma

Note: four new extensions are already added to beta (cf. rust-lang/rust#140507) and checking cfg should be okay.

This commit adds support for `riscv_hwprobe` on the Linux kernel 6.15.
It adds feature detection of 8 extensions (4 of them are new in this).

Existing RISC-V Extensions:

1.  "Zicntr"
2.  "Zihpm"
3.  "Zalrsc"
4.  "Zaamo"

New RISC-V Extensions:

5.  "Zicbom"
6.  "Zfbfmin"
7.  "Zvfbfmin"
8.  "Zvfbfwma"
@rustbot
Copy link
Collaborator

rustbot commented May 31, 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

@Amanieu Amanieu added this pull request to the merge queue Jun 1, 2025
Merged via the queue into rust-lang:master with commit fe1236a Jun 1, 2025
62 checks passed
@a4lg a4lg deleted the riscv-hwprobe-linux-6.15 branch June 2, 2025 01:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants