-
Enhancement
-
Resolution: Fixed
-
P4
-
21
-
b03
-
riscv
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8311348 | 21.0.1 | Robbin Ehn | P4 | Resolved | Fixed | b02 |
JDK-8310953 | 21 | Robbin Ehn | P4 | Resolved | Fixed | b29 |
JDK-8319890 | 17.0.10 | Robbin Ehn | P4 | Resolved | Fixed | b03 |
There is no instruction to get the cpu, such as cpuid on x86.
Instead a syscall is being added:
https://docs.kernel.org/riscv/hwprobe.html
By adding this syscall and making use of it when available we can enable the correct extensions for the user.
- backported by
-
JDK-8310953 RISC-V: Add riscv_hwprobe syscall
- Resolved
-
JDK-8311348 RISC-V: Add riscv_hwprobe syscall
- Resolved
-
JDK-8319890 RISC-V: Add riscv_hwprobe syscall
- Resolved
- duplicates
-
JDK-8284196 RISC-V: Detect supported ISA extensions over cpuinfo
- Closed
- relates to
-
JDK-8315206 RISC-V: hwprobe query is_set return wrong value
- Resolved
-
JDK-8324280 RISC-V: Incorrect implementation in VM_Version::parse_satp_mode
- Resolved
-
JDK-8316859 RISC-V: Disable detection of V through HWCAP
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/b5065594
-
Commit openjdk/jdk21/087d4a8c
-
Commit openjdk/jdk/31b6fd77
-
Review openjdk/jdk17u-dev/1942
-
Review openjdk/jdk21/67
-
Review openjdk/jdk/14445
-
Review openjdk/riscv-port-jdk11u/20