Skip to content

RFC lib: sbi: add support for debug triggers

Sergey Matyukevich opensbi 3 versions – New

Get series with b4
b4 am Y4vGrLxywGPpCJ//@curiosity

Versions newest first · linked by author and title

  1. v2 RFC Latest posting 2/20 of 2 patches 0 repliesNew
  2. v2 RFC posting 1/22 patches 0 repliesSuperseded
  3. v1 RFC1 patch 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH RFC v2 0/2] lib: sbi: add support for debug triggers
Quoted 11 lines

This is the second revision of the patches implementing SBI Debug Trigger extension proposal posted at riscv tech-debug list:
https://lists.riscv.org/g/tech-debug/topic/92375492

The major changes include support for mcounter trigger type and updates according to some of the review comments.

As a part of endianness fixes, this revision includes a separate patch for a header with endianness conversion macros. Depending on the feedback, later on it can be reposted separately.

Quoted 8 lines

Regards,
Sergey

Changes v1 -> v2:
- add header with endianness conversion macros
- fix endinanness: keep possible big-endian support in mind
- do not mark shared structures as packed
- add support for type 2 (mcounter) triggers

The accompanying patches for Linux and GDB has also been posted:
- https://patchwork.sourceware.org/project/gdb/patch/20221130182605.1905317-1-yuly.tarasov at syntacore.com/
- https://lore.kernel.org/linux-riscv/20221203215535.208948-1-geomatsi at gmail.com/T/#t

Regards,
Sergey