From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 110FA36D503 for ; Thu, 20 Nov 2025 22:30:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763677848; cv=none; b=XRH8IavMlgnPEisSG5HKlswAWVNPSEQ9UIResfH/5ks1cj/1HECaB+1hoXzim4P1A+FO8pBSLLT/mtDlapPqSsMC1ygsqt/KXq9eAwR9wyX/Qq4qbt1T1+83AuX3EDSuN1dCn2hChZGrd5hrDiRMWy/gar11z3vITHRN4ojBg0w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763677848; c=relaxed/simple; bh=XM3oHd+NqVO+9+JBUhqkVxk9E1Ox4uBtA/JZ4oZsiW0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=PdmPDUAck0erLLZmHbSntFPrHF3WORja4WnZGdXjlc9cGQsL/mG5P3y0U/qK58JFb9zT7FopiQiAo7PXO8L/RDQlanZ54S51W0zk3xUjSgsYEmnhKGnDS3E/nMAw1asuXtm5glXMaUFRG3uduFUYm5WMGUiRoEZdQ0ovPJ2xMho= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=fvwdlgLc; arc=none smtp.client-ip=209.85.216.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="fvwdlgLc" Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-3436d81a532so2710518a91.3 for ; Thu, 20 Nov 2025 14:30:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1763677845; x=1764282645; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=JEByTRD2u24DuAHKArK5iKfifkedyslZaW5KBzyqml8=; b=fvwdlgLcIEfB7aDNobBz79MA4gAvIVR5ull88cNU/lwW1Ygf0U3d0fWiJvdXA6+C8n 6MrE+4llfcUAlFLnvlk7u+C7ATQEYvO5Z1DeMfbE3VSeJNVWzMOUtE696+/vYFu0XzUk 2nmuRYxIT2kMW17x+Oon574kV55hgmTttkTbzeG7cki25KYlQrFgi1+1BGLx6r0gvcxa oocgBqw4tMZUvyV+CKh9/uQXjA2qWWAuLobeeDzeF7lwDXFITl5jSOToTk+VOjClbUe0 3M7+LgLL8CJfIi4Kn4S11gzrkOPMXXyVorA2R9wnPsje00HO85zGUVWNb8YdzkNqXWDK 25Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763677845; x=1764282645; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JEByTRD2u24DuAHKArK5iKfifkedyslZaW5KBzyqml8=; b=oGqE3vNIcBARqZv8GUpgCGsIqVJuZobRNFMFJr6vWBbty0pcssYmkvRT0VmW3I99GA mpgAdC0fnuPp/YBI1r/QMwksXZA/kbQNa0JJ+WRVAiRfXYfRJD9taEfQS40pMdaMQYVJ iHrfI3RqM5RBx7SF5zqcex9aci9TiJEOQ4pYFsUZP/XlWsmzr1qRF/FiBzHu1Vw5ok3q pTAGFJwlzLnG/t2hHzwM7PAIQdOPDsOAHNIrdvzqgzoRiYrGXwC3Xi2J3GnPXmd6+JZO xZCYsMOTIB4Hrc3njeRXtzSWq2CNt9JSrTWW7veVNcPxhUa0xDHpGteS5d7GEwwgmFWz wPgA== X-Forwarded-Encrypted: i=1; AJvYcCXWn9yMfAUWB5/LTjiPGoAVSJtZ3sCdWIOMRt3OyjsCrKWgU2xcjaEPjcG3ZPMgI/UObHSRoPAskmCGnjE=@vger.kernel.org X-Gm-Message-State: AOJu0Yw5kC9G5vXQWfW69HSRYGU7niH151pulL7Z5mmp90NKq2eQsRpC r/viQXZSaWpZ/zTDwW9UP8I6Bo+Rkv0SbmHz25ZZwZn1az6oiJaRPrCSd0WgV7XEL/WHjtEiCYZ zKxjuBA== X-Google-Smtp-Source: AGHT+IGOHUMOhLjbJL5wUB9ExfxNpdm/8Fi4EmS6SFCFMc4zyuG3C+3CszgvpWEqiat1Yy4ggNtUAhO4taw= X-Received: from pjst15.prod.google.com ([2002:a17:90b:18f:b0:340:a575:55db]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:4f42:b0:32d:d5f1:fe7f with SMTP id 98e67ed59e1d1-34733e937bdmr80623a91.15.1763677845413; Thu, 20 Nov 2025 14:30:45 -0800 (PST) Date: Thu, 20 Nov 2025 14:30:44 -0800 In-Reply-To: <20250903064601.32131-1-dapeng1.mi@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250903064601.32131-1-dapeng1.mi@linux.intel.com> Message-ID: Subject: Re: [kvm-unit-tests patch v3 0/8] Fix pmu test errors on GNR/SRF/CWF From: Sean Christopherson To: Dapeng Mi Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Jim Mattson , Mingwei Zhang , Zide Chen , Das Sandipan , Shukla Manali , Xiaoyao Li , Dapeng Mi Content-Type: text/plain; charset="us-ascii" 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).