Message ID | 20240816-kvm_pmu_fixes-v1-0-cdfce386dd93@rivosinc.com (mailing list archive) |
---|---|
Headers | show |
Series | Fixes for KVM PMU trap/emulation | expand |
On Fri, Aug 16, 2024 at 12:38 PM Atish Patra <atishp@rivosinc.com> wrote: > > This series contains two small fixes to improve the KVM PMU trap/emulation > code. The issue can be observed if SBI PMU is disabled or forced the kvm > to use hpmcounter31. > > Signed-off-by: Atish Patra <atishp@rivosinc.com> > --- > Atish Patra (2): > RISC-V: KVM: Allow legacy PMU access from guest > RISC-V: KVM: Fix to allow hpmcounter31 from the guest Queued this patch for Linux-6.11 fixes. Regards, Anup > > arch/riscv/include/asm/kvm_vcpu_pmu.h | 21 +++++++++++++++++---- > 1 file changed, 17 insertions(+), 4 deletions(-) > --- > base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b > change-id: 20240729-kvm_pmu_fixes-26754d2a077d > -- > Regards, > Atish patra >
Hello: This series was applied to riscv/linux.git (fixes) by Anup Patel <anup@brainfault.org>: On Fri, 16 Aug 2024 00:08:07 -0700 you wrote: > This series contains two small fixes to improve the KVM PMU trap/emulation > code. The issue can be observed if SBI PMU is disabled or forced the kvm > to use hpmcounter31. > > Signed-off-by: Atish Patra <atishp@rivosinc.com> > --- > Atish Patra (2): > RISC-V: KVM: Allow legacy PMU access from guest > RISC-V: KVM: Fix to allow hpmcounter31 from the guest > > [...] Here is the summary with links: - [1/2] RISC-V: KVM: Allow legacy PMU access from guest https://git.kernel.org/riscv/c/7d1ffc8b087e - [2/2] RISC-V: KVM: Fix to allow hpmcounter31 from the guest https://git.kernel.org/riscv/c/5aa09297a3dc You are awesome, thank you!
This series contains two small fixes to improve the KVM PMU trap/emulation code. The issue can be observed if SBI PMU is disabled or forced the kvm to use hpmcounter31. Signed-off-by: Atish Patra <atishp@rivosinc.com> --- Atish Patra (2): RISC-V: KVM: Allow legacy PMU access from guest RISC-V: KVM: Fix to allow hpmcounter31 from the guest arch/riscv/include/asm/kvm_vcpu_pmu.h | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) --- base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b change-id: 20240729-kvm_pmu_fixes-26754d2a077d -- Regards, Atish patra