[PATCH v1 03/10] perf vendor events intel: Update emeraldrapid events from 1.20 to 1.21

Ian Rogers
2026-02-26T04:53:11Z

https://github.com/intel/perfmon/commit/210676cfa8743cd5b9e7cc984fdef1a48542eda4

Signed-off-by: Ian Rogers <irogers@google.com>
---
.../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/tools/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 Available 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 Available PDIST counters: 0",
- "SampleAfterValue": "1000003",
+ "SampleAfterValue": "100007",
"UMask": "0x4"
},
{
diff --git a/tools/perf/pmu-events/arch/x86/emeraldrapids/frontend.json b/tools/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 delivering 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 agent 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 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 type RspIFwd Snoop Response was received which indicates a remote caching agent 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 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.",
"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 agent 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 (Forward) state.",
+ "PublicDescription": "Counts when a transaction with the opcode type RspSFwd Snoop Response was received which indicates a remote caching agent 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 (Forward) 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 plugged 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 is 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 plugged 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 is 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-events/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
--
2.53.0.414.gf7e9f6c205-goog