diff options
author | Sean Christopherson <seanjc@google.com> | 2025-08-06 12:56:52 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-09-18 12:58:13 -0700 |
commit | 9bae7a086394128bd829c0c04f9f75600fdc1bc1 (patch) | |
tree | f5451164495599e2026f521d10f3a87e81599e50 /net/unix/af_unix.c | |
parent | 30c0267f15812114d7ab96a7dd45874742d736fe (diff) |
KVM: x86/pmu: Move initialization of valid PMCs bitmask to common x86
Move all initialization of all_valid_pmc_idx to common code, as the logic
is 100% common to Intel and AMD, and KVM heavily relies on Intel and AMD
having the same semantics. E.g. the fact that AMD doesn't support fixed
counters doesn't allow KVM to use all_valid_pmc_idx[63:32] for other
purposes.
Tested-by: Xudong Hao <xudong.hao@intel.com>
Link: https://lore.kernel.org/r/20250806195706.1650976-31-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions