All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] sbi: Add support for smcntrpmf
@ 2023-07-20 21:07 Kaiwen Xue
  2023-07-20 21:07 ` [PATCH 1/1] lib: " Kaiwen Xue
  0 siblings, 1 reply; 5+ messages in thread
From: Kaiwen Xue @ 2023-07-20 21:07 UTC (permalink / raw)
  To: opensbi

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(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-18 16:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20 21:07 [PATCH 0/1] sbi: Add support for smcntrpmf Kaiwen Xue
2023-07-20 21:07 ` [PATCH 1/1] lib: " Kaiwen Xue
2023-07-31  8:48   ` Anup Patel
2023-08-08  6:59   ` Atish Patra
2023-08-18 16:47   ` Anup Patel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.