Skip to content

RISC-V: Initial support versioning of debug specification

Alvin Chang via qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 7 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v11 of 2 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* Improve commit message and fix typo
* Apply "Reviewed-by" tags

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/riscv: Add "debug-1.0" to specify debug specification v1.0target/riscv/cpu.c target/riscv/cpu_cfg_fields.h.inc+2 -00 replies
2/2target/riscv: Simpily support versioning of debug trigger moduletarget/riscv/debug.c target/riscv/debug.h+54 -30 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchYu-Ming ChangDaniel Henrique Barboza
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] RISC-V: Initial support versioning of debug specification

This series try to support versioning of debug specification. The early debug implementation supports debug specification v0.13, and later new trigger types were added which are defined in debug specification v1.0 version. To support both v0.13 and v1.0, we add 'debug-1.0' as CPU property to let user choose debug specification v1.0 by specifying "debug-1.0=true". The default version is still v0.13 if 'debug-1.0' is not provided and set.

For example, to enable debug specification v1.0 on max CPU:
* -cpu max,debug-1.0=true

Changes since v2:
* Improve commit message and fix typo
* Apply "Reviewed-by" tags

Changes since v1:
* Apply suggestions from Daniel. Using boolean property instead of string.

Alvin Chang (2):
target/riscv: Add "debug-1.0" to specify debug specification v1.0 target/riscv: Simpily support versioning of debug trigger module

 target/riscv/cpu.c                |  1 +
 target/riscv/cpu_cfg_fields.h.inc |  1 +
 target/riscv/debug.c              | 56 +++++++++++++++++++++++++++++--
 target/riscv/debug.h              |  1 +
 4 files changed, 56 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0