RISC-V: KVM: Increment firmware pmu events
authorAtish Patra <atishp@rivosinc.com>
Tue, 7 Feb 2023 09:55:29 +0000 (01:55 -0800)
committerAnup Patel <anup@brainfault.org>
Tue, 7 Feb 2023 15:06:08 +0000 (20:36 +0530)
commitc39cea6f38eefe356d64d0bc1e1f2267e282cdd3
tree319ba3d060d57e1aa4460a20e645bec059a91ead
parentbadc386869e2cb255df6183ec05488a05bd07658
RISC-V: KVM: Increment firmware pmu events

KVM supports firmware events now. Invoke the firmware event increment
function from appropriate places.

Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/tlb.c
arch/riscv/kvm/vcpu_sbi_replace.c