diff options
author | Atish Patra <atishp@rivosinc.com> | 2024-08-16 00:08:09 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-08-19 08:58:21 +0530 |
commit | 5aa09297a3dcc798d038bd7436f8c90f664045a6 (patch) | |
tree | 49e940c53e6153b0152f481ff13834d83fd0af2b /tools/perf/scripts/python/syscall-counts.py | |
parent | 7d1ffc8b087e97dbe1985912c7a2d00e53cea169 (diff) |
RISC-V: KVM: Fix to allow hpmcounter31 from the guest
The csr_fun defines a count parameter which defines the total number
CSRs emulated in KVM starting from the base. This value should be
equal to total number of counters possible for trap/emulation (32).
Fixes: a9ac6c37521f ("RISC-V: KVM: Implement trap & emulate for hpmcounters")
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20240816-kvm_pmu_fixes-v1-2-cdfce386dd93@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions