From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f74.google.com (mail-dl1-f74.google.com [74.125.82.74]) (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 C540035A3B6 for ; Thu, 26 Feb 2026 17:59:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772128787; cv=none; b=lsWQGG+7v81ARJX+3F+/vuNjUniM+a6TBbT3ONZziXIFubzRQpHx+g0S75vVeE3TWHaCIQ7t6gVoBmOnFR1PFWMsTG6LKDD9R7S8sFv3adYjMGJkNv+XBJxYVA4ki2gyiRbAfdWwEXhYXMAY6ZUfsVxP6xhLffod6rqyFRmOLCI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772128787; c=relaxed/simple; bh=HK7qHEzFLtR/HxklQAg44o9Vz3wI+KlblMb0cTVTt0s=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Content-Type; b=YHf8HARfCybbhL0gSVa4cBVcdm+tcBqKu/xCXjrfvgszj6HbGuAesyt6D9VCmKfQOYmo5hCBhbfp13TZizKTCyIFqedq+priy/05CMW1BkZ0Qp8IfHr+rhdyCcFuZ/dhcsyqBM9AegQ1EBepKdZEvVSq2AVixms+mB7NQtaaxhk= 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=TBvt52qS; arc=none smtp.client-ip=74.125.82.74 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="TBvt52qS" Received: by mail-dl1-f74.google.com with SMTP id a92af1059eb24-1276e71652fso2091912c88.0 for ; Thu, 26 Feb 2026 09:59:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772128785; x=1772733585; 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=lMWIeXWUQgyzJ0fPnV+0pSMPvgSBdF0XsAMHNN5+mYc=; b=TBvt52qSFOBfLZ4xcmeGgnW8PICkaXrWjE5p26mzfVp/KmzqEILoddaa6+DkXpwvai dIelnBr0w7xNn45Qaa4/FSoiNFPZl870jIBZR5BB62zdIDxhqU3ZS2DTFNT463I/So0r EeBytiPSV05LxYm08rWUMwGn27vlk6x4DghLLrAEg4hILMGCKzA0vMGXuxUZwqp5drAb I9YGjsEXFONaqd4LGBiFqPPQhE8xHuFpI+yNzMH+mj7KUFle8Joz7Vh1cU+JR+IbtshC RJaS929lbl7MGvxLGu50qlQgupCrHru8V8ORnOxtQuRwXhUmWf9WNlcy3UMTSnZ5a+h3 UuvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772128785; x=1772733585; 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=lMWIeXWUQgyzJ0fPnV+0pSMPvgSBdF0XsAMHNN5+mYc=; b=F+BAS4IkP9RgB0rVaq27WlcAGEV2+rmaXJVaSYYYVQKH7aFLSbfGXF6nSKex3CMtAy R0RNNOZS8kMhB5jrKc2dDMr4SLGSzQ+NSkHUoBosxDG0wGM7TFRBHPVSUvlaMXbA69lm Hcquz6CSLq68+rY3KzLbSSmMBgr6G/KGSz2FQMVDtYGdz/VSIY878JLQMoDpAlGTSPn1 FjG1SfMyEc+V2vFikLo59884JIz4TZCKoW142LuQZUPyxi7/sRsyueGOfivRVVKZut/+ UdSEmA0Rr1wjDODvRfQr+mSD4kfzF9BrjNZa742BScn+pZWkkFGdmiZ1vM/9E0UdwQA6 rLtg== X-Forwarded-Encrypted: i=1; AJvYcCXG8Ssf0hIDEuHBcUAdDMd6+v0VbizeCiLnp7SSkX47SUV0UMJSWqiNp13CZYfpmUp8Ub0guqTL5OMGHgjYKajK@vger.kernel.org X-Gm-Message-State: AOJu0YxWuByKNHXJhiZHrL5rsOCnfbVwnhg5rQc3+iYSHlV8KwDiKfPM nt9CTNcOMiZu3DVWNC/Opklz8g56pYCK29t7G82419KLqkB3k3GI3V5sRVnrLC3O47xdFfyL380 JBuuPXNjS/g== X-Received: from dlbrd7.prod.google.com ([2002:a05:7022:f107:b0:127:37cd:f16d]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:4392:b0:127:dd7:2062 with SMTP id a92af1059eb24-127869d3b95mr1480189c88.43.1772128784769; Thu, 26 Feb 2026 09:59:44 -0800 (PST) Date: Thu, 26 Feb 2026 09:59:29 -0800 In-Reply-To: <20260226175936.593159-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: <20260226175936.593159-1-irogers@google.com> X-Mailer: git-send-email 2.53.0.473.g4a7958ca14-goog Message-ID: <20260226175936.593159-3-irogers@google.com> Subject: [PATCH v2 03/10] perf vendor events intel: Update emeraldrapid events from 1.20 to 1.21 From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , James Clark , "=?UTF-8?q?Andreas=20F=C3=A4rber?=" , Manivannan Sadhasivam , Dapeng Mi , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The updated events were published in: https://github.com/intel/perfmon/commit/210676cfa8743cd5b9e7cc984fdef1a4854= 2eda4 Signed-off-by: Ian Rogers --- .../arch/x86/emeraldrapids/cache.json | 4 ++-- .../arch/x86/emeraldrapids/frontend.json | 16 ++++++++++++++++ .../arch/x86/emeraldrapids/uncore-cache.json | 4 ++-- .../arch/x86/emeraldrapids/uncore-io.json | 17 +++++++++-------- tools/perf/pmu-events/arch/x86/mapfile.csv | 2 +- 5 files changed, 30 insertions(+), 13 deletions(-) diff --git a/tools/perf/pmu-events/arch/x86/emeraldrapids/cache.json b/tool= s/perf/pmu-events/arch/x86/emeraldrapids/cache.json index 26568e4b77f7..b2f8947f6741 100644 --- a/tools/perf/pmu-events/arch/x86/emeraldrapids/cache.json +++ b/tools/perf/pmu-events/arch/x86/emeraldrapids/cache.json @@ -514,7 +514,7 @@ "EventCode": "0xd3", "EventName": "MEM_LOAD_L3_MISS_RETIRED.REMOTE_DRAM", "PublicDescription": "MEM_LOAD_L3_MISS_RETIRED.REMOTE_DRAM Availab= le PDIST counters: 0", - "SampleAfterValue": "1000003", + "SampleAfterValue": "100007", "UMask": "0x2" }, { @@ -534,7 +534,7 @@ "EventCode": "0xd3", "EventName": "MEM_LOAD_L3_MISS_RETIRED.REMOTE_HITM", "PublicDescription": "MEM_LOAD_L3_MISS_RETIRED.REMOTE_HITM Availab= le PDIST counters: 0", - "SampleAfterValue": "1000003", + "SampleAfterValue": "100007", "UMask": "0x4" }, { diff --git a/tools/perf/pmu-events/arch/x86/emeraldrapids/frontend.json b/t= ools/perf/pmu-events/arch/x86/emeraldrapids/frontend.json index 793c486ffabe..e51f5e85ffd1 100644 --- a/tools/perf/pmu-events/arch/x86/emeraldrapids/frontend.json +++ b/tools/perf/pmu-events/arch/x86/emeraldrapids/frontend.json @@ -271,6 +271,22 @@ "SampleAfterValue": "200003", "UMask": "0x4" }, + { + "BriefDescription": "ICACHE_TAG.STALLS_INUSE", + "Counter": "0,1,2,3", + "EventCode": "0x83", + "EventName": "ICACHE_TAG.STALLS_INUSE", + "SampleAfterValue": "200003", + "UMask": "0x10" + }, + { + "BriefDescription": "ICACHE_TAG.STALLS_ISB", + "Counter": "0,1,2,3", + "EventCode": "0x83", + "EventName": "ICACHE_TAG.STALLS_ISB", + "SampleAfterValue": "200003", + "UMask": "0x8" + }, { "BriefDescription": "Cycles Decode Stream Buffer (DSB) is deliveri= ng any Uop", "Counter": "0,1,2,3", diff --git a/tools/perf/pmu-events/arch/x86/emeraldrapids/uncore-cache.json= b/tools/perf/pmu-events/arch/x86/emeraldrapids/uncore-cache.json index 92cf47967f0b..3c8dcd9cff7c 100644 --- a/tools/perf/pmu-events/arch/x86/emeraldrapids/uncore-cache.json +++ b/tools/perf/pmu-events/arch/x86/emeraldrapids/uncore-cache.json @@ -3501,7 +3501,7 @@ "EventName": "UNC_CHA_SNOOP_RESP.RSPIFWD", "Experimental": "1", "PerPkg": "1", - "PublicDescription": "Counts when a a transaction with the opcode = type RspIFwd Snoop Response was received which indicates a remote caching a= gent forwarded the data and the requesting agent is able to acquire the dat= a in E (Exclusive) or M (modified) states. This is commonly returned with = RFO (the Read for Ownership issued before a write) transactions. The snoop= could have either been to a cacheline in the M,E,F (Modified, Exclusive or= Forward) states.", + "PublicDescription": "Counts when a transaction with the opcode ty= pe RspIFwd Snoop Response was received which indicates a remote caching age= nt forwarded the data and the requesting agent is able to acquire the data = in E (Exclusive) or M (modified) states. This is commonly returned with RF= O (the Read for Ownership issued before a write) transactions. The snoop c= ould have either been to a cacheline in the M,E,F (Modified, Exclusive or F= orward) states.", "UMask": "0x4", "Unit": "CHA" }, @@ -3523,7 +3523,7 @@ "EventName": "UNC_CHA_SNOOP_RESP.RSPSFWD", "Experimental": "1", "PerPkg": "1", - "PublicDescription": "Counts when a a transaction with the opcode = type RspSFwd Snoop Response was received which indicates a remote caching a= gent forwarded the data but held on to its current copy. This is common fo= r data and code reads that hit in a remote socket in E (Exclusive) or F (Fo= rward) state.", + "PublicDescription": "Counts when a transaction with the opcode ty= pe RspSFwd Snoop Response was received which indicates a remote caching age= nt forwarded the data but held on to its current copy. This is common for = data and code reads that hit in a remote socket in E (Exclusive) or F (Forw= ard) state.", "UMask": "0x8", "Unit": "CHA" }, diff --git a/tools/perf/pmu-events/arch/x86/emeraldrapids/uncore-io.json b/= tools/perf/pmu-events/arch/x86/emeraldrapids/uncore-io.json index d4cf2199d46b..ddb0f65307f4 100644 --- a/tools/perf/pmu-events/arch/x86/emeraldrapids/uncore-io.json +++ b/tools/perf/pmu-events/arch/x86/emeraldrapids/uncore-io.json @@ -223,6 +223,7 @@ "Experimental": "1", "FCMask": "0x07", "PerPkg": "1", + "PortMask": "0xff", "UMask": "0xff", "Unit": "IIO" }, @@ -234,7 +235,7 @@ "Experimental": "1", "FCMask": "0x07", "PerPkg": "1", - "PortMask": "0x0000", + "PortMask": "0x01", "PublicDescription": "x16 card plugged in to stack, Or x8 card plu= gged in to Lane 0/1, Or x4 card is plugged in to slot 0", "UMask": "0x1", "Unit": "IIO" @@ -247,7 +248,7 @@ "Experimental": "1", "FCMask": "0x07", "PerPkg": "1", - "PortMask": "0x0000", + "PortMask": "0x02", "PublicDescription": "x4 card is plugged in to slot 1", "UMask": "0x2", "Unit": "IIO" @@ -260,7 +261,7 @@ "Experimental": "1", "FCMask": "0x07", "PerPkg": "1", - "PortMask": "0x0000", + "PortMask": "0x04", "PublicDescription": "x8 card plugged in to Lane 2/3, Or x4 card i= s plugged in to slot 1", "UMask": "0x4", "Unit": "IIO" @@ -273,7 +274,7 @@ "Experimental": "1", "FCMask": "0x07", "PerPkg": "1", - "PortMask": "0x0000", + "PortMask": "0x08", "PublicDescription": "x4 card is plugged in to slot 3", "UMask": "0x8", "Unit": "IIO" @@ -286,7 +287,7 @@ "Experimental": "1", "FCMask": "0x07", "PerPkg": "1", - "PortMask": "0x0000", + "PortMask": "0x10", "PublicDescription": "x16 card plugged in to stack, Or x8 card plu= gged in to Lane 0/1, Or x4 card is plugged in to slot 0", "UMask": "0x10", "Unit": "IIO" @@ -299,7 +300,7 @@ "Experimental": "1", "FCMask": "0x07", "PerPkg": "1", - "PortMask": "0x0000", + "PortMask": "0x20", "PublicDescription": "x4 card is plugged in to slot 1", "UMask": "0x20", "Unit": "IIO" @@ -312,7 +313,7 @@ "Experimental": "1", "FCMask": "0x07", "PerPkg": "1", - "PortMask": "0x0000", + "PortMask": "0x40", "PublicDescription": "x8 card plugged in to Lane 2/3, Or x4 card i= s plugged in to slot 1", "UMask": "0x40", "Unit": "IIO" @@ -325,7 +326,7 @@ "Experimental": "1", "FCMask": "0x07", "PerPkg": "1", - "PortMask": "0x0000", + "PortMask": "0x80", "PublicDescription": "x4 card is plugged in to slot 3", "UMask": "0x80", "Unit": "IIO" diff --git a/tools/perf/pmu-events/arch/x86/mapfile.csv b/tools/perf/pmu-ev= ents/arch/x86/mapfile.csv index 7e9bc4241c61..92799bc6e9d9 100644 --- a/tools/perf/pmu-events/arch/x86/mapfile.csv +++ b/tools/perf/pmu-events/arch/x86/mapfile.csv @@ -9,7 +9,7 @@ GenuineIntel-6-4F,v23,broadwellx,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.20,emeraldrapids,core +GenuineIntel-6-CF,v1.21,emeraldrapids,core GenuineIntel-6-5[CF],v13,goldmont,core GenuineIntel-6-7A,v1.01,goldmontplus,core GenuineIntel-6-B6,v1.10,grandridge,core --=20 2.53.0.414.gf7e9f6c205-goog