aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-01-09 15:02:23 -0800
committerSean Christopherson <[email protected]>2024-01-30 15:28:02 -0800
commitdb9e008a0f37bd31ac3d77d650812612b7c873da (patch)
tree5d682a2452dd092f82075e208c9dd3132b77aa34 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentcbbd1aa891398e9ddbdd05bc4e40a988175f22af (diff)
KVM: x86/pmu: Remove KVM's enumeration of Intel's architectural encodings
Drop KVM's enumeration of Intel's architectural event encodings, and instead open code the three encodings (of which only two are real) that KVM uses to emulate fixed counters. Now that KVM doesn't incorrectly enforce the availability of architectural encodings, there is no reason for KVM to ever care about the encodings themselves, at least not in the current format of an array indexed by the encoding's position in CPUID. Opportunistically add a comment to explain why KVM cares about eventsel values for fixed counters. Suggested-by: Jim Mattson <[email protected]> Tested-by: Dapeng Mi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions