[jdk22u] Integrated: 8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode

Gui Cao gcao at openjdk.org
Mon Jan 29 14:32:51 UTC 2024


On Fri, 26 Jan 2024 12:04:56 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi, The same issue also exists in the JDK22U: I can reproduce it locally and use this clean patch can fix that issue, So I would like to backport this to JDK22U. The parse_satp_mode function is used to parse SATP. Use SATP (Supervised Address Translation and Protection) mode at JVM startup and explicitly warn and stop early when sv57 is enabled [1]. Tier1 tested with fastdebug build using qemu systems. This is a risc-v specific change. Backport is clean, risk is low.
> 
> [1] https://github.com/openjdk/jdk/pull/11388

This pull request has now been integrated.

Changeset: f5dc3ea2
Author:    Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk22u/commit/f5dc3ea25c8a7813abdae0d3352b90011fa88365
Stats:     5 lines in 1 file changed: 0 ins; 0 del; 5 mod

8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode

Backport-of: e7fdac9d5ce56d2f589df59a7fd2869e35ba2991

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

PR: https://git.openjdk.org/jdk22u/pull/34


More information about the jdk-updates-dev mailing list