diff options
author | Sergey Matyukevich <sergey.matyukevich@syntacore.com> | 2022-08-30 18:53:05 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-09-08 13:34:50 -0700 |
commit | 1537bf26e212ffcf007d0590958025f6bfdd4ac8 (patch) | |
tree | b2a498f8d14239173d11ee1a97a7911b356504e9 /drivers/perf/Kconfig | |
parent | 82c75dca6f95c9ac4649031a493456156ddfec2f (diff) |
perf: RISC-V: exclude invalid pmu counters from SBI calls
SBI firmware may not provide information for some counters in response
to SBI_EXT_PMU_COUNTER_GET_INFO call. Exclude such counters from the
subsequent SBI requests. For this purpose use global mask to keep track
of fully specified counters.
Signed-off-by: Sergey Matyukevich <sergey.matyukevich@syntacore.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20220830155306.301714-3-geomatsi@gmail.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/perf/Kconfig')
0 files changed, 0 insertions, 0 deletions