[PATCH v3 0/3] KVM: riscv: selftests: Enable supported test cases

dayss1224@gmail.com posted 3 patches 1 month ago
tools/testing/selftests/kvm/Makefile.kvm                    | 6 ++++++
tools/testing/selftests/kvm/access_tracking_perf_test.c     | 1 +
tools/testing/selftests/kvm/include/riscv/processor.h       | 1 +
.../selftests/kvm/memslot_modification_stress_test.c        | 1 +
tools/testing/selftests/kvm/memslot_perf_test.c             | 1 +
tools/testing/selftests/rseq/rseq-riscv.h                   | 3 +--
6 files changed, 11 insertions(+), 2 deletions(-)
[PATCH v3 0/3] KVM: riscv: selftests: Enable supported test cases
Posted by dayss1224@gmail.com 1 month ago
From: Dong Yang <dayss1224@gmail.com>

Add supported KVM test cases and fix the compilation dependencies.
---
Changes in v3:
- Reorder patches to fix build dependencies
- Sort common supported test cases alphabetically
- Move ucall_common.h include from common header to specific source files

Changes in v2:
- Delete some repeat KVM test cases on riscv
- Add missing headers to fix the build for new RISC-V KVM selftests

Dong Yang (1):
  KVM: riscv: selftests: Add missing headers for new testcases

Quan Zhou (2):
  KVM: riscv: selftests: Use the existing RISCV_FENCE macro in
    `rseq-riscv.h`
  KVM: riscv: selftests: Add common supported test cases

 tools/testing/selftests/kvm/Makefile.kvm                    | 6 ++++++
 tools/testing/selftests/kvm/access_tracking_perf_test.c     | 1 +
 tools/testing/selftests/kvm/include/riscv/processor.h       | 1 +
 .../selftests/kvm/memslot_modification_stress_test.c        | 1 +
 tools/testing/selftests/kvm/memslot_perf_test.c             | 1 +
 tools/testing/selftests/rseq/rseq-riscv.h                   | 3 +--
 6 files changed, 11 insertions(+), 2 deletions(-)

-- 
2.34.1
Re: [PATCH v3 0/3] KVM: riscv: selftests: Enable supported test cases
Posted by Anup Patel 4 weeks, 1 day ago
On Mon, Sep 1, 2025 at 1:06 PM <dayss1224@gmail.com> wrote:
>
> From: Dong Yang <dayss1224@gmail.com>
>
> Add supported KVM test cases and fix the compilation dependencies.
> ---
> Changes in v3:
> - Reorder patches to fix build dependencies
> - Sort common supported test cases alphabetically
> - Move ucall_common.h include from common header to specific source files
>
> Changes in v2:
> - Delete some repeat KVM test cases on riscv
> - Add missing headers to fix the build for new RISC-V KVM selftests
>
> Dong Yang (1):
>   KVM: riscv: selftests: Add missing headers for new testcases
>
> Quan Zhou (2):
>   KVM: riscv: selftests: Use the existing RISCV_FENCE macro in
>     `rseq-riscv.h`
>   KVM: riscv: selftests: Add common supported test cases

Queued this series for Linux-6.18

Thanks,
Anup
Re: [PATCH v3 0/3] KVM: riscv: selftests: Enable supported test cases
Posted by Andrew Jones 1 month ago
On Mon, Sep 01, 2025 at 03:35:48PM +0800, dayss1224@gmail.com wrote:
> From: Dong Yang <dayss1224@gmail.com>
> 
> Add supported KVM test cases and fix the compilation dependencies.
> ---
> Changes in v3:
> - Reorder patches to fix build dependencies
> - Sort common supported test cases alphabetically
> - Move ucall_common.h include from common header to specific source files
> 
> Changes in v2:
> - Delete some repeat KVM test cases on riscv
> - Add missing headers to fix the build for new RISC-V KVM selftests
> 
> Dong Yang (1):
>   KVM: riscv: selftests: Add missing headers for new testcases
> 
> Quan Zhou (2):
>   KVM: riscv: selftests: Use the existing RISCV_FENCE macro in
>     `rseq-riscv.h`
>   KVM: riscv: selftests: Add common supported test cases
> 
>  tools/testing/selftests/kvm/Makefile.kvm                    | 6 ++++++
>  tools/testing/selftests/kvm/access_tracking_perf_test.c     | 1 +
>  tools/testing/selftests/kvm/include/riscv/processor.h       | 1 +
>  .../selftests/kvm/memslot_modification_stress_test.c        | 1 +
>  tools/testing/selftests/kvm/memslot_perf_test.c             | 1 +
>  tools/testing/selftests/rseq/rseq-riscv.h                   | 3 +--
>  6 files changed, 11 insertions(+), 2 deletions(-)
> 
> -- 
> 2.34.1

In the future please CC previous reviewers on the entire series
(particularly when they have reviewed the entire previous series).

For the series,

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Re: [PATCH v3 0/3] KVM: riscv: selftests: Enable supported test cases
Posted by Dong Yang 4 weeks, 1 day ago
On Tue, Sep 02, 2025 at 10:36:10AM -0500, Andrew Jones wrote:
> On Mon, Sep 01, 2025 at 03:35:48PM +0800, dayss1224@gmail.com wrote:
> > From: Dong Yang <dayss1224@gmail.com>
> > 
> > Add supported KVM test cases and fix the compilation dependencies.
> > ---
> > Changes in v3:
> > - Reorder patches to fix build dependencies
> > - Sort common supported test cases alphabetically
> > - Move ucall_common.h include from common header to specific source files
> > 
> > Changes in v2:
> > - Delete some repeat KVM test cases on riscv
> > - Add missing headers to fix the build for new RISC-V KVM selftests
> > 
> > Dong Yang (1):
> >   KVM: riscv: selftests: Add missing headers for new testcases
> > 
> > Quan Zhou (2):
> >   KVM: riscv: selftests: Use the existing RISCV_FENCE macro in
> >     `rseq-riscv.h`
> >   KVM: riscv: selftests: Add common supported test cases
> > 
> >  tools/testing/selftests/kvm/Makefile.kvm                    | 6 ++++++
> >  tools/testing/selftests/kvm/access_tracking_perf_test.c     | 1 +
> >  tools/testing/selftests/kvm/include/riscv/processor.h       | 1 +
> >  .../selftests/kvm/memslot_modification_stress_test.c        | 1 +
> >  tools/testing/selftests/kvm/memslot_perf_test.c             | 1 +
> >  tools/testing/selftests/rseq/rseq-riscv.h                   | 3 +--
> >  6 files changed, 11 insertions(+), 2 deletions(-)
> > 
> > -- 
> > 2.34.1
> 
> In the future please CC previous reviewers on the entire series
> (particularly when they have reviewed the entire previous series).
Okay, I will pay attention to this in the future. Thanks.
> 
> For the series,
> 
> Reviewed-by: Andrew Jones <ajones@ventanamicro.com>