Integrated: 8316859: RISC-V: Disable detection of V through HWCAP
Ludovic Henry
luhenry at openjdk.org
Mon Sep 25 12:27:34 UTC 2023
On Mon, 25 Sep 2023 08:38:03 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:
> Some dev boards only support RVV version 0.7, while the OpenJDK only supports RVV version 1.0. These two versions are not compatible with each other. Given the V bit is set through HWCAP on some custom kernels, regardless of the version, it can lead to generating V instructions on boards that don't support RVV version 1.0 (ex: Sipeed LicheePi), leading to a SIGILL.
>
> That is an acceptable workaround as only Linux Kernel v6.5+ supports V, and that version already support hwprobe anyway
This pull request has now been integrated.
Changeset: 311c7461
Author: Ludovic Henry <luhenry at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/311c7461c8c0f5f1524d409736e4cceca8de9000
Stats: 13 lines in 1 file changed: 10 ins; 1 del; 2 mod
8316859: RISC-V: Disable detection of V through HWCAP
Reviewed-by: rehn, fyang
-------------
PR: https://git.openjdk.org/jdk/pull/15898
More information about the hotspot-runtime-dev
mailing list