public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fixes for KVM PMU trap/emulation
@ 2024-08-16  7:08 Atish Patra
  2024-08-16  7:08 ` [PATCH 1/2] RISC-V: KVM: Allow legacy PMU access from guest Atish Patra
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Atish Patra @ 2024-08-16  7:08 UTC (permalink / raw)
  To: Anup Patel, Atish Patra, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Andrew Jones
  Cc: kvm, kvm-riscv, linux-riscv, linux-kernel, Atish Patra

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


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-01 11:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-16  7:08 [PATCH 0/2] Fixes for KVM PMU trap/emulation Atish Patra
2024-08-16  7:08 ` [PATCH 1/2] RISC-V: KVM: Allow legacy PMU access from guest Atish Patra
2024-08-16  7:08 ` [PATCH 2/2] RISC-V: KVM: Fix to allow hpmcounter31 from the guest Atish Patra
2024-08-20  5:40 ` [PATCH 0/2] Fixes for KVM PMU trap/emulation Anup Patel
2024-10-01 11:35 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox