[riscv-port-jdk11u:riscv-port] RFR: 8297697: RISC-V: Add support for SATP mode detection [v2]

Gui Cao gcao at openjdk.org
Tue Apr 9 08:55:12 UTC 2024


On Tue, 9 Apr 2024 08:41:16 GMT, Fei Yang <fyang at openjdk.org> wrote:

>> src/hotspot/cpu/riscv/vm_version_riscv.cpp line 44:
>> 
>>> 42:   // check if satp.mode is supported, currently supports up to SV48(RV64)
>>> 43:   if (get_satp_mode() > VM_SV48) {
>>> 44:     vm_exit_during_initialization(err_msg("Unsupported satp mode: %s", _vm_mode));
>> 
>> Looks like [JDK-8301067](https://bugs.openjdk.org/browse/JDK-8301067) was missed?
>
> Good catch!

> Looks like [JDK-8301067](https://bugs.openjdk.org/browse/JDK-8301067) was missed?

Thanks, I've added a commit to fix it.

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

PR Review Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/19#discussion_r1557248269


More information about the riscv-port-dev mailing list