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

Gui Cao gcao at openjdk.org
Mon Jan 29 14:33:55 UTC 2024


On Fri, 26 Jan 2024 03:11:38 GMT, Gui Cao <gcao at openjdk.org> wrote:

> Hi, The same issue also exists in the JDK21U: I can reproduce it locally and use this clean patch can fix that issue, So I would like to backport this to JDK21U. 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: 14f62ace
Author:    Gui Cao <gcao at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/14f62ace5fe0d83f8dcb05199e75c1b533957c9f
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/jdk21u-dev/pull/218


More information about the jdk-updates-dev mailing list