]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RISC-V: KVM: Add support for Raw event v2
authorAtish Patra <atishp@rivosinc.com>
Tue, 9 Sep 2025 07:03:22 +0000 (00:03 -0700)
committerAnup Patel <anup@brainfault.org>
Tue, 16 Sep 2025 06:19:31 +0000 (11:49 +0530)
commit190b74154299d210de7937d7325571fc3fa37383
treea2754be597dd9f760bf257752f8014b2af237136
parent656ef2ea30a90f910e1d2691674c98e5dcd164b5
RISC-V: KVM: Add support for Raw event v2

SBI v3.0 introduced a new raw event type v2 for wider mhpmeventX
programming. Add the support in kvm for that.

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-3-d8f80cacb884@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/vcpu_pmu.c