xref: /linux/tools/perf/pmu-events/arch/x86/alderlaken/cache.json (revision 6af91e3d2cfc8bb579b1aa2d22cd91f8c34acdf6)
1[
2    {
3        "BriefDescription": "Counts the number of cacheable memory requests that miss in the LLC. Counts on a per core basis.",
4        "Counter": "0,1,2,3,4,5",
5        "EventCode": "0x2e",
6        "EventName": "LONGEST_LAT_CACHE.MISS",
7        "PublicDescription": "Counts the number of cacheable memory requests that miss in the Last Level Cache (LLC). Requests include demand loads, reads for ownership (RFO), instruction fetches and L1 HW prefetches. If the core has access to an L3 cache, the LLC is the L3 cache, otherwise it is the L2 cache. Counts on a per core basis.",
8        "SampleAfterValue": "200003",
9        "UMask": "0x41"
10    },
11    {
12        "BriefDescription": "Counts the number of cacheable memory requests that access the LLC. Counts on a per core basis.",
13        "Counter": "0,1,2,3,4,5",
14        "EventCode": "0x2e",
15        "EventName": "LONGEST_LAT_CACHE.REFERENCE",
16        "PublicDescription": "Counts the number of cacheable memory requests that access the Last Level Cache (LLC). Requests include demand loads, reads for ownership (RFO), instruction fetches and L1 HW prefetches. If the core has access to an L3 cache, the LLC is the L3 cache, otherwise it is the L2 cache. Counts on a per core basis.",
17        "SampleAfterValue": "200003",
18        "UMask": "0x4f"
19    },
20    {
21        "BriefDescription": "Counts the number of cycles the core is stalled due to an instruction cache or TLB miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
22        "Counter": "0,1,2,3,4,5",
23        "EventCode": "0x34",
24        "EventName": "MEM_BOUND_STALLS.IFETCH",
25        "PublicDescription": "Counts the number of cycles the core is stalled due to an instruction cache or translation lookaside buffer (TLB) miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
26        "SampleAfterValue": "200003",
27        "UMask": "0x38"
28    },
29    {
30        "BriefDescription": "Counts the number of cycles the core is stalled due to an instruction cache or TLB miss which hit in DRAM or MMIO (Non-DRAM).",
31        "Counter": "0,1,2,3,4,5",
32        "EventCode": "0x34",
33        "EventName": "MEM_BOUND_STALLS.IFETCH_DRAM_HIT",
34        "PublicDescription": "Counts the number of cycles the core is stalled due to an instruction cache or translation lookaside buffer (TLB) miss which hit in DRAM or MMIO (non-DRAM).",
35        "SampleAfterValue": "200003",
36        "UMask": "0x20"
37    },
38    {
39        "BriefDescription": "Counts the number of cycles the core is stalled due to an instruction cache or TLB miss which hit in the L2 cache.",
40        "Counter": "0,1,2,3,4,5",
41        "EventCode": "0x34",
42        "EventName": "MEM_BOUND_STALLS.IFETCH_L2_HIT",
43        "PublicDescription": "Counts the number of cycles the core is stalled due to an instruction cache or Translation Lookaside Buffer (TLB) miss which hit in the L2 cache.",
44        "SampleAfterValue": "200003",
45        "UMask": "0x8"
46    },
47    {
48        "BriefDescription": "Counts the number of cycles the core is stalled due to an instruction cache or TLB miss which hit in the LLC or other core with HITE/F/M.",
49        "Counter": "0,1,2,3,4,5",
50        "EventCode": "0x34",
51        "EventName": "MEM_BOUND_STALLS.IFETCH_LLC_HIT",
52        "PublicDescription": "Counts the number of cycles the core is stalled due to an instruction cache or Translation Lookaside Buffer (TLB) miss which hit in the Last Level Cache (LLC) or other core with HITE/F/M.",
53        "SampleAfterValue": "200003",
54        "UMask": "0x10"
55    },
56    {
57        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load miss which hit in the L2, LLC, DRAM or MMIO (Non-DRAM).",
58        "Counter": "0,1,2,3,4,5",
59        "EventCode": "0x34",
60        "EventName": "MEM_BOUND_STALLS.LOAD",
61        "SampleAfterValue": "200003",
62        "UMask": "0x7"
63    },
64    {
65        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load miss which hit in DRAM or MMIO (Non-DRAM).",
66        "Counter": "0,1,2,3,4,5",
67        "EventCode": "0x34",
68        "EventName": "MEM_BOUND_STALLS.LOAD_DRAM_HIT",
69        "SampleAfterValue": "200003",
70        "UMask": "0x4"
71    },
72    {
73        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load which hit in the L2 cache.",
74        "Counter": "0,1,2,3,4,5",
75        "EventCode": "0x34",
76        "EventName": "MEM_BOUND_STALLS.LOAD_L2_HIT",
77        "SampleAfterValue": "200003",
78        "UMask": "0x1"
79    },
80    {
81        "BriefDescription": "Counts the number of cycles the core is stalled due to a demand load which hit in the LLC or other core with HITE/F/M.",
82        "Counter": "0,1,2,3,4,5",
83        "EventCode": "0x34",
84        "EventName": "MEM_BOUND_STALLS.LOAD_LLC_HIT",
85        "PublicDescription": "Counts the number of cycles the core is stalled due to a demand load which hit in the Last Level Cache (LLC) or other core with HITE/F/M.",
86        "SampleAfterValue": "200003",
87        "UMask": "0x2"
88    },
89    {
90        "BriefDescription": "Counts the number of load uops retired that hit in DRAM.",
91        "Counter": "0,1,2,3,4,5",
92        "Data_LA": "1",
93        "EventCode": "0xd1",
94        "EventName": "MEM_LOAD_UOPS_RETIRED.DRAM_HIT",
95        "PEBS": "1",
96        "SampleAfterValue": "200003",
97        "UMask": "0x80"
98    },
99    {
100        "BriefDescription": "Counts the number of load uops retired that hit in the L2 cache.",
101        "Counter": "0,1,2,3,4,5",
102        "Data_LA": "1",
103        "EventCode": "0xd1",
104        "EventName": "MEM_LOAD_UOPS_RETIRED.L2_HIT",
105        "PEBS": "1",
106        "SampleAfterValue": "200003",
107        "UMask": "0x2"
108    },
109    {
110        "BriefDescription": "Counts the number of load uops retired that hit in the L3 cache.",
111        "Counter": "0,1,2,3,4,5",
112        "Data_LA": "1",
113        "EventCode": "0xd1",
114        "EventName": "MEM_LOAD_UOPS_RETIRED.L3_HIT",
115        "PEBS": "1",
116        "SampleAfterValue": "200003",
117        "UMask": "0x4"
118    },
119    {
120        "BriefDescription": "Counts the number of cycles that uops are blocked for any of the following reasons:  load buffer, store buffer or RSV full.",
121        "Counter": "0,1,2,3,4,5",
122        "EventCode": "0x04",
123        "EventName": "MEM_SCHEDULER_BLOCK.ALL",
124        "SampleAfterValue": "20003",
125        "UMask": "0x7"
126    },
127    {
128        "BriefDescription": "Counts the number of cycles that uops are blocked due to a load buffer full condition.",
129        "Counter": "0,1,2,3,4,5",
130        "EventCode": "0x04",
131        "EventName": "MEM_SCHEDULER_BLOCK.LD_BUF",
132        "SampleAfterValue": "20003",
133        "UMask": "0x2"
134    },
135    {
136        "BriefDescription": "Counts the number of cycles that uops are blocked due to an RSV full condition.",
137        "Counter": "0,1,2,3,4,5",
138        "EventCode": "0x04",
139        "EventName": "MEM_SCHEDULER_BLOCK.RSV",
140        "SampleAfterValue": "20003",
141        "UMask": "0x4"
142    },
143    {
144        "BriefDescription": "Counts the number of cycles that uops are blocked due to a store buffer full condition.",
145        "Counter": "0,1,2,3,4,5",
146        "EventCode": "0x04",
147        "EventName": "MEM_SCHEDULER_BLOCK.ST_BUF",
148        "SampleAfterValue": "20003",
149        "UMask": "0x1"
150    },
151    {
152        "BriefDescription": "Counts the number of load uops retired.",
153        "Counter": "0,1,2,3,4,5",
154        "Data_LA": "1",
155        "EventCode": "0xd0",
156        "EventName": "MEM_UOPS_RETIRED.ALL_LOADS",
157        "PEBS": "1",
158        "PublicDescription": "Counts the total number of load uops retired.",
159        "SampleAfterValue": "200003",
160        "UMask": "0x81"
161    },
162    {
163        "BriefDescription": "Counts the number of store uops retired.",
164        "Counter": "0,1,2,3,4,5",
165        "Data_LA": "1",
166        "EventCode": "0xd0",
167        "EventName": "MEM_UOPS_RETIRED.ALL_STORES",
168        "PEBS": "1",
169        "PublicDescription": "Counts the total number of store uops retired.",
170        "SampleAfterValue": "200003",
171        "UMask": "0x82"
172    },
173    {
174        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 128 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
175        "Counter": "0,1",
176        "Data_LA": "1",
177        "EventCode": "0xd0",
178        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_128",
179        "MSRIndex": "0x3F6",
180        "MSRValue": "0x80",
181        "PEBS": "2",
182        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 128 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
183        "SampleAfterValue": "1000003",
184        "UMask": "0x5"
185    },
186    {
187        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 16 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
188        "Counter": "0,1",
189        "Data_LA": "1",
190        "EventCode": "0xd0",
191        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_16",
192        "MSRIndex": "0x3F6",
193        "MSRValue": "0x10",
194        "PEBS": "2",
195        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 16 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
196        "SampleAfterValue": "1000003",
197        "UMask": "0x5"
198    },
199    {
200        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 256 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
201        "Counter": "0,1",
202        "Data_LA": "1",
203        "EventCode": "0xd0",
204        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_256",
205        "MSRIndex": "0x3F6",
206        "MSRValue": "0x100",
207        "PEBS": "2",
208        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 256 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
209        "SampleAfterValue": "1000003",
210        "UMask": "0x5"
211    },
212    {
213        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 32 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
214        "Counter": "0,1",
215        "Data_LA": "1",
216        "EventCode": "0xd0",
217        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_32",
218        "MSRIndex": "0x3F6",
219        "MSRValue": "0x20",
220        "PEBS": "2",
221        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 32 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
222        "SampleAfterValue": "1000003",
223        "UMask": "0x5"
224    },
225    {
226        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 4 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
227        "Counter": "0,1",
228        "Data_LA": "1",
229        "EventCode": "0xd0",
230        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_4",
231        "MSRIndex": "0x3F6",
232        "MSRValue": "0x4",
233        "PEBS": "2",
234        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 4 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
235        "SampleAfterValue": "1000003",
236        "UMask": "0x5"
237    },
238    {
239        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 512 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
240        "Counter": "0,1",
241        "Data_LA": "1",
242        "EventCode": "0xd0",
243        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_512",
244        "MSRIndex": "0x3F6",
245        "MSRValue": "0x200",
246        "PEBS": "2",
247        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 512 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
248        "SampleAfterValue": "1000003",
249        "UMask": "0x5"
250    },
251    {
252        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 64 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
253        "Counter": "0,1",
254        "Data_LA": "1",
255        "EventCode": "0xd0",
256        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_64",
257        "MSRIndex": "0x3F6",
258        "MSRValue": "0x40",
259        "PEBS": "2",
260        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 64 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
261        "SampleAfterValue": "1000003",
262        "UMask": "0x5"
263    },
264    {
265        "BriefDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 8 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled.",
266        "Counter": "0,1",
267        "Data_LA": "1",
268        "EventCode": "0xd0",
269        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_8",
270        "MSRIndex": "0x3F6",
271        "MSRValue": "0x8",
272        "PEBS": "2",
273        "PublicDescription": "Counts the number of tagged loads with an instruction latency that exceeds or equals the threshold of 8 cycles as defined in MEC_CR_PEBS_LD_LAT_THRESHOLD (3F6H). Only counts with PEBS enabled. If a PEBS record is generated, will populate the PEBS Latency and PEBS Data Source fields accordingly.",
274        "SampleAfterValue": "1000003",
275        "UMask": "0x5"
276    },
277    {
278        "BriefDescription": "Counts the number of load uops retired that performed one or more locks.",
279        "Counter": "0,1,2,3,4,5",
280        "Data_LA": "1",
281        "EventCode": "0xd0",
282        "EventName": "MEM_UOPS_RETIRED.LOCK_LOADS",
283        "PEBS": "1",
284        "SampleAfterValue": "200003",
285        "UMask": "0x21"
286    },
287    {
288        "BriefDescription": "Counts the number of retired split load uops.",
289        "Counter": "0,1,2,3,4,5",
290        "Data_LA": "1",
291        "EventCode": "0xd0",
292        "EventName": "MEM_UOPS_RETIRED.SPLIT_LOADS",
293        "PEBS": "1",
294        "SampleAfterValue": "200003",
295        "UMask": "0x41"
296    },
297    {
298        "BriefDescription": "Counts the number of stores uops retired. Counts with or without PEBS enabled.",
299        "Counter": "0,1,2,3,4,5",
300        "Data_LA": "1",
301        "EventCode": "0xd0",
302        "EventName": "MEM_UOPS_RETIRED.STORE_LATENCY",
303        "PEBS": "2",
304        "PublicDescription": "Counts the number of stores uops retired. Counts with or without PEBS enabled. If PEBS is enabled and a PEBS record is generated, will populate PEBS Latency and PEBS Data Source fields accordingly.",
305        "SampleAfterValue": "1000003",
306        "UMask": "0x6"
307    },
308    {
309        "BriefDescription": "Counts demand data reads that were supplied by the L3 cache.",
310        "Counter": "0,1,2,3,4,5",
311        "EventCode": "0xB7",
312        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT",
313        "MSRIndex": "0x1a6,0x1a7",
314        "MSRValue": "0x3F803C0001",
315        "SampleAfterValue": "100003",
316        "UMask": "0x1"
317    },
318    {
319        "BriefDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.",
320        "Counter": "0,1,2,3,4,5",
321        "EventCode": "0xB7",
322        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HITM",
323        "MSRIndex": "0x1a6,0x1a7",
324        "MSRValue": "0x10003C0001",
325        "SampleAfterValue": "100003",
326        "UMask": "0x1"
327    },
328    {
329        "BriefDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, but no data was forwarded.",
330        "Counter": "0,1,2,3,4,5",
331        "EventCode": "0xB7",
332        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_NO_FWD",
333        "MSRIndex": "0x1a6,0x1a7",
334        "MSRValue": "0x4003C0001",
335        "SampleAfterValue": "100003",
336        "UMask": "0x1"
337    },
338    {
339        "BriefDescription": "Counts demand data reads that were supplied by the L3 cache where a snoop was sent, the snoop hit, and non-modified data was forwarded.",
340        "Counter": "0,1,2,3,4,5",
341        "EventCode": "0xB7",
342        "EventName": "OCR.DEMAND_DATA_RD.L3_HIT.SNOOP_HIT_WITH_FWD",
343        "MSRIndex": "0x1a6,0x1a7",
344        "MSRValue": "0x8003C0001",
345        "SampleAfterValue": "100003",
346        "UMask": "0x1"
347    },
348    {
349        "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache.",
350        "Counter": "0,1,2,3,4,5",
351        "EventCode": "0xB7",
352        "EventName": "OCR.DEMAND_RFO.L3_HIT",
353        "MSRIndex": "0x1a6,0x1a7",
354        "MSRValue": "0x3F803C0002",
355        "SampleAfterValue": "100003",
356        "UMask": "0x1"
357    },
358    {
359        "BriefDescription": "Counts demand reads for ownership (RFO) and software prefetches for exclusive ownership (PREFETCHW) that were supplied by the L3 cache where a snoop was sent, the snoop hit, and modified data was forwarded.",
360        "Counter": "0,1,2,3,4,5",
361        "EventCode": "0xB7",
362        "EventName": "OCR.DEMAND_RFO.L3_HIT.SNOOP_HITM",
363        "MSRIndex": "0x1a6,0x1a7",
364        "MSRValue": "0x10003C0002",
365        "SampleAfterValue": "100003",
366        "UMask": "0x1"
367    },
368    {
369        "BriefDescription": "Counts the number of issue slots every cycle that were not delivered by the frontend due to instruction cache misses.",
370        "Counter": "0,1,2,3,4,5",
371        "EventCode": "0x71",
372        "EventName": "TOPDOWN_FE_BOUND.ICACHE",
373        "SampleAfterValue": "1000003",
374        "UMask": "0x20"
375    }
376]
377