Re: [PATCH 0/5] KVM: selftests: Fix PMC checks in PMU counters test

From: Sean Christopherson
Date: Mon Feb 10 2025 - 18:38:18 EST


On Mon, Jan 20, 2025, Paolo Bonzini wrote:
> On Sat, Jan 18, 2025 at 12:42 AM Sean Christopherson <seanjc@xxxxxxxxxx> 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.

Lies :-)

Neither this nor the main selftests pull request[*] landed in 6.14. None of this
is urgent, so if it's easier on your end I can carry them forward and send them
for 6.15.

[*] https://lore.kernel.org/all/20250117010718.2328467-5-seanjc@xxxxxxxxxx