diff options
| author | Atish Patra <atishp@rivosinc.com> | 2024-04-20 08:17:37 -0700 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2024-04-26 13:14:06 +0530 |
| commit | 158cb9e61cb7f9ed07384584fe34fb9c39590293 (patch) | |
| tree | cc2cda16022c06b38838fe9a0dd2896df232cafc /tools/testing/selftests/kvm/Makefile | |
| parent | 3203b9474356503ac5a28030b5d46d85a6491c5f (diff) | |
| download | lwn-158cb9e61cb7f9ed07384584fe34fb9c39590293.tar.gz lwn-158cb9e61cb7f9ed07384584fe34fb9c39590293.zip | |
KVM: riscv: selftests: Add SBI PMU selftest
This test implements basic sanity test and cycle/instret event
counting tests.
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20240420151741.962500-22-atishp@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/testing/selftests/kvm/Makefile')
| -rw-r--r-- | tools/testing/selftests/kvm/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index 7f4430242c9e..6a356c06f2fc 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -189,6 +189,7 @@ TEST_GEN_PROGS_s390x += rseq_test TEST_GEN_PROGS_s390x += set_memory_region_test TEST_GEN_PROGS_s390x += kvm_binary_stats_test +TEST_GEN_PROGS_riscv += riscv/sbi_pmu_test TEST_GEN_PROGS_riscv += riscv/ebreak_test TEST_GEN_PROGS_riscv += arch_timer TEST_GEN_PROGS_riscv += demand_paging_test |
