Skip to content

sbi: Add support for smcntrpmf

Kaiwen Xue opensbi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1lib: sbi: Add support for smcntrpmfinclude/sbi/riscv_encoding.h include/sbi/sbi_hart.h lib/sbi/riscv_asm.c +2 more+69 -23 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchAnup PatelAtish Patra
1/1R-b R-b

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

Read the v1 thread

Cover letter [PATCH 0/1] sbi: Add support for smcntrpmf

This patch adds support for ISA extension smcntrpmf, cycle and instret privilege mode filtering [1]. It is supposed to work together with the QEMU support [2].

[1] https://github.com/riscv/riscv-smcntrpmf
[2] https://github.com/rivosinc/qemu/tree/dev/kaiwenx/smcntrpmf_upstream

Kaiwen Xue (1):
lib: sbi: Add support for smcntrpmf

 include/sbi/riscv_encoding.h |  4 ++++
 include/sbi/sbi_hart.h       |  2 ++
 lib/sbi/riscv_asm.c          | 12 +++++++++++
 lib/sbi/sbi_hart.c           | 11 ++++++++++
 lib/sbi/sbi_pmu.c            | 42 ++++++++++++++++++++++++++++++++++--
 5 files changed, 69 insertions(+), 2 deletions(-)
Signature · 1 line
2.41.0