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:26 -0800
committerSean Christopherson <[email protected]>2024-01-30 15:28:02 -0800
commitecb490770ad42c7d3dc08f06efe7bf0779990745 (patch)
tree8ae7a53079754b604f5ba41bbb7a6902f6c32c0b /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent7a277c22412cf72cf6376f21c6d826e8f4a44cc3 (diff)
KVM: x86/pmu: Don't ignore bits 31:30 for RDPMC index on AMD
Stop stripping bits 31:30 prior to validating/consuming the RDPMC index on AMD. Per the APM's documentation of RDPMC, *values* greater than 27 are reserved. The behavior of upper bits being flags is firmly Intel-only. Fixes: ca724305a2b0 ("KVM: x86/vPMU: Implement AMD vPMU code for KVM") 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