public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Jones <andrew.jones@linux.dev>
To: James Raphael Tiovalen <jamestiotio@gmail.com>
Cc: kvm@vger.kernel.org, kvm-riscv@lists.infradead.org,  atishp@rivosinc.com
Subject: Re: [kvm-unit-tests PATCH 0/4] riscv: sbi: Add support to test PMU extension
Date: Mon, 22 Dec 2025 11:25:22 -0600	[thread overview]
Message-ID: <20251222-4edd14c1464744ef9e24245d@orel> (raw)
In-Reply-To: <20251213150848.149729-1-jamestiotio@gmail.com>

On Sat, Dec 13, 2025 at 11:08:44PM +0800, James Raphael Tiovalen wrote:
> This patch series adds support for testing most of the SBI PMU
> extension functions. The functions related to shared memory
> (FID #7 and #8) are not tested yet.
> 
> The first 3 patches add the required support for SBI PMU and some
> helper functions, while the last patch adds the actual tests.
> 
> James Raphael Tiovalen (4):
>   lib: riscv: Add SBI PMU CSRs and enums
>   lib: riscv: Add SBI PMU support
>   lib: riscv: Add SBI PMU helper functions
>   riscv: sbi: Add tests for PMU extension
> 
>  riscv/Makefile      |   2 +
>  lib/riscv/asm/csr.h |  31 +++
>  lib/riscv/asm/pmu.h | 167 ++++++++++++++++
>  lib/riscv/asm/sbi.h | 104 ++++++++++
>  lib/riscv/pmu.c     | 169 ++++++++++++++++
>  lib/riscv/sbi.c     |  73 +++++++
>  riscv/sbi-tests.h   |   1 +
>  riscv/sbi-pmu.c     | 461 ++++++++++++++++++++++++++++++++++++++++++++
>  riscv/sbi.c         |   2 +
>  9 files changed, 1010 insertions(+)
>  create mode 100644 lib/riscv/asm/pmu.h
>  create mode 100644 lib/riscv/pmu.c
>  create mode 100644 riscv/sbi-pmu.c
> 
> --
> 2.43.0
>

Hi James,

Thanks for posting this. I'll look at it as soon as possible, but I'm
juggling some other stuff right now and also plan to be on vacation for
a week starting tomorrow.

Thanks,
drew

  parent reply	other threads:[~2025-12-22 17:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-13 15:08 [kvm-unit-tests PATCH 0/4] riscv: sbi: Add support to test PMU extension James Raphael Tiovalen
2025-12-13 15:08 ` [kvm-unit-tests PATCH 1/4] lib: riscv: Add SBI PMU CSRs and enums James Raphael Tiovalen
2025-12-13 15:08 ` [kvm-unit-tests PATCH 2/4] lib: riscv: Add SBI PMU support James Raphael Tiovalen
2025-12-13 15:08 ` [kvm-unit-tests PATCH 3/4] lib: riscv: Add SBI PMU helper functions James Raphael Tiovalen
2025-12-13 15:08 ` [kvm-unit-tests PATCH 4/4] riscv: sbi: Add tests for PMU extension James Raphael Tiovalen
2025-12-22 17:25 ` Andrew Jones [this message]
2025-12-23  4:26   ` [kvm-unit-tests PATCH 0/4] riscv: sbi: Add support to test " James R T

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=20251222-4edd14c1464744ef9e24245d@orel \
    --to=andrew.jones@linux.dev \
    --cc=atishp@rivosinc.com \
    --cc=jamestiotio@gmail.com \
    --cc=kvm-riscv@lists.infradead.org \
    --cc=kvm@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox