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

Feilong Jiang fjiang at openjdk.org
Thu May 18 10:27:17 UTC 2023


On Thu, 18 May 2023 08:34:03 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi,
> Please review this backport to riscv-port-jdk17u.
> Backport of [JDK-8297697](https://bugs.openjdk.org/browse/JDK-8297697), and [JDK-8301067](https://bugs.openjdk.org/browse/JDK-8301067). JDK-8301067 only modifies the log description information introduced by JDK-8297697.
> 
> After this patch, If it is an unsupported satp.mode , the message will be as follows:
> 
> root at qemuriscv64:~/STAP# ./jdk/bin/java -version
> Error occurred during initialization of VM
> Unsupported satp mode: sv57. Only satp modes up to sv48 are supported for now.
> 
> 
> Testing:
> 
> Tier1-3 passed without new failure on unmacthed (release).

Marked as reviewed by fjiang (Author).

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

PR Review: https://git.openjdk.org/riscv-port-jdk17u/pull/53#pullrequestreview-1432441238


More information about the riscv-port-dev mailing list