Sergey Matyukevich 1537bf26e2
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>
2022-09-08 13:34:50 -07:00
..
2022-08-11 19:21:03 +02:00
2022-08-07 17:52:35 -07:00
2022-08-04 20:00:14 -07:00
2022-07-22 15:51:31 +10:00
2022-08-04 12:12:54 -07:00
2022-08-06 10:56:45 -07:00
2022-08-13 13:41:48 -07:00
2022-08-01 15:26:40 +02:00
2022-08-11 12:10:08 -07:00
2022-08-12 09:50:34 -07:00