Message ID | 20250117234204.2600624-1-seanjc@google.com (mailing list archive) |
---|---|
Headers | show |
Series | KVM: selftests: Fix PMC checks in PMU counters test | expand |
On Sat, Jan 18, 2025 at 12:42 AM Sean Christopherson <seanjc@google.com> wrote: > > Fix a flaw in the Intel PMU counters test where it asserts that an event is > counting correctly without actually knowing what the event counts given the > underlying hardware. > > The bug manifests as failures with the Top-Down Slots architectural event > when running CPUs that doesn't actually support that arch event (pre-ICX). > The arch event encoding still counts _something_, just not Top-Down Slots > (I haven't bothered to look up what it was counting). The passed by sheer > dumb luck until an unrelated change caused the count of the unknown event > to drop. Queued for 6.14-rc1, thanks. Paolo