Repository navigation
[rtl] Take dcsr.mprven into account when in Debug Mode - #2594
Open
antonangeloff wants to merge 2 commits into
Open
antonangeloff wants to merge 2 commits into
antonangeloff wants to merge 2 commits into
Conversation
Signed-off-by: Anton Angelov <anton.angelov@protonmail.com>
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document. By submitting this pull request comment, I am hereby confirming my acceptance of the terms of the CLA Document and my agreement to be legally bound by its terms. |
Signed-off-by: Anton Angelov <anton.angelov@protonmail.com>
antonangeloff
marked this pull request as ready for review
November 21, 2026 14:32
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.
This PR addresses the issue reported in #2474 - i.e.
mstatus.MPRVis not ignored in Debug Mode whendcsr.mprven=0.As noted in the issue - according to Sections 4.1 and 4.8 of the RISC-V External Debug Support Specification 0.13.2:
The PR adds a directed test to confirm both the issue and the fix.
Parts of this pull request were prepared with the help of an AI coding assistants. I have reviewed and understand the changes and take full responsibility for them.