Re: [kvm-unit-tests patch v3 0/8] Fix pmu test errors on GNR/SRF/CWF

From: Sean Christopherson

Date: Thu Nov 20 2025 - 17:30:45 EST


On Wed, Sep 03, 2025, Dapeng Mi wrote:
> Dapeng Mi (3):
> x86/pmu: Relax precise count check for emulated instructions tests
> x86: pmu_pebs: Remove abundant data_cfg_match calculation
> x86: pmu_pebs: Support to validate timed PEBS record on GNR/SRF
>
> dongsheng (5):
> x86/pmu: Add helper to detect Intel overcount issues
> x86/pmu: Relax precise count validation for Intel overcounted
> platforms
> x86/pmu: Fix incorrect masking of fixed counters
> x86/pmu: Handle instruction overcount issue in overflow test
> x86/pmu: Expand "llc references" upper limit for broader compatibility
>
> lib/x86/pmu.h | 6 +++
> lib/x86/processor.h | 27 +++++++++++++
> x86/pmu.c | 95 ++++++++++++++++++++++++++++++++++++++-------
> x86/pmu_pebs.c | 9 +++--
> 4 files changed, 120 insertions(+), 17 deletions(-)

Some minor issues, but otherwise looks good. I'll take care of all the issues
(though I'll still post a v4 so that there's a paper trail for what I'm applying).