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, cade.richard@berkeley.edu
Subject: Re: [kvm-unit-tests PATCH v7 0/2] riscv: sbi: Add support to test HSM extension
Date: Mon, 11 Nov 2024 16:10:14 +0100 [thread overview]
Message-ID: <20241111-dc706a3f0c07d4c49ec77d0c@orel> (raw)
In-Reply-To: <20241110171633.113515-1-jamestiotio@gmail.com>
On Mon, Nov 11, 2024 at 01:16:31AM +0800, James Raphael Tiovalen wrote:
> This patch series adds support for testing all 4 functions of the HSM
> extension as defined in the RISC-V SBI specification. The first patch
> in version 7 of this series fixes the entry point of the HSM tests,
> while the second patch adds the actual test for the HSM extension.
>
> Based-on: https://gitlab.com/jones-drew/kvm-unit-tests/-/commits/riscv/sbi
I've gone ahead and fixed up the patches per my comments and HSM tests
are now merged!
Thanks,
drew
>
> v7:
> - Addressed all of Andrew's comments.
> - Fixed the entry point of the HSM tests to follow the SUSP tests.
>
> v6:
> - Rebased on top of the latest commit of the riscv/sbi branch.
> - Removed unnecessary cleanup code in the HSM tests after improvements
> to the on-cpus API were made by Andrew.
>
> v5:
> - Addressed all of Andrew's comments.
> - Added 2 new patches to clear on_cpu_info[cpu].func and to set the
> cpu_started mask, which are used to perform cleanup after running the
> HSM tests.
> - Added some new tests to validate suspension on RV64 with the high
> bits set for suspend_type.
> - Picked up the hartid_to_cpu rewrite patch from Andrew's branch.
> - Moved the variables declared in riscv/sbi.c in patch 2 to group it
> together with the other HSM test variables declared in patch 5.
>
> v4:
> - Addressed all of Andrew's comments.
> - Included the 2 patches from Andrew's branch that refactored some
> functions.
> - Added timers to all of the waiting activities in the HSM tests.
>
> v3:
> - Addressed all of Andrew's comments.
> - Split the report_prefix_pop patch into its own series.
> - Added a new environment variable to specify the maximum number of
> CPUs supported by the SBI implementation.
>
> v2:
> - Addressed all of Andrew's comments.
> - Added a new patch to add helper routines to clear multiple prefixes.
> - Reworked the approach to test the HSM extension by using cpumask and
> on-cpus.
>
> James Raphael Tiovalen (2):
> riscv: sbi: Fix entry point of HSM tests
> riscv: sbi: Add tests for HSM extension
>
> riscv/sbi-tests.h | 13 +-
> riscv/sbi-asm.S | 33 +--
> riscv/sbi.c | 613 ++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 642 insertions(+), 17 deletions(-)
>
> --
> 2.43.0
>
>
> --
> kvm-riscv mailing list
> kvm-riscv@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kvm-riscv
prev parent reply other threads:[~2024-11-11 15:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-10 17:16 [kvm-unit-tests PATCH v7 0/2] riscv: sbi: Add support to test HSM extension James Raphael Tiovalen
2024-11-10 17:16 ` [kvm-unit-tests PATCH v7 1/2] riscv: sbi: Fix entry point of HSM tests James Raphael Tiovalen
2024-11-11 9:17 ` Andrew Jones
2024-11-11 12:17 ` Andrew Jones
2024-11-10 17:16 ` [kvm-unit-tests PATCH v7 2/2] riscv: sbi: Add tests for HSM extension James Raphael Tiovalen
2024-11-11 13:48 ` Andrew Jones
2024-11-11 15:10 ` Andrew Jones [this message]
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=20241111-dc706a3f0c07d4c49ec77d0c@orel \
--to=andrew.jones@linux.dev \
--cc=atishp@rivosinc.com \
--cc=cade.richard@berkeley.edu \
--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