diff options
author | Atish Patra <atishp@rivosinc.com> | 2024-04-20 18:17:39 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-04-26 10:44:12 +0300 |
commit | 4ace2573d13ee22ebc5bb90efca6c2c9b27b2ef8 (patch) | |
tree | 32b11eb546b69a21b2be2e2343411fcdc823e5f7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 13cb706e28d9d4d3259954eb08c57b990e4429ea (diff) | |
download | linux-4ace2573d13ee22ebc5bb90efca6c2c9b27b2ef8.tar.xz |
KVM: riscv: selftests: Add a test for counter overflow
Add a test for verifying overflow interrupt. Currently, it relies on
overflow support on cycle/instret events. This test works for cycle/
instret events which support sampling via hpmcounters on the platform.
There are no ISA extensions to detect if a platform supports that. Thus,
this test will fail on platform with virtualization but doesn't
support overflow on these two events.
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-24-atishp@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions