Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dcsr.cetrig for Sddbltrp #1005

Closed
wants to merge 14 commits into from
Closed

Add dcsr.cetrig for Sddbltrp #1005

wants to merge 14 commits into from

Conversation

rtwfroody
Copy link
Collaborator

Private email from Ved:

We discussed this PR in the ARC this week and the suggestion is to include all
of the Sddbltrp into this PR. Here is additional inclusion suggested:

dcsr - bit 19, cetrig, WARL
Smdbltrp extension adds the cetrig (critical-error-trigger) field to dcsr.
When cetrig is set to 1, a hart in a critical error state enters Debug Mode
instead of asserting the critical-error signal to the platform. Upon such
entry into Debug Mode, the cause field is set to 7, and the extcause field
is set to 0, indicating a critical error triggered the Debug Mode entry.
This cause has the highest priority among all reasons for entering Debug
Mode. Resuming from Debug Mode following an entry from the critical error
state returns the hart to the critical error state.

Note:
The implication of this specification is that resuming from Debug Mode,
following an entry due to a critical error, will either result in an
immediate re-entry into Debug Mode due to the critical error if cetrig is
set to 1, or it will cause the critical-error signal to be asserted to the
platform.

rtwfroody and others added 14 commits February 27, 2024 13:08
Conflicts:
	debug_module.tex
Section 4.1 already says "Effective XLEN is DXLEN." The statement about
communicating XLEN to the user is unnecessary to the spec, and unclear,
so we don't need it.
Remove Section 4.9: XLEN
Clarify textra behavior when XLEN changes.
Clarify bit recommendations on scontext and mcontext.
Not just M-Mode and D-Mode.
…pending-requirements

Fix contradictory req. for ndmresetpending
Make the data of the *context registers 32 bits wide.
Load data before trigger priority was ambiguous.
To get some misc asciidoc fixes.
Copy link
Collaborator

@pdonahue-ventana pdonahue-ventana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why bit 19 instead of bit 18?

@rtwfroody
Copy link
Collaborator Author

Closing in favor of #998.

@rtwfroody rtwfroody closed this Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants