All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kaiwen Xue <kaiwenx@rivosinc.com>
To: opensbi@lists.infradead.org
Subject: [PATCH 0/1] sbi: Add support for smcntrpmf
Date: Thu, 20 Jul 2023 14:07:01 -0700	[thread overview]
Message-ID: <cover.1689633697.git.kaiwenx@rivosinc.com> (raw)

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



             reply	other threads:[~2023-07-20 21:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20 21:07 Kaiwen Xue [this message]
2023-07-20 21:07 ` [PATCH 1/1] lib: sbi: Add support for smcntrpmf Kaiwen Xue
2023-07-31  8:48   ` Anup Patel
2023-08-08  6:59   ` Atish Patra
2023-08-18 16:47   ` Anup Patel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1689633697.git.kaiwenx@rivosinc.com \
    --to=kaiwenx@rivosinc.com \
    --cc=opensbi@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.