xref: /linux/tools/perf/pmu-events/arch/x86/amdzen6/l2-cache.json (revision c7decec2f2d2ab0366567f9e30c0e1418cece43f)
1[
2  {
3    "EventName": "l2_request_g1.group2",
4    "EventCode": "0x60",
5    "BriefDescription": "L2 cache requests of non-cacheable type (non-cached data and instructions reads, self-modifying code checks).",
6    "UMask": "0x01"
7  },
8  {
9    "EventName": "l2_request_g1.l2_hwpf",
10    "EventCode": "0x60",
11    "BriefDescription": "L2 cache requests from hardware prefetchers to prefetch directly into L2 (hit or miss).",
12    "UMask": "0x02"
13  },
14  {
15    "EventName": "l2_request_g1.prefetch_l2_cmd",
16    "EventCode": "0x60",
17    "BriefDescription": "L2 cache requests to prefetch directly into L2.",
18    "UMask": "0x04"
19  },
20  {
21    "EventName": "l2_request_g1.cacheable_ic_read",
22    "EventCode": "0x60",
23    "BriefDescription": "L2 cache requests for instruction cache reads.",
24    "UMask": "0x10"
25  },
26  {
27    "EventName": "l2_request_g1.ls_rd_blk_c_s",
28    "EventCode": "0x60",
29    "BriefDescription": "L2 cache requests for data cache shared reads.",
30    "UMask": "0x20"
31  },
32  {
33    "EventName": "l2_request_g1.rd_blk_x",
34    "EventCode": "0x60",
35    "BriefDescription": "L2 cache requests for data cache stores.",
36    "UMask": "0x40"
37  },
38  {
39    "EventName": "l2_request_g1.rd_blk_l",
40    "EventCode": "0x60",
41    "BriefDescription": "L2 cache requests for data cache reads (includes hardware and software prefetches).",
42    "UMask": "0x80"
43  },
44  {
45    "EventName": "l2_request_g1.dc_all",
46    "EventCode": "0x60",
47    "BriefDescription": "L2 cache requests of common types from data cache (includes prefetches).",
48    "UMask": "0xe0"
49  },
50  {
51    "EventName": "l2_request_g1.no_pf_all",
52    "EventCode": "0x60",
53    "BriefDescription": "L2 cache requests of common types not including prefetches.",
54    "UMask": "0xf1"
55  },
56  {
57    "EventName": "l2_request_g1.all",
58    "EventCode": "0x60",
59    "BriefDescription": "L2 cache requests of all types.",
60    "UMask": "0xf7"
61  },
62  {
63    "EventName": "l2_request_g2.ls_rd_sized_nc",
64    "EventCode": "0x61",
65    "BriefDescription": "L2 cache requests for non-coherent, non-cacheable LS sized reads.",
66    "UMask": "0x20"
67  },
68  {
69    "EventName": "l2_request_g2.ls_rd_sized",
70    "EventCode": "0x61",
71    "BriefDescription": "L2 cache requests for coherent, non-cacheable LS sized reads.",
72    "UMask": "0x40"
73  },
74  {
75    "EventName": "l2_request_g2.all",
76    "EventCode": "0x61",
77    "BriefDescription": "L2 cache requests of all rare types.",
78    "UMask": "0x40"
79  },
80  {
81    "EventName": "l2_wcb_req.wcb_close",
82    "EventCode": "0x63",
83    "BriefDescription": "Write Combining Buffer (WCB) closures.",
84    "UMask": "0x20"
85  },
86  {
87    "EventName": "l2_cache_req_stat.ic_fill_miss",
88    "EventCode": "0x64",
89    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the instruction cache that result in L2 misses.",
90    "UMask": "0x01"
91  },
92  {
93    "EventName": "l2_cache_req_stat.ic_fill_hit_s",
94    "EventCode": "0x64",
95    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the instruction cache that result in L2 hits on non-modifiable lines.",
96    "UMask": "0x02"
97  },
98  {
99    "EventName": "l2_cache_req_stat.ic_fill_hit_x",
100    "EventCode": "0x64",
101    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the instruction cache that result in L2 hits on modifiable lines.",
102    "UMask": "0x04"
103  },
104  {
105    "EventName": "l2_cache_req_stat.ic_hit_in_l2",
106    "EventCode": "0x64",
107    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the instruction cache that result in L2 hits.",
108    "UMask": "0x06"
109  },
110  {
111    "EventName": "l2_cache_req_stat.ic_access_in_l2",
112    "EventCode": "0x64",
113    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the instruction cache that result in L2 accesses.",
114    "UMask": "0x07"
115  },
116  {
117    "EventName": "l2_cache_req_stat.ls_rd_blk_c",
118    "EventCode": "0x64",
119    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the data cache that result in L2 misses.",
120    "UMask": "0x08"
121  },
122  {
123    "EventName": "l2_cache_req_stat.ic_dc_miss_in_l2",
124    "EventCode": "0x64",
125    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the data cache and the instruction cache that result in L2 misses.",
126    "UMask": "0x09"
127  },
128  {
129    "EventName": "l2_cache_req_stat.ls_rd_blk_x",
130    "EventCode": "0x64",
131    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) that result in data cache stores or L2 state change hits.",
132    "UMask": "0x10"
133  },
134  {
135    "EventName": "l2_cache_req_stat.ls_rd_blk_l_hit_s",
136    "EventCode": "0x64",
137    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the data cache that result in L2 hits on non-modifiable lines.",
138    "UMask": "0x20"
139  },
140  {
141    "EventName": "l2_cache_req_stat.ls_rd_blk_l_hit_x",
142    "EventCode": "0x64",
143    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the data cache that result in L2 hits on modifiable lines.",
144    "UMask": "0x40"
145  },
146  {
147    "EventName": "l2_cache_req_stat.ls_rd_blk_cs",
148    "EventCode": "0x64",
149    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the data cache that result in L2 read hits on shared lines.",
150    "UMask": "0x80"
151  },
152  {
153    "EventName": "l2_cache_req_stat.dc_hit_in_l2",
154    "EventCode": "0x64",
155    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the data cache that result in L2 hits.",
156    "UMask": "0xf0"
157  },
158  {
159    "EventName": "l2_cache_req_stat.ic_dc_hit_in_l2",
160    "EventCode": "0x64",
161    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the data cache and the instruction cache that result in L2 hits.",
162    "UMask": "0xf6"
163  },
164  {
165    "EventName": "l2_cache_req_stat.dc_access_in_l2",
166    "EventCode": "0x64",
167    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the data cache that result in L2 accesses.",
168    "UMask": "0xf8"
169  },
170  {
171    "EventName": "l2_cache_req_stat.all",
172    "EventCode": "0x64",
173    "BriefDescription": "Core to L2 cache requests (not including L2 prefetch) from the data cache and the instruction cache that result in L2 accesses.",
174    "UMask": "0xff"
175  },
176  {
177    "EventName": "l2_pf_hit_l2.l2_hwpf",
178    "EventCode": "0x70",
179    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache and are generated from L2 hardware prefetchers.",
180    "UMask": "0x1f"
181  },
182  {
183    "EventName": "l2_pf_hit_l2.l1_dc_hwpf",
184    "EventCode": "0x70",
185    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache and are generated from L1 data hardware prefetchers.",
186    "UMask": "0xe0"
187  },
188  {
189    "EventName": "l2_pf_hit_l2.l1_dc_l2_hwpf",
190    "EventCode": "0x70",
191    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which hit in the L2 cache and are generated from L1 data and L2 hardware prefetchers.",
192    "UMask": "0xff"
193  },
194  {
195    "EventName": "l2_pf_miss_l2_hit_l3.l2_hwpf",
196    "EventCode": "0x71",
197    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache but hit in the L3 cache and are generated from L2 hardware prefetchers.",
198    "UMask": "0x1f"
199  },
200  {
201    "EventName": "l2_pf_miss_l2_hit_l3.l1_dc_hwpf",
202    "EventCode": "0x71",
203    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache but hit in the L3 cache and are generated from L1 data hardware prefetchers.",
204    "UMask": "0xe0"
205  },
206  {
207    "EventName": "l2_pf_miss_l2_hit_l3.l1_dc_l2_hwpf",
208    "EventCode": "0x71",
209    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 cache but hit in the L3 cache and are generated from L1 data and L2 hardware prefetchers.",
210    "UMask": "0xff"
211  },
212  {
213    "EventName": "l2_pf_miss_l2_l3.l2_hwpf",
214    "EventCode": "0x72",
215    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 as well as the L3 caches and are generated from L2 hardware prefetchers.",
216    "UMask": "0x1f"
217  },
218  {
219    "EventName": "l2_pf_miss_l2_l3.l1_dc_hwpf",
220    "EventCode": "0x72",
221    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 as well as the L3 caches and are generated from L1 data hardware prefetchers.",
222    "UMask": "0xe0"
223  },
224  {
225    "EventName": "l2_pf_miss_l2_l3.l1_dc_l2_hwpf",
226    "EventCode": "0x72",
227    "BriefDescription": "L2 prefetches accepted by the L2 pipeline which miss the L2 as well as the L3 caches and are generated from L1 data and L2 hardware prefetchers.",
228    "UMask": "0xff"
229  },
230  {
231    "EventName": "l2_fill_rsp_src.local_ccx",
232    "EventCode": "0x165",
233    "BriefDescription": "L2 cache fills where data is returned from L3 cache or different L2 cache in the same CCX.",
234    "UMask": "0x02"
235  },
236  {
237    "EventName": "l2_fill_rsp_src.near_cache",
238    "EventCode": "0x165",
239    "BriefDescription": "L2 cache fills where data is returned from cache of another CCX in the same NUMA node.",
240    "UMask": "0x04"
241  },
242  {
243    "EventName": "l2_fill_rsp_src.dram_io_near",
244    "EventCode": "0x165",
245    "BriefDescription": "L2 cache fills where data is returned from either DRAM or MMIO in the same NUMA node.",
246    "UMask": "0x08"
247  },
248  {
249    "EventName": "l2_fill_rsp_src.far_cache",
250    "EventCode": "0x165",
251    "BriefDescription": "L2 cache fills where data is returned from cache of another CCX in a different NUMA node.",
252    "UMask": "0x10"
253  },
254  {
255    "EventName": "l2_fill_rsp_src.dram_io_far",
256    "EventCode": "0x165",
257    "BriefDescription": "L2 cache fills where data is returned from either DRAM or MMIO in a different NUMA node.",
258    "UMask": "0x40"
259  },
260  {
261    "EventName": "l2_fill_rsp_src.dram_io_all",
262    "EventCode": "0x165",
263    "BriefDescription": "L2 cache fills where data is returned from either DRAM or MMIO in the same or a different NUMA node.",
264    "UMask": "0x48"
265  },
266  {
267    "EventName": "l2_fill_rsp_src.far_all",
268    "EventCode": "0x165",
269    "BriefDescription": "L2 cache fills where data is returned from either cache of another CCX, DRAM or MMIO in a different NUMA node.",
270    "UMask": "0x50"
271  },
272  {
273    "EventName": "l2_fill_rsp_src.alt_mem",
274    "EventCode": "0x165",
275    "BriefDescription": "L2 cache fills where data is returned from extension memory (CXL).",
276    "UMask": "0x80"
277  },
278  {
279    "EventName": "l2_fill_rsp_src.all",
280    "EventCode": "0x165",
281    "BriefDescription": "L2 cache fills where data is returned from all types of sources.",
282    "UMask": "0xde"
283  },
284  {
285    "EventName": "l2_sys_bw.local_dram_fill",
286    "EventCode": "0x175",
287    "BriefDescription": "System bandwidth utilization for fill events that target the same NUMA node and return from DRAM in the same NUMA node.",
288    "UMask": "0x01"
289  },
290  {
291    "EventName": "l2_sys_bw.remote_dram_fill",
292    "EventCode": "0x175",
293    "BriefDescription": "System bandwidth utilization for fill events that target a different NUMA node and return from DRAM in a different NUMA node.",
294    "UMask": "0x02"
295  },
296  {
297    "EventName": "l2_sys_bw.nt_write",
298    "EventCode": "0x175",
299    "BriefDescription": "System bandwidth utilization for non-temporal write events that target all NUMA nodes.",
300    "UMask": "0x04"
301  },
302  {
303    "EventName": "l2_sys_bw.local_scm_fill",
304    "EventCode": "0x175",
305    "BriefDescription": "System bandwidth utilization for fill events that target the same NUMA node and return from extension memory (CXL) in the same NUMA node.",
306    "UMask": "0x10"
307  },
308  {
309    "EventName": "l2_sys_bw.remote_scm_fill",
310    "EventCode": "0x175",
311    "BriefDescription": "System bandwidth utilization for fill events that target a different NUMA node and return from extension memory (CXL) in a different NUMA node.",
312    "UMask": "0x20"
313  },
314  {
315    "EventName": "l2_sys_bw.victim",
316    "EventCode": "0x175",
317    "BriefDescription": "System bandwidth utilization for cache victim events that target all NUMA nodes.",
318    "UMask": "0x40"
319  },
320  {
321    "EventName": "l2_sys_bw.all",
322    "EventCode": "0x175",
323    "BriefDescription": "System bandwidth utilization for all types of events (total utilization).",
324    "UMask": "0xff"
325  }
326]
327