From: "Mi, Dapeng" <dapeng1.mi@linux.intel.com>
To: Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Yi Lai <yi1.lai@intel.com>
Subject: Re: [PATCH v4 0/5] KVM: selftests: PMU fixes for GNR/SRF/CWF
Date: Sat, 20 Sep 2025 08:50:00 +0800 [thread overview]
Message-ID: <dcb17b1b-a1a3-427c-8b5d-c2e791a3a46f@linux.intel.com> (raw)
In-Reply-To: <20250919214648.1585683-1-seanjc@google.com>
On 9/20/2025 5:46 AM, Sean Christopherson wrote:
> Fix KVM PMU selftests errors encountered on Granite Rapids (GNR),
> Sierra Forest (SRF) and Clearwater Forest (CWF).
>
> The cover letter from v2 has gory details, as do the patches.
>
> v4:
> - Fix an unavailable_mask goof. [Dapeng]
> - Fix a bitmask goof (missing BIT_ULL()). [Dapeng]
>
> v3:
> - https://lore.kernel.org/all/20250919004512.1359828-1-seanjc@google.com/
> - Make PMU errata available to all tests by default.
> - Redo testing of "unavailable PMU events" to drastically reduce the number
> of testcases.
>
> v2:
> - https://lore.kernel.org/all/20250718001905.196989-1-dapeng1.mi@linux.intel.com
> - Add error fix for vmx_pmu_caps_test on GNR/SRF (patch 2/5).
> - Opportunistically fix a typo (patch 1/5).
>
> v1: https://lore.kernel.org/all/20250712172522.187414-1-dapeng1.mi@linux.intel.com
>
> Dapeng Mi (2):
> KVM: selftests: Add timing_info bit support in vmx_pmu_caps_test
> KVM: selftests: Validate more arch-events in pmu_counters_test
>
> Sean Christopherson (2):
> KVM: selftests: Track unavailable_mask for PMU events as 32-bit value
> KVM: selftests: Reduce number of "unavailable PMU events" combos
> tested
>
> dongsheng (1):
> KVM: selftests: Handle Intel Atom errata that leads to PMU event
> overcount
>
> tools/testing/selftests/kvm/include/x86/pmu.h | 26 ++++++++
> .../selftests/kvm/include/x86/processor.h | 7 ++-
> tools/testing/selftests/kvm/lib/x86/pmu.c | 49 +++++++++++++++
> .../testing/selftests/kvm/lib/x86/processor.c | 4 ++
> .../selftests/kvm/x86/pmu_counters_test.c | 63 +++++++++++++------
> .../selftests/kvm/x86/pmu_event_filter_test.c | 4 +-
> .../selftests/kvm/x86/vmx_pmu_caps_test.c | 3 +-
> 7 files changed, 135 insertions(+), 21 deletions(-)
>
>
> base-commit: c8fbf7ceb2ae3f64b0c377c8c21f6df577a13eb4
Test pmu_counters_test/pmu_event_filter_test/vmx_pmu_caps_test on
SPR/GNR/SRF/CWF platforms, no issue is found. Thanks.
Tested-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
next prev parent reply other threads:[~2025-09-20 0:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-19 21:46 [PATCH v4 0/5] KVM: selftests: PMU fixes for GNR/SRF/CWF Sean Christopherson
2025-09-19 21:46 ` [PATCH v4 1/5] KVM: selftests: Add timing_info bit support in vmx_pmu_caps_test Sean Christopherson
2025-09-19 21:46 ` [PATCH v4 2/5] KVM: selftests: Track unavailable_mask for PMU events as 32-bit value Sean Christopherson
2025-09-20 0:46 ` Mi, Dapeng
2025-09-19 21:46 ` [PATCH v4 3/5] KVM: selftests: Reduce number of "unavailable PMU events" combos tested Sean Christopherson
2025-09-19 21:46 ` [PATCH v4 4/5] KVM: selftests: Validate more arch-events in pmu_counters_test Sean Christopherson
2025-09-19 21:46 ` [PATCH v4 5/5] KVM: selftests: Handle Intel Atom errata that leads to PMU event overcount Sean Christopherson
2025-09-20 0:47 ` Mi, Dapeng
2025-09-20 0:50 ` Mi, Dapeng [this message]
2025-09-24 18:07 ` [PATCH v4 0/5] KVM: selftests: PMU fixes for GNR/SRF/CWF Sean Christopherson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dcb17b1b-a1a3-427c-8b5d-c2e791a3a46f@linux.intel.com \
--to=dapeng1.mi@linux.intel.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
--cc=yi1.lai@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox