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

RISC-V: Add riscv_hwprobe syscall

XMLWordPrintable

    • b03
    • riscv
    • linux

        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.

        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.

              rehn Robbin Ehn
              rehn Robbin Ehn
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: