[jdk21u-dev] RFR: 8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode
Gui Cao
gcao at openjdk.org
Fri Jan 26 03:16:49 UTC 2024
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
-------------
Commit messages:
- Backport e7fdac9d5ce56d2f589df59a7fd2869e35ba2991
Changes: https://git.openjdk.org/jdk21u-dev/pull/218/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=218&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8324280
Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/218.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/218/head:pull/218
PR: https://git.openjdk.org/jdk21u-dev/pull/218
More information about the jdk-updates-dev
mailing list