Conversation
…PTEs with unsupported GPA sizes
aswaterman
approved these changes
Apr 21, 2026
pipelinedestroyer
added a commit
to soct-org/rocket-chip
that referenced
this pull request
May 20, 2026
Incorporates upstream changes: - PTW: access vs guest page fault exception prioritization for Stage-1 PTEs with unsupported GPA sizes (chipsalliance#3789) - PTW: traverse check GPA bits higher than HGATP mode also if table (chipsalliance#3788) - PeripheryBus: named in/out xbars in getOrElse path - TraceEncoderController: add hartId parameter Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue: follows #3788
Type of change: bug report
Impact: functional fix
Development Phase: implementation
Release Notes
An access exception was raised instead of guest page fault exception for Stage-1 PTEs with unsupported GPA sizes.
PTW:
invalid_paddrfrom Stage-1 (VS-mode) underneath Stage-2. Instead, rely on theinvalid_gpacheck from PTW Hypervisor bug fixes: check GPA bits higher than HGATP.Mode #3591.ae, becausegf(guest fault) is higher priority in the fault prioritization checkExceptions list.TLB:
gf_*_arrayso that a PTW guest fault is higher priority than access exception, following the same example aspf_*_array.