[jdk17u-dev] RFR: 8309258: RISC-V: Add riscv_hwprobe syscall [v2]

Fei Yang fyang at openjdk.org
Mon Nov 6 06:38:15 UTC 2023


On Fri, 3 Nov 2023 08:27:38 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

>> Hi, please consider.
>> 
>> 
>> RISC-V has many extensions and it's not feasible to set them correctly on the command line for users.
>> There is no instruction to get the cpu, such as cpuid on x86.
>> 
>> 
>> Still running tests, it will take a while.
>
> Robbin Ehn has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Reverted unrelated change

Looks good to me assuming that following two related fixes will also be backported:

8315206: RISC-V: hwprobe query is_set return wrong value
8316859: RISC-V: Disable detection of V through HWCAP

-------------

Marked as reviewed by fyang (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/1942#pullrequestreview-1714347849


More information about the jdk-updates-dev mailing list