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

Gui Cao gcao at openjdk.org
Mon May 22 07:11:22 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).

This pull request has now been integrated.

Changeset: 14226043
Author:    Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/riscv-port-jdk17u/commit/142260434dc6863bab864242dc039bb6f3a4bf5a
Stats:     41 lines in 3 files changed: 40 ins; 0 del; 1 mod

8297697: RISC-V: Add support for SATP mode detection
8301067: RISC-V: better error message when reporting unsupported satp modes

Reviewed-by: fjiang, fyang
Backport-of: f49acd52594be3ec1e9682bda3ad69970dfd750d

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

PR: https://git.openjdk.org/riscv-port-jdk17u/pull/53


More information about the riscv-port-dev mailing list