]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drivers/perf: riscv: Add SBI v3.0 flag
authorAtish Patra <atishp@rivosinc.com>
Tue, 9 Sep 2025 07:03:20 +0000 (00:03 -0700)
committerAnup Patel <anup@brainfault.org>
Tue, 16 Sep 2025 06:19:30 +0000 (11:49 +0530)
commit8c8d0f002b769dbef26c93d68e49d1d0ba54d094
tree601facb07d60088457d20944aca17bc72697c46c
parent5c6d333a9e10d6230d4ab74125c7dcb4fdd69825
drivers/perf: riscv: Add SBI v3.0 flag

There are new PMU related features introduced in SBI v3.0.
1. Raw Event v2 which allows mhpmeventX value to be 56 bit wide.
2. Get Event info function to do a bulk query at one shot.

Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Acked-by: Paul Walmsley <pjw@kernel.org>
Link: https://lore.kernel.org/r/20250909-pmu_event_info-v6-1-d8f80cacb884@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
drivers/perf/riscv_pmu_sbi.c