Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.201]) (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 64FDE292B4F for ; Mon, 30 Jun 2025 16:31:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751301075; cv=none; b=Fx8TshmAy6/q+6hjuBV1RsdekrrG0a2fDsj3068slqUBpEzFlMn2aEn1oltDSOPP9ZPWa0xfB3NsGUAAMXh2WwXop5rLfCj8go7Ox/rfN962U3+Z5XPsUIxvSOsEaqealpOsfu2GlqoYc/YfP6r+dEOJGIlsSjlxPMlOY4cJ2oo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751301075; c=relaxed/simple; bh=Doa9cB8eDyI5Z1xrxS2AczpQfc902XifIn+r2jsrcp4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Content-Type; b=tsyzvqxOwHpnFx3ZSO5NvCa6LL9kn8SlPJeJMNtYXN4J8UdRCFsd9kh6pDcnlcirVjT0v9xc7Q4RhmUWlZgPY/cyqhqj7sLuEq4LFdtrGJWn5gInG/W5oDlMpTpMlIoNuX7Rz+JtSrDCSGsuaRwib/bBgRor+wVn2acHCChJPEU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=CH13z90B; arc=none smtp.client-ip=209.85.210.201 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--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="CH13z90B" Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-748e6457567so4485959b3a.1 for ; Mon, 30 Jun 2025 09:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1751301072; x=1751905872; darn=vger.kernel.org; h=content-transfer-encoding:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=snyXUejcURnc08xpT6+/Ar5yIZrrqidtJh57u5G4u0E=; b=CH13z90BMNYUr+EoJzdwGphzvtXnZ1NBuAZscNfALxE1Mmq+WwkdT0odUpaOI6arEJ pgQENJP7ocjSBzgoxOHbUfarpxpyakIrfmQ//nXcNOfivaCuClrONhrH+TLgzeHmMxQW Yd0sNqdwwHWa30W6wMKJI1Q7uARXEuYKBwQaMQf+bdORCkv1FCLnJxVnQC8QzEw45GA5 VIHsY8xjgIVBSzqOboqY3LakgU2IERzLRlsEBw/zO1zJX2+AtvGwYi2qvum5+xZ3IGas c6ku5xpCxDFtBQ7Qa+4SjY2Rt8KJwCfh4zM3fV4VrpubvrNBhM6lEHMfn4oaduI5axJX fcZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751301072; x=1751905872; h=content-transfer-encoding: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=snyXUejcURnc08xpT6+/Ar5yIZrrqidtJh57u5G4u0E=; b=gK8S8d9cn9r6FqF8EJB7Kddfc7GGv9VvPbzvUSYSoWX6I13YjijSDpAvajVX/BFD0Y Ga5Kbd2sa3FVgGRKUALPMzJF4EMcr+oEZh0CxaspRCRPY/9oyKK4xRwOHQrnLosx9mPv HTEA53427bw552wfZQRp1Eig9INbXE3pc/Au5O+HEWvlOQWibH0Mt/fzY/0V3xSnOYUA fM9D/vH5muHAlOART9qlOBQVgJ9SCpF4ezmL8J8neP/Emr4ZZZYBdP6SBaMwhqbRmmoi +jyeom8eYNvF380l/jjAIRHio40A2qm+JthLHc+6ywzTuoY/xdOn7PwGMcQX08Ig64Bg Thug== X-Forwarded-Encrypted: i=1; AJvYcCVNgR6U7yCthJrkk2BXY4B1Zi4YKzQMPH4hv92bnQGrSMItZGGLD2xVtzAAMuEO0G1VHUIw+Lx04uKxLULV5U5Z@vger.kernel.org X-Gm-Message-State: AOJu0YxJL/feYErrbzfrQUsViMImklwp/4MxG/BhM9+5vKnOnIG1kVOO wJSNSInw+9wUBGj9qOTJzO+YAia6O2loh9CzA2ngyFHUlm7x2dfsigZC9hBsO6fPsjGTsXGVpcx uV9WTGQoVLQ== X-Google-Smtp-Source: AGHT+IFQNxKXrJQzVCW9oR3JUAP0kidJ+nKwqeIrS71VvovYT9ZZT1i5Bsg2RSFE1Ay121YKDuKZgXb6fpRo X-Received: from pgww9-n2.prod.google.com ([2002:a05:6a02:2c89:20b0:b31:c7e5:6665]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a20:3942:b0:21f:4027:b9ed with SMTP id adf61e73a8af0-222c9916bfcmr324459637.1.1751301072535; Mon, 30 Jun 2025 09:31:12 -0700 (PDT) Date: Mon, 30 Jun 2025 09:30:49 -0700 In-Reply-To: <20250630163101.1920170-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250630163101.1920170-1-irogers@google.com> X-Mailer: git-send-email 2.50.0.727.gbf7dc18ff4-goog Message-ID: <20250630163101.1920170-5-irogers@google.com> Subject: [PATCH v2 04/15] perf vendor events: Update CascadelakeX events From: Ian Rogers To: Thomas Falcon , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Kan Liang , "=?UTF-8?q?Andreas=20F=C3=A4rber?=" , Manivannan Sadhasivam , Caleb Biggers , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Update events from v1.23 to v1.25. Bring in the event updates v1.25: https://github.com/intel/perfmon/commit/86f146e15626b0fd3b032cab4538cafaaf2= d0635 https://github.com/intel/perfmon/commit/fef03ffc333ae44d1e9d695b4e67e5bbb44= 29729 Signed-off-by: Ian Rogers --- .../pmu-events/arch/x86/cascadelakex/floating-point.json | 6 +++--- tools/perf/pmu-events/arch/x86/cascadelakex/pipeline.json | 2 +- tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/perf/pmu-events/arch/x86/cascadelakex/floating-point.jso= n b/tools/perf/pmu-events/arch/x86/cascadelakex/floating-point.json index 1c709983b65f..3ef6f00f1135 100644 --- a/tools/perf/pmu-events/arch/x86/cascadelakex/floating-point.json +++ b/tools/perf/pmu-events/arch/x86/cascadelakex/floating-point.json @@ -111,7 +111,7 @@ "Counter": "0,1,2,3", "EventCode": "0xCF", "EventName": "FP_ARITH_INST_RETIRED2.128BIT_PACKED_BF16", - "PublicDescription": "Counts once for each Intel AVX-512 computati= onal 512-bit packed BFloat16 floating-point instruction retired. Applies to= the ZMM based VDPBF16PS instruction. Each count represents 64 computation= operations. This event is only supported on products formerly named Cooper= Lake and is not supported on products formerly named Cascade Lake.", + "PublicDescription": "Counts once for each Intel AVX-512 computati= onal 128-bit packed BFloat16 floating-point instruction retired. Applies to= the XMM based VDPBF16PS instruction. Each count represents 16 computation = operations. This event is only supported on products formerly named Cooper = Lake and is not supported on products formerly named Cascade Lake.", "SampleAfterValue": "2000003", "UMask": "0x20" }, @@ -120,7 +120,7 @@ "Counter": "0,1,2,3", "EventCode": "0xCF", "EventName": "FP_ARITH_INST_RETIRED2.256BIT_PACKED_BF16", - "PublicDescription": "Counts once for each Intel AVX-512 computati= onal 128-bit packed BFloat16 floating-point instruction retired. Applies to= the XMM based VDPBF16PS instruction. Each count represents 16 computation = operations. This event is only supported on products formerly named Cooper = Lake and is not supported on products formerly named Cascade Lake.", + "PublicDescription": "Counts once for each Intel AVX-512 computati= onal 256-bit packed BFloat16 floating-point instruction retired. Applies to= the YMM based VDPBF16PS instruction. Each count represents 32 computation= operations. This event is only supported on products formerly named Cooper= Lake and is not supported on products formerly named Cascade Lake.", "SampleAfterValue": "2000003", "UMask": "0x40" }, @@ -129,7 +129,7 @@ "Counter": "0,1,2,3", "EventCode": "0xCF", "EventName": "FP_ARITH_INST_RETIRED2.512BIT_PACKED_BF16", - "PublicDescription": "Counts once for each Intel AVX-512 computati= onal 256-bit packed BFloat16 floating-point instruction retired. Applies to= the YMM based VDPBF16PS instruction. Each count represents 32 computation= operations. This event is only supported on products formerly named Cooper= Lake and is not supported on products formerly named Cascade Lake.", + "PublicDescription": "Counts once for each Intel AVX-512 computati= onal 512-bit packed BFloat16 floating-point instruction retired. Applies to= the ZMM based VDPBF16PS instruction. Each count represents 64 computation= operations. This event is only supported on products formerly named Cooper= Lake and is not supported on products formerly named Cascade Lake.", "SampleAfterValue": "2000003", "UMask": "0x80" }, diff --git a/tools/perf/pmu-events/arch/x86/cascadelakex/pipeline.json b/to= ols/perf/pmu-events/arch/x86/cascadelakex/pipeline.json index 3dd296ab4d78..9a1349527b66 100644 --- a/tools/perf/pmu-events/arch/x86/cascadelakex/pipeline.json +++ b/tools/perf/pmu-events/arch/x86/cascadelakex/pipeline.json @@ -542,7 +542,7 @@ "Counter": "0,1,2,3", "EventCode": "0x4C", "EventName": "LOAD_HIT_PRE.SW_PF", - "PublicDescription": "Counts all not software-prefetch load dispat= ches that hit the fill buffer (FB) allocated for the software prefetch. It = can also be incremented by some lock instructions. So it should only be use= d with profiling so that the locks can be excluded by ASM (Assembly File) i= nspection of the nearby instructions.", + "PublicDescription": "Counts all software-prefetch load dispatches= that hit the fill buffer (FB) allocated for the software prefetch. It can = also be incremented by some lock instructions. So it should only be used wi= th profiling so that the locks can be excluded by ASM (Assembly File) inspe= ction of the nearby instructions.", "SampleAfterValue": "100003", "UMask": "0x1" }, diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-ev= ents/arch/x86/mapfile.csv index b2db2bb658ce..9a60e95a2e15 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -6,7 +6,7 @@ GenuineIntel-6-(1C|26|27|35|36),v5,bonnell,core GenuineIntel-6-(3D|47),v30,broadwell,core GenuineIntel-6-56,v12,broadwellde,core GenuineIntel-6-4F,v23,broadwellx,core -GenuineIntel-6-55-[56789ABCDEF],v1.23,cascadelakex,core +GenuineIntel-6-55-[56789ABCDEF],v1.25,cascadelakex,core GenuineIntel-6-DD,v1.00,clearwaterforest,core GenuineIntel-6-9[6C],v1.05,elkhartlake,core GenuineIntel-6-CF,v1.11,emeraldrapids,core --=20 2.50.0.727.gbf7dc18ff4-goog