]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: riscv: selftests: Change command line option
authorAtish Patra <atishp@rivosinc.com>
Mon, 3 Mar 2025 22:53:08 +0000 (14:53 -0800)
committerAnup Patel <anup@brainfault.org>
Thu, 6 Mar 2025 04:27:07 +0000 (09:57 +0530)
commit4b506adfea902ab56af3cd4129cb2ebfa5051190
tree47a2dc74a1c83a1d4aa2ea1959024765f67716fa
parent1f6bbe12556033bfc90c0cc45f75eda921cdebe3
KVM: riscv: selftests: Change command line option

The PMU test commandline option takes an argument to disable a
certain test. The initial assumption behind this was a common use case
is just to run all the test most of the time. However, running a single
test seems more useful instead. Especially, the overflow test has been
helpful to validate PMU virtualizaiton interrupt changes.

Switching the command line option to run a single test instead
of disabling a single test also allows to provide additional
test specific arguments to the test. The default without any options
remains unchanged which continues to run all the tests.

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20250303-kvm_pmu_improve-v2-3-41d177e45929@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c