RISC-V: Modularize common match conditions for trigger
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest posting 3/33 patches 0 repliesNew
- v6 posting 2/33 patches 0 repliesSuperseded
- v6 posting 1/33 patches 3 repliesApplied
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 4 patches | 4 replies | Applied | |
| v4 | 4 patches | 6 replies | Superseded | |
| v3 | 4 patches | 2 replies | Superseded | |
| v2 | 4 patches | 5 replies | Superseded | |
| v1 | 4 patches | 7 replies | Superseded |
Changes in v6 from the cover letter
- Merge first two commits to avoid build error
Patches in v6 posting 3/3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | target/riscv: Add functions for common matching conditions of triggertarget/ | +78 | 0 replies | |
| 2/3 | target/riscv: Apply modularized matching conditions for watchpointtarget/ | +6 | 0 replies | |
| 3/3 | target/riscv: Apply modularized matching conditions for icount triggertarget/ | +1 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Alistair Francis |
|---|---|
| 1/3 | R-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/3] RISC-V: Modularize common match conditions for trigger
According to RISC-V Debug specification ratified version 0.13 [1] (also applied to version 1.0 [2] but it has not been ratified yet), the enabled privilege levels of the trigger is common match conditions for all the types of the trigger.
This series modularize the code for checking the privilege levels of type 2/3/6 triggers by implementing functions trigger_common_match() and trigger_priv_match().
Additional match conditions, such as CSR tcontrol and textra, can be further implemented into trigger_common_match() in the future.
[1]: https://github.com/riscv/riscv-debug-spec/releases/tag/task_group_vote
[2]: https://github.com/riscv/riscv-debug-spec/releases/tag/1.0.0-rc1-asciidoc
Changes from v5:
- Merge first two commits to avoid build error
Changes from v4:
- Rebasing on riscv-to-apply.next
Changes from v3:
- Change this series to target Debug Spec. version 0.13
Changes from v2:
- Explicitly mention the targeting version of RISC-V Debug Spec.
Changes from v1:
- Fix typo
- Add commit description for changing behavior of looping the triggers when we check type 2 triggers.
Alvin Chang (3):
target/riscv: Add functions for common matching conditions of trigger target/riscv: Apply modularized matching conditions for watchpoint target/riscv: Apply modularized matching conditions for icount trigger
target/riscv/debug.c | 129 ++++++++++++++++++++++++++++--------------- 1 file changed, 85 insertions(+), 44 deletions(-)
Signature · 1 line
2.34.1