Re: [Patch v2 1/2] KVM: x86/pmu: Introduce distinct macros for GP/fixed counter max number

From: Sean Christopherson
Date: Fri Jun 28 2024 - 18:57:30 EST


On Thu, 27 Jun 2024 10:17:55 +0800, Dapeng Mi wrote:
> Refine the macros which define maximum General Purpose (GP) and fixed
> counter numbers.
>
> Currently the macro KVM_INTEL_PMC_MAX_GENERIC is used to represent the
> maximum supported General Purpose (GP) counter number ambiguously across
> Intel and AMD platforms. This would cause issues if AMD begins to support
> more GP counters than Intel.
>
> [...]

Applied 1 to kvm-x86 pmu, and 2 to selftests. Thanks!

[1/2] KVM: x86/pmu: Introduce distinct macros for GP/fixed counter max number
https://github.com/kvm-x86/linux/commit/f287bef6ddc2
[2/2] KVM: selftests: Print the seed for the guest pRNG iff it has changed
https://github.com/kvm-x86/linux/commit/ea09ace3f8f3

--
https://github.com/kvm-x86/linux/tree/next