Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8316859

RISC-V: Disable detection of V through HWCAP

    XMLWordPrintable

Details

    • b17
    • riscv
    • linux

    Backports

      Description

        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 or VisionFive 2), leading to a SIGILL.

        That is an acceptable workaround as only Linux Kernel v6.5+ supports V, and that version already support hwprobe anyway

        Attachments

          Issue Links

            Activity

              People

                luhenry Ludovic Henry
                luhenry Ludovic Henry
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: