Re: [PATCH v2 0/4] RISC-V KVM PMU fix and selftest improvement

2025-03-11 Thread Anup Patel
On Tue, Mar 4, 2025 at 4:23 AM Atish Patra  wrote:
>
> This series adds a fix for KVM PMU code and improves the pmu selftest
> by allowing generating precise number of interrupts. It also provided
> another additional option to the overflow test that allows user to
> generate custom number of LCOFI interrupts.
>
> Signed-off-by: Atish Patra 
> ---
> Changes in v2:
> - Initialized the local overflow irq variable to 0 indicate that it's not a
>   allowed value.
> - Moved the introduction of argument option `n` to the last patch.
> - Link to v1: 
> https://lore.kernel.org/r/[email protected]
>
> ---
> Atish Patra (4):
>   RISC-V: KVM: Disable the kernel perf counter during configure
>   KVM: riscv: selftests: Do not start the counter in the overflow handler
>   KVM: riscv: selftests: Change command line option
>   KVM: riscv: selftests: Allow number of interrupts to be configurable

Queued this series for Linux-6.15.

Thanks,
Anup

>
>  arch/riscv/kvm/vcpu_pmu.c|  1 +
>  tools/testing/selftests/kvm/riscv/sbi_pmu_test.c | 81 
> 
>  2 files changed, 57 insertions(+), 25 deletions(-)
> ---
> base-commit: 0ad2507d5d93f39619fc42372c347d6006b64319
> change-id: 20250225-kvm_pmu_improve-fffd038b2404
> --
> Regards,
> Atish patra
>



[PATCH v2 0/4] RISC-V KVM PMU fix and selftest improvement

2025-03-03 Thread Atish Patra
This series adds a fix for KVM PMU code and improves the pmu selftest
by allowing generating precise number of interrupts. It also provided
another additional option to the overflow test that allows user to
generate custom number of LCOFI interrupts.

Signed-off-by: Atish Patra 
---
Changes in v2:
- Initialized the local overflow irq variable to 0 indicate that it's not a
  allowed value. 
- Moved the introduction of argument option `n` to the last patch. 
- Link to v1: 
https://lore.kernel.org/r/[email protected]

---
Atish Patra (4):
  RISC-V: KVM: Disable the kernel perf counter during configure
  KVM: riscv: selftests: Do not start the counter in the overflow handler
  KVM: riscv: selftests: Change command line option
  KVM: riscv: selftests: Allow number of interrupts to be configurable

 arch/riscv/kvm/vcpu_pmu.c|  1 +
 tools/testing/selftests/kvm/riscv/sbi_pmu_test.c | 81 
 2 files changed, 57 insertions(+), 25 deletions(-)
---
base-commit: 0ad2507d5d93f39619fc42372c347d6006b64319
change-id: 20250225-kvm_pmu_improve-fffd038b2404
--
Regards,
Atish patra