xref: /linux/tools/perf/pmu-events/arch/x86/amdzen3/memory.json (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
1*da666586SSmita Koralahalli[
2*da666586SSmita Koralahalli  {
3*da666586SSmita Koralahalli    "EventName": "ls_bad_status2.stli_other",
4*da666586SSmita Koralahalli    "EventCode": "0x24",
5*da666586SSmita Koralahalli    "BriefDescription": "Non-forwardable conflict; used to reduce STLI's via software. All reasons. Store To Load Interlock (STLI) are loads that were unable to complete because of a possible match with an older store, and the older store could not do STLF for some reason.",
6*da666586SSmita Koralahalli    "PublicDescription" : "Store-to-load conflicts: A load was unable to complete due to a non-forwardable conflict with an older store. Most commonly, a load's address range partially but not completely overlaps with an uncompleted older store. Software can avoid this problem by using same-size and same-alignment loads and stores when accessing the same data. Vector/SIMD code is particularly susceptible to this problem; software should construct wide vector stores by manipulating vector elements in registers using shuffle/blend/swap instructions prior to storing to memory, instead of using narrow element-by-element stores.",
7*da666586SSmita Koralahalli    "UMask": "0x02"
8*da666586SSmita Koralahalli  },
9*da666586SSmita Koralahalli  {
10*da666586SSmita Koralahalli    "EventName": "ls_locks.spec_lock_hi_spec",
11*da666586SSmita Koralahalli    "EventCode": "0x25",
12*da666586SSmita Koralahalli    "BriefDescription": "Retired lock instructions. High speculative cacheable lock speculation succeeded.",
13*da666586SSmita Koralahalli    "UMask": "0x08"
14*da666586SSmita Koralahalli  },
15*da666586SSmita Koralahalli  {
16*da666586SSmita Koralahalli    "EventName": "ls_locks.spec_lock_lo_spec",
17*da666586SSmita Koralahalli    "EventCode": "0x25",
18*da666586SSmita Koralahalli    "BriefDescription": "Retired lock instructions. Low speculative cacheable lock speculation succeeded.",
19*da666586SSmita Koralahalli    "UMask": "0x04"
20*da666586SSmita Koralahalli  },
21*da666586SSmita Koralahalli  {
22*da666586SSmita Koralahalli    "EventName": "ls_locks.non_spec_lock",
23*da666586SSmita Koralahalli    "EventCode": "0x25",
24*da666586SSmita Koralahalli    "BriefDescription": "Retired lock instructions. Non-speculative lock succeeded.",
25*da666586SSmita Koralahalli    "UMask": "0x02"
26*da666586SSmita Koralahalli  },
27*da666586SSmita Koralahalli  {
28*da666586SSmita Koralahalli    "EventName": "ls_locks.bus_lock",
29*da666586SSmita Koralahalli    "EventCode": "0x25",
30*da666586SSmita Koralahalli    "BriefDescription": "Retired lock instructions. Comparable to legacy bus lock.",
31*da666586SSmita Koralahalli    "UMask": "0x01"
32*da666586SSmita Koralahalli  },
33*da666586SSmita Koralahalli  {
34*da666586SSmita Koralahalli    "EventName": "ls_ret_cl_flush",
35*da666586SSmita Koralahalli    "EventCode": "0x26",
36*da666586SSmita Koralahalli    "BriefDescription": "The number of retired CLFLUSH instructions. This is a non-speculative event."
37*da666586SSmita Koralahalli  },
38*da666586SSmita Koralahalli  {
39*da666586SSmita Koralahalli    "EventName": "ls_ret_cpuid",
40*da666586SSmita Koralahalli    "EventCode": "0x27",
41*da666586SSmita Koralahalli    "BriefDescription": "The number of CPUID instructions retired."
42*da666586SSmita Koralahalli  },
43*da666586SSmita Koralahalli  {
44*da666586SSmita Koralahalli    "EventName": "ls_dispatch.ld_st_dispatch",
45*da666586SSmita Koralahalli    "EventCode": "0x29",
46*da666586SSmita Koralahalli    "BriefDescription": "Load-op-Store Dispatch. Dispatch of a single op that performs a load from and store to the same memory address. Counts the number of operations dispatched to the LS unit. Unit Masks ADDed.",
47*da666586SSmita Koralahalli    "UMask": "0x04"
48*da666586SSmita Koralahalli  },
49*da666586SSmita Koralahalli  {
50*da666586SSmita Koralahalli    "EventName": "ls_dispatch.store_dispatch",
51*da666586SSmita Koralahalli    "EventCode": "0x29",
52*da666586SSmita Koralahalli    "BriefDescription": "Dispatch of a single op that performs a memory store. Counts the number of operations dispatched to the LS unit. Unit Masks ADDed.",
53*da666586SSmita Koralahalli    "UMask": "0x02"
54*da666586SSmita Koralahalli  },
55*da666586SSmita Koralahalli  {
56*da666586SSmita Koralahalli    "EventName": "ls_dispatch.ld_dispatch",
57*da666586SSmita Koralahalli    "EventCode": "0x29",
58*da666586SSmita Koralahalli    "BriefDescription": "Dispatch of a single op that performs a memory load. Counts the number of operations dispatched to the LS unit. Unit Masks ADDed.",
59*da666586SSmita Koralahalli    "UMask": "0x01"
60*da666586SSmita Koralahalli  },
61*da666586SSmita Koralahalli  {
62*da666586SSmita Koralahalli    "EventName": "ls_smi_rx",
63*da666586SSmita Koralahalli    "EventCode": "0x2b",
64*da666586SSmita Koralahalli    "BriefDescription": "Counts the number of SMIs received."
65*da666586SSmita Koralahalli  },
66*da666586SSmita Koralahalli  {
67*da666586SSmita Koralahalli    "EventName": "ls_int_taken",
68*da666586SSmita Koralahalli    "EventCode": "0x2c",
69*da666586SSmita Koralahalli    "BriefDescription": "Counts the number of interrupts taken."
70*da666586SSmita Koralahalli  },
71*da666586SSmita Koralahalli  {
72*da666586SSmita Koralahalli    "EventName": "ls_rdtsc",
73*da666586SSmita Koralahalli    "EventCode": "0x2d",
74*da666586SSmita Koralahalli    "BriefDescription": "Number of reads of the TSC (RDTSC instructions). The count is speculative."
75*da666586SSmita Koralahalli  },
76*da666586SSmita Koralahalli  {
77*da666586SSmita Koralahalli    "EventName": "ls_stlf",
78*da666586SSmita Koralahalli    "EventCode": "0x35",
79*da666586SSmita Koralahalli    "BriefDescription": "Number of STLF hits."
80*da666586SSmita Koralahalli  },
81*da666586SSmita Koralahalli  {
82*da666586SSmita Koralahalli    "EventName": "ls_st_commit_cancel2.st_commit_cancel_wcb_full",
83*da666586SSmita Koralahalli    "EventCode": "0x37",
84*da666586SSmita Koralahalli    "BriefDescription": "A non-cacheable store and the non-cacheable commit buffer is full.",
85*da666586SSmita Koralahalli    "UMask": "0x01"
86*da666586SSmita Koralahalli  },
87*da666586SSmita Koralahalli  {
88*da666586SSmita Koralahalli    "EventName": "ls_dc_accesses",
89*da666586SSmita Koralahalli    "EventCode": "0x40",
90*da666586SSmita Koralahalli    "BriefDescription": "Number of accesses to the dcache for load/store references.",
91*da666586SSmita Koralahalli    "PublicDescription": "The number of accesses to the data cache for load and store references. This may include certain microcode scratchpad accesses, although these are generally rare. Each increment represents an eight-byte access, although the instruction may only be accessing a portion of that. This event is a speculative event."
92*da666586SSmita Koralahalli  },
93*da666586SSmita Koralahalli  {
94*da666586SSmita Koralahalli    "EventName": "ls_mab_alloc.all_allocations",
95*da666586SSmita Koralahalli    "EventCode": "0x41",
96*da666586SSmita Koralahalli    "BriefDescription": "All Allocations. Counts when a LS pipe allocates a MAB entry.",
97*da666586SSmita Koralahalli    "UMask": "0x7f"
98*da666586SSmita Koralahalli  },
99*da666586SSmita Koralahalli  {
100*da666586SSmita Koralahalli    "EventName": "ls_mab_alloc.hardware_prefetcher_allocations",
101*da666586SSmita Koralahalli    "EventCode": "0x41",
102*da666586SSmita Koralahalli    "BriefDescription": "Hardware Prefetcher Allocations. Counts when a LS pipe allocates a MAB entry.",
103*da666586SSmita Koralahalli    "UMask": "0x40"
104*da666586SSmita Koralahalli  },
105*da666586SSmita Koralahalli  {
106*da666586SSmita Koralahalli    "EventName": "ls_mab_alloc.load_store_allocations",
107*da666586SSmita Koralahalli    "EventCode": "0x41",
108*da666586SSmita Koralahalli    "BriefDescription": "Load Store Allocations. Counts when a LS pipe allocates a MAB entry.",
109*da666586SSmita Koralahalli    "UMask": "0x3f"
110*da666586SSmita Koralahalli  },
111*da666586SSmita Koralahalli  {
112*da666586SSmita Koralahalli    "EventName": "ls_mab_alloc.dc_prefetcher",
113*da666586SSmita Koralahalli    "EventCode": "0x41",
114*da666586SSmita Koralahalli    "BriefDescription": "LS MAB Allocates by Type. DC prefetcher.",
115*da666586SSmita Koralahalli    "UMask": "0x08"
116*da666586SSmita Koralahalli  },
117*da666586SSmita Koralahalli  {
118*da666586SSmita Koralahalli    "EventName": "ls_mab_alloc.stores",
119*da666586SSmita Koralahalli    "EventCode": "0x41",
120*da666586SSmita Koralahalli    "BriefDescription": "LS MAB Allocates by Type. Stores.",
121*da666586SSmita Koralahalli    "UMask": "0x02"
122*da666586SSmita Koralahalli  },
123*da666586SSmita Koralahalli  {
124*da666586SSmita Koralahalli    "EventName": "ls_mab_alloc.loads",
125*da666586SSmita Koralahalli    "EventCode": "0x41",
126*da666586SSmita Koralahalli    "BriefDescription": "LS MAB Allocates by Type. Loads.",
127*da666586SSmita Koralahalli    "UMask": "0x01"
128*da666586SSmita Koralahalli  },
129*da666586SSmita Koralahalli  {
130*da666586SSmita Koralahalli    "EventName": "ls_dmnd_fills_from_sys.mem_io_remote",
131*da666586SSmita Koralahalli    "EventCode": "0x43",
132*da666586SSmita Koralahalli    "BriefDescription": "Demand Data Cache Fills by Data Source. From DRAM or IO connected in different Node.",
133*da666586SSmita Koralahalli    "UMask": "0x40"
134*da666586SSmita Koralahalli  },
135*da666586SSmita Koralahalli  {
136*da666586SSmita Koralahalli    "EventName": "ls_dmnd_fills_from_sys.ext_cache_remote",
137*da666586SSmita Koralahalli    "EventCode": "0x43",
138*da666586SSmita Koralahalli    "BriefDescription": "Demand Data Cache Fills by Data Source. From CCX Cache in different Node.",
139*da666586SSmita Koralahalli    "UMask": "0x10"
140*da666586SSmita Koralahalli  },
141*da666586SSmita Koralahalli  {
142*da666586SSmita Koralahalli    "EventName": "ls_dmnd_fills_from_sys.mem_io_local",
143*da666586SSmita Koralahalli    "EventCode": "0x43",
144*da666586SSmita Koralahalli    "BriefDescription": "Demand Data Cache Fills by Data Source. From DRAM or IO connected in same node.",
145*da666586SSmita Koralahalli    "UMask": "0x08"
146*da666586SSmita Koralahalli  },
147*da666586SSmita Koralahalli  {
148*da666586SSmita Koralahalli    "EventName": "ls_dmnd_fills_from_sys.ext_cache_local",
149*da666586SSmita Koralahalli    "EventCode": "0x43",
150*da666586SSmita Koralahalli    "BriefDescription": "Demand Data Cache Fills by Data Source. From cache of different CCX in same node.",
151*da666586SSmita Koralahalli    "UMask": "0x04"
152*da666586SSmita Koralahalli  },
153*da666586SSmita Koralahalli  {
154*da666586SSmita Koralahalli    "EventName": "ls_dmnd_fills_from_sys.int_cache",
155*da666586SSmita Koralahalli    "EventCode": "0x43",
156*da666586SSmita Koralahalli    "BriefDescription": "Demand Data Cache Fills by Data Source. From L3 or different L2 in same CCX.",
157*da666586SSmita Koralahalli    "UMask": "0x02"
158*da666586SSmita Koralahalli  },
159*da666586SSmita Koralahalli  {
160*da666586SSmita Koralahalli    "EventName": "ls_dmnd_fills_from_sys.lcl_l2",
161*da666586SSmita Koralahalli    "EventCode": "0x43",
162*da666586SSmita Koralahalli    "BriefDescription": "Demand Data Cache Fills by Data Source. From Local L2 to the core.",
163*da666586SSmita Koralahalli    "UMask": "0x01"
164*da666586SSmita Koralahalli  },
165*da666586SSmita Koralahalli  {
166*da666586SSmita Koralahalli    "EventName": "ls_any_fills_from_sys.mem_io_remote",
167*da666586SSmita Koralahalli    "EventCode": "0x44",
168*da666586SSmita Koralahalli    "BriefDescription": "Any Data Cache Fills by Data Source. From DRAM or IO connected in different Node.",
169*da666586SSmita Koralahalli    "UMask": "0x40"
170*da666586SSmita Koralahalli  },
171*da666586SSmita Koralahalli  {
172*da666586SSmita Koralahalli    "EventName": "ls_any_fills_from_sys.ext_cache_remote",
173*da666586SSmita Koralahalli    "EventCode": "0x44",
174*da666586SSmita Koralahalli    "BriefDescription": "Any Data Cache Fills by Data Source. From CCX Cache in different Node.",
175*da666586SSmita Koralahalli    "UMask": "0x10"
176*da666586SSmita Koralahalli  },
177*da666586SSmita Koralahalli  {
178*da666586SSmita Koralahalli    "EventName": "ls_any_fills_from_sys.mem_io_local",
179*da666586SSmita Koralahalli    "EventCode": "0x44",
180*da666586SSmita Koralahalli    "BriefDescription": "Any Data Cache Fills by Data Source. From DRAM or IO connected in same node.",
181*da666586SSmita Koralahalli    "UMask": "0x08"
182*da666586SSmita Koralahalli  },
183*da666586SSmita Koralahalli  {
184*da666586SSmita Koralahalli    "EventName": "ls_any_fills_from_sys.ext_cache_local",
185*da666586SSmita Koralahalli    "EventCode": "0x44",
186*da666586SSmita Koralahalli    "BriefDescription": "Any Data Cache Fills by Data Source. From cache of different CCX in same node.",
187*da666586SSmita Koralahalli    "UMask": "0x04"
188*da666586SSmita Koralahalli  },
189*da666586SSmita Koralahalli  {
190*da666586SSmita Koralahalli    "EventName": "ls_any_fills_from_sys.int_cache",
191*da666586SSmita Koralahalli    "EventCode": "0x44",
192*da666586SSmita Koralahalli    "BriefDescription": "Any Data Cache Fills by Data Source. From L3 or different L2 in same CCX.",
193*da666586SSmita Koralahalli    "UMask": "0x02"
194*da666586SSmita Koralahalli  },
195*da666586SSmita Koralahalli  {
196*da666586SSmita Koralahalli    "EventName": "ls_any_fills_from_sys.lcl_l2",
197*da666586SSmita Koralahalli    "EventCode": "0x44",
198*da666586SSmita Koralahalli    "BriefDescription": "Any Data Cache Fills by Data Source. From Local L2 to the core.",
199*da666586SSmita Koralahalli    "UMask": "0x01"
200*da666586SSmita Koralahalli  },
201*da666586SSmita Koralahalli  {
202*da666586SSmita Koralahalli    "EventName": "ls_l1_d_tlb_miss.all",
203*da666586SSmita Koralahalli    "EventCode": "0x45",
204*da666586SSmita Koralahalli    "BriefDescription": "All L1 DTLB Misses or Reloads. Use l1_dtlb_misses instead.",
205*da666586SSmita Koralahalli    "UMask": "0xff"
206*da666586SSmita Koralahalli  },
207*da666586SSmita Koralahalli  {
208*da666586SSmita Koralahalli    "EventName": "ls_l1_d_tlb_miss.tlb_reload_1g_l2_miss",
209*da666586SSmita Koralahalli    "EventCode": "0x45",
210*da666586SSmita Koralahalli    "BriefDescription": "L1 DTLB Miss. DTLB reload to a 1G page that also missed in the L2 TLB.",
211*da666586SSmita Koralahalli    "UMask": "0x80"
212*da666586SSmita Koralahalli  },
213*da666586SSmita Koralahalli  {
214*da666586SSmita Koralahalli    "EventName": "ls_l1_d_tlb_miss.tlb_reload_2m_l2_miss",
215*da666586SSmita Koralahalli    "EventCode": "0x45",
216*da666586SSmita Koralahalli    "BriefDescription": "L1 DTLB Miss. DTLB reload to a 2M page that also missed in the L2 TLB.",
217*da666586SSmita Koralahalli    "UMask": "0x40"
218*da666586SSmita Koralahalli  },
219*da666586SSmita Koralahalli  {
220*da666586SSmita Koralahalli    "EventName": "ls_l1_d_tlb_miss.tlb_reload_coalesced_page_miss",
221*da666586SSmita Koralahalli    "EventCode": "0x45",
222*da666586SSmita Koralahalli    "BriefDescription": "L1 DTLB Miss. DTLB reload coalesced page that also missed in the L2 TLB.",
223*da666586SSmita Koralahalli    "UMask": "0x20"
224*da666586SSmita Koralahalli  },
225*da666586SSmita Koralahalli  {
226*da666586SSmita Koralahalli    "EventName": "ls_l1_d_tlb_miss.tlb_reload_4k_l2_miss",
227*da666586SSmita Koralahalli    "EventCode": "0x45",
228*da666586SSmita Koralahalli    "BriefDescription": "L1 DTLB Miss. DTLB reload to a 4K page that missed the L2 TLB.",
229*da666586SSmita Koralahalli    "UMask": "0x10"
230*da666586SSmita Koralahalli  },
231*da666586SSmita Koralahalli  {
232*da666586SSmita Koralahalli    "EventName": "ls_l1_d_tlb_miss.tlb_reload_1g_l2_hit",
233*da666586SSmita Koralahalli    "EventCode": "0x45",
234*da666586SSmita Koralahalli    "BriefDescription": "L1 DTLB Miss. DTLB reload to a 1G page that hit in the L2 TLB.",
235*da666586SSmita Koralahalli    "UMask": "0x08"
236*da666586SSmita Koralahalli  },
237*da666586SSmita Koralahalli  {
238*da666586SSmita Koralahalli    "EventName": "ls_l1_d_tlb_miss.tlb_reload_2m_l2_hit",
239*da666586SSmita Koralahalli    "EventCode": "0x45",
240*da666586SSmita Koralahalli    "BriefDescription": "L1 DTLB Miss. DTLB reload to a 2M page that hit in the L2 TLB.",
241*da666586SSmita Koralahalli    "UMask": "0x04"
242*da666586SSmita Koralahalli  },
243*da666586SSmita Koralahalli  {
244*da666586SSmita Koralahalli    "EventName": "ls_l1_d_tlb_miss.tlb_reload_coalesced_page_hit",
245*da666586SSmita Koralahalli    "EventCode": "0x45",
246*da666586SSmita Koralahalli    "BriefDescription": "L1 DTLB Miss. DTLB reload to a coalesced page that hit in the L2 TLB.",
247*da666586SSmita Koralahalli    "UMask": "0x02"
248*da666586SSmita Koralahalli  },
249*da666586SSmita Koralahalli  {
250*da666586SSmita Koralahalli    "EventName": "ls_l1_d_tlb_miss.tlb_reload_4k_l2_hit",
251*da666586SSmita Koralahalli    "EventCode": "0x45",
252*da666586SSmita Koralahalli    "BriefDescription": "L1 DTLB Miss. DTLB reload to a 4K page that hit in the L2 TLB.",
253*da666586SSmita Koralahalli    "UMask": "0x01"
254*da666586SSmita Koralahalli  },
255*da666586SSmita Koralahalli  {
256*da666586SSmita Koralahalli    "EventName": "ls_tablewalker.iside",
257*da666586SSmita Koralahalli    "EventCode": "0x46",
258*da666586SSmita Koralahalli    "BriefDescription": "Total Page Table Walks on I-side.",
259*da666586SSmita Koralahalli    "UMask": "0x0c"
260*da666586SSmita Koralahalli  },
261*da666586SSmita Koralahalli  {
262*da666586SSmita Koralahalli    "EventName": "ls_tablewalker.ic_type1",
263*da666586SSmita Koralahalli    "EventCode": "0x46",
264*da666586SSmita Koralahalli    "BriefDescription": "Total Page Table Walks IC Type 1.",
265*da666586SSmita Koralahalli    "UMask": "0x08"
266*da666586SSmita Koralahalli  },
267*da666586SSmita Koralahalli  {
268*da666586SSmita Koralahalli    "EventName": "ls_tablewalker.ic_type0",
269*da666586SSmita Koralahalli    "EventCode": "0x46",
270*da666586SSmita Koralahalli    "BriefDescription": "Total Page Table Walks IC Type 0.",
271*da666586SSmita Koralahalli    "UMask": "0x04"
272*da666586SSmita Koralahalli  },
273*da666586SSmita Koralahalli  {
274*da666586SSmita Koralahalli    "EventName": "ls_tablewalker.dside",
275*da666586SSmita Koralahalli    "EventCode": "0x46",
276*da666586SSmita Koralahalli    "BriefDescription": "Total Page Table Walks on D-side.",
277*da666586SSmita Koralahalli    "UMask": "0x03"
278*da666586SSmita Koralahalli  },
279*da666586SSmita Koralahalli  {
280*da666586SSmita Koralahalli    "EventName": "ls_tablewalker.dc_type1",
281*da666586SSmita Koralahalli    "EventCode": "0x46",
282*da666586SSmita Koralahalli    "BriefDescription": "Total Page Table Walks DC Type 1.",
283*da666586SSmita Koralahalli    "UMask": "0x02"
284*da666586SSmita Koralahalli  },
285*da666586SSmita Koralahalli  {
286*da666586SSmita Koralahalli    "EventName": "ls_tablewalker.dc_type0",
287*da666586SSmita Koralahalli    "EventCode": "0x46",
288*da666586SSmita Koralahalli    "BriefDescription": "Total Page Table Walks DC Type 0.",
289*da666586SSmita Koralahalli    "UMask": "0x01"
290*da666586SSmita Koralahalli  },
291*da666586SSmita Koralahalli  {
292*da666586SSmita Koralahalli    "EventName": "ls_misal_loads.ma4k",
293*da666586SSmita Koralahalli    "EventCode": "0x47",
294*da666586SSmita Koralahalli    "BriefDescription": "The number of 4KB misaligned (i.e., page crossing) loads.",
295*da666586SSmita Koralahalli    "UMask": "0x02"
296*da666586SSmita Koralahalli  },
297*da666586SSmita Koralahalli  {
298*da666586SSmita Koralahalli    "EventName": "ls_misal_loads.ma64",
299*da666586SSmita Koralahalli    "EventCode": "0x47",
300*da666586SSmita Koralahalli    "BriefDescription": "The number of 64B misaligned (i.e., cacheline crossing) loads.",
301*da666586SSmita Koralahalli    "UMask": "0x01"
302*da666586SSmita Koralahalli  },
303*da666586SSmita Koralahalli  {
304*da666586SSmita Koralahalli    "EventName": "ls_pref_instr_disp",
305*da666586SSmita Koralahalli    "EventCode": "0x4b",
306*da666586SSmita Koralahalli    "BriefDescription": "Software Prefetch Instructions Dispatched (Speculative).",
307*da666586SSmita Koralahalli    "UMask": "0xff"
308*da666586SSmita Koralahalli  },
309*da666586SSmita Koralahalli  {
310*da666586SSmita Koralahalli    "EventName": "ls_pref_instr_disp.prefetch_nta",
311*da666586SSmita Koralahalli    "EventCode": "0x4b",
312*da666586SSmita Koralahalli    "BriefDescription": "Software Prefetch Instructions Dispatched (Speculative). PrefetchNTA instruction. See docAPM3 PREFETCHlevel.",
313*da666586SSmita Koralahalli    "UMask": "0x04"
314*da666586SSmita Koralahalli  },
315*da666586SSmita Koralahalli  {
316*da666586SSmita Koralahalli    "EventName": "ls_pref_instr_disp.prefetch_w",
317*da666586SSmita Koralahalli    "EventCode": "0x4b",
318*da666586SSmita Koralahalli    "BriefDescription": "Software Prefetch Instructions Dispatched (Speculative). PrefetchW instruction. See docAPM3 PREFETCHW.",
319*da666586SSmita Koralahalli    "UMask": "0x02"
320*da666586SSmita Koralahalli  },
321*da666586SSmita Koralahalli  {
322*da666586SSmita Koralahalli    "EventName": "ls_pref_instr_disp.prefetch",
323*da666586SSmita Koralahalli    "EventCode": "0x4b",
324*da666586SSmita Koralahalli    "BriefDescription": "Software Prefetch Instructions Dispatched (Speculative). PrefetchT0, T1 and T2 instructions. See docAPM3 PREFETCHlevel.",
325*da666586SSmita Koralahalli    "UMask": "0x01"
326*da666586SSmita Koralahalli  },
327*da666586SSmita Koralahalli  {
328*da666586SSmita Koralahalli    "EventName": "ls_inef_sw_pref.mab_mch_cnt",
329*da666586SSmita Koralahalli    "EventCode": "0x52",
330*da666586SSmita Koralahalli    "BriefDescription": "The number of software prefetches that did not fetch data outside of the processor core. Software PREFETCH instruction saw a match on an already-allocated miss request buffer.",
331*da666586SSmita Koralahalli    "UMask": "0x02"
332*da666586SSmita Koralahalli  },
333*da666586SSmita Koralahalli  {
334*da666586SSmita Koralahalli    "EventName": "ls_inef_sw_pref.data_pipe_sw_pf_dc_hit",
335*da666586SSmita Koralahalli    "EventCode": "0x52",
336*da666586SSmita Koralahalli    "BriefDescription": "The number of software prefetches that did not fetch data outside of the processor core. Software PREFETCH instruction saw a DC hit.",
337*da666586SSmita Koralahalli    "UMask": "0x01"
338*da666586SSmita Koralahalli  },
339*da666586SSmita Koralahalli  {
340*da666586SSmita Koralahalli    "EventName": "ls_sw_pf_dc_fills.mem_io_remote",
341*da666586SSmita Koralahalli    "EventCode": "0x59",
342*da666586SSmita Koralahalli    "BriefDescription": "Software Prefetch Data Cache Fills by Data Source. From DRAM or IO connected in different Node.",
343*da666586SSmita Koralahalli    "UMask": "0x40"
344*da666586SSmita Koralahalli  },
345*da666586SSmita Koralahalli  {
346*da666586SSmita Koralahalli    "EventName": "ls_sw_pf_dc_fills.ext_cache_remote",
347*da666586SSmita Koralahalli    "EventCode": "0x59",
348*da666586SSmita Koralahalli    "BriefDescription": "Software Prefetch Data Cache Fills by Data Source. From CCX Cache in different Node.",
349*da666586SSmita Koralahalli    "UMask": "0x10"
350*da666586SSmita Koralahalli  },
351*da666586SSmita Koralahalli  {
352*da666586SSmita Koralahalli    "EventName": "ls_sw_pf_dc_fills.mem_io_local",
353*da666586SSmita Koralahalli    "EventCode": "0x59",
354*da666586SSmita Koralahalli    "BriefDescription": "Software Prefetch Data Cache Fills by Data Source. From DRAM or IO connected in same node.",
355*da666586SSmita Koralahalli    "UMask": "0x08"
356*da666586SSmita Koralahalli  },
357*da666586SSmita Koralahalli  {
358*da666586SSmita Koralahalli    "EventName": "ls_sw_pf_dc_fills.ext_cache_local",
359*da666586SSmita Koralahalli    "EventCode": "0x59",
360*da666586SSmita Koralahalli    "BriefDescription": "Software Prefetch Data Cache Fills by Data Source. From cache of different CCX in same node.",
361*da666586SSmita Koralahalli    "UMask": "0x04"
362*da666586SSmita Koralahalli  },
363*da666586SSmita Koralahalli  {
364*da666586SSmita Koralahalli    "EventName": "ls_sw_pf_dc_fills.int_cache",
365*da666586SSmita Koralahalli    "EventCode": "0x59",
366*da666586SSmita Koralahalli    "BriefDescription": "Software Prefetch Data Cache Fills by Data Source. From L3 or different L2 in same CCX.",
367*da666586SSmita Koralahalli    "UMask": "0x02"
368*da666586SSmita Koralahalli  },
369*da666586SSmita Koralahalli  {
370*da666586SSmita Koralahalli    "EventName": "ls_sw_pf_dc_fills.lcl_l2",
371*da666586SSmita Koralahalli    "EventCode": "0x59",
372*da666586SSmita Koralahalli    "BriefDescription": "Software Prefetch Data Cache Fills by Data Source. From Local L2 to the core.",
373*da666586SSmita Koralahalli    "UMask": "0x01"
374*da666586SSmita Koralahalli  },
375*da666586SSmita Koralahalli  {
376*da666586SSmita Koralahalli    "EventName": "ls_hw_pf_dc_fills.mem_io_remote",
377*da666586SSmita Koralahalli    "EventCode": "0x5a",
378*da666586SSmita Koralahalli    "BriefDescription": "Hardware Prefetch Data Cache Fills by Data Source. From DRAM or IO connected in different Node.",
379*da666586SSmita Koralahalli    "UMask": "0x40"
380*da666586SSmita Koralahalli  },
381*da666586SSmita Koralahalli  {
382*da666586SSmita Koralahalli    "EventName": "ls_hw_pf_dc_fills.ext_cache_remote",
383*da666586SSmita Koralahalli    "EventCode": "0x5a",
384*da666586SSmita Koralahalli    "BriefDescription": "Hardware Prefetch Data Cache Fills by Data Source. From CCX Cache in different Node.",
385*da666586SSmita Koralahalli    "UMask": "0x10"
386*da666586SSmita Koralahalli  },
387*da666586SSmita Koralahalli  {
388*da666586SSmita Koralahalli    "EventName": "ls_hw_pf_dc_fills.mem_io_local",
389*da666586SSmita Koralahalli    "EventCode": "0x5a",
390*da666586SSmita Koralahalli    "BriefDescription": "Hardware Prefetch Data Cache Fills by Data Source. From DRAM or IO connected in same node.",
391*da666586SSmita Koralahalli    "UMask": "0x08"
392*da666586SSmita Koralahalli  },
393*da666586SSmita Koralahalli  {
394*da666586SSmita Koralahalli    "EventName": "ls_hw_pf_dc_fills.ext_cache_local",
395*da666586SSmita Koralahalli    "EventCode": "0x5a",
396*da666586SSmita Koralahalli    "BriefDescription": "Hardware Prefetch Data Cache Fills by Data Source. From cache of different CCX in same node.",
397*da666586SSmita Koralahalli    "UMask": "0x04"
398*da666586SSmita Koralahalli  },
399*da666586SSmita Koralahalli  {
400*da666586SSmita Koralahalli    "EventName": "ls_hw_pf_dc_fills.int_cache",
401*da666586SSmita Koralahalli    "EventCode": "0x5a",
402*da666586SSmita Koralahalli    "BriefDescription": "Hardware Prefetch Data Cache Fills by Data Source. From L3 or different L2 in same CCX.",
403*da666586SSmita Koralahalli    "UMask": "0x02"
404*da666586SSmita Koralahalli  },
405*da666586SSmita Koralahalli  {
406*da666586SSmita Koralahalli    "EventName": "ls_hw_pf_dc_fills.lcl_l2",
407*da666586SSmita Koralahalli    "EventCode": "0x5a",
408*da666586SSmita Koralahalli    "BriefDescription": "Hardware Prefetch Data Cache Fills by Data Source. From Local L2 to the core.",
409*da666586SSmita Koralahalli    "UMask": "0x01"
410*da666586SSmita Koralahalli  },
411*da666586SSmita Koralahalli  {
412*da666586SSmita Koralahalli    "EventName": "ls_alloc_mab_count",
413*da666586SSmita Koralahalli    "EventCode": "0x5f",
414*da666586SSmita Koralahalli    "BriefDescription": "Count of Allocated Mabs",
415*da666586SSmita Koralahalli    "PublicDescription": "This event counts the in-flight L1 data cache misses (allocated Miss Address Buffers) divided by 4 and rounded down each cycle unless used with the MergeEvent functionality. If the MergeEvent is used, it counts the exact number of outstanding L1 data cache misses. See 2.1.17.3 [Large Increment per Cycle Events]."
416*da666586SSmita Koralahalli  },
417*da666586SSmita Koralahalli  {
418*da666586SSmita Koralahalli    "EventName": "ls_not_halted_cyc",
419*da666586SSmita Koralahalli    "EventCode": "0x76",
420*da666586SSmita Koralahalli    "BriefDescription": "Cycles not in Halt."
421*da666586SSmita Koralahalli  },
422*da666586SSmita Koralahalli  {
423*da666586SSmita Koralahalli    "EventName": "ls_tlb_flush.all_tlb_flushes",
424*da666586SSmita Koralahalli    "EventCode": "0x78",
425*da666586SSmita Koralahalli    "BriefDescription": "All TLB Flushes. Requires unit mask 0xFF to engage event for counting. Use all_tlbs_flushed instead",
426*da666586SSmita Koralahalli    "UMask": "0xff"
427*da666586SSmita Koralahalli  }
428*da666586SSmita Koralahalli]
429