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

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


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

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


More information about the jdk-updates-dev mailing list