-
Notifications
You must be signed in to change notification settings - Fork 850
feat(Ss/Smdbltrp) : Support RISC-V Ss/Smdbltrp Extension #3789
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
Merged
Conversation
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
* Support Smdbltrp Extension * add MDT field to mstatus reg * support MDT to control MIE field * support double trap check in M mode * support double trap Handler to MNTrapEvent when nmie open * support xret to clear MDT field and return from double trap * Support Ssdbltrp Extension * add DTE fiele to m/henvcfg reg * support DTE to control ss/vsdbltrp extension open * add SDT field to ss/vsstatus reg * support SDT to control SIE field * support double trap check in VS/S mode * support double trap handler to MTrapEvent * support xret to clear SDT field and return from double trap
c193a87 to
3dde216
Compare
|
[Generated by IPC robot]
master branch:
|
* fix xtvec generate logic when dbltrp happen
* change the init val of vs/sstatus.SDT to zero
* delete m/henvcfg addrinperf
* fix xret/xTrapevent output field
* fix xdt logic in xret
* fix the logic of the dependency chain from DTE to xDT to xIE.
* when nmie = 0, all exception and interrupt are disabled
* add config mdtInit to init mdt
* init xenvcfg.DTE to zero , as some software not support
ssdbltrp
|
[Generated by IPC robot]
master branch:
|
Tang-Haojin
approved these changes
Oct 29, 2024
Anzooooo
pushed a commit
that referenced
this pull request
Oct 30, 2024
* NEMU commit: 066cb1f1c61feb21153399c26ca393dfb3a560d7 * NEMU configs: * riscv64-xs-ref_defconfig * riscv64-dual-xs-ref_defconfig Including: * fix(format): adjust code format and add one config (OpenXiangShan/NEMU#603) * fix(vfredusum): set xstatus.fs and xstatus.vs dirty (OpenXiangShan/NEMU#605) * fix(vf): do not set dirtyFs for some instructions (OpenXiangShan/NEMU#606) * feat(trigger): add trigger support for rva. * configs(xs): open Sm/sdbltrp extension and add MDT_INIT config (OpenXiangShan/NEMU#604) --- * spike commit: c0b18d3913d8ceac83743a053a7dbd2fb8716c83 * spike config: CPU=XIANGSHAN Including: * fix(rva, trigger): For rva instr, raise BP from trigger prior to misaligned. * fix(Makefile): Increase maxdepth for finding .h files. * fix(tdata1): CPU_XIANGSHAN do not implement hit bit in tdata1. * fix(icount): place the read before the return of the detect_icount_match.
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.
Including:
Including: