xref: /openbmc/linux/tools/perf/pmu-events/arch/x86/haswellx/cache.json (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1ede00740SAndi Kleen[
2ede00740SAndi Kleen    {
3ede00740SAndi Kleen        "BriefDescription": "L1D data line replacements",
4f16c3236SIan Rogers        "EventCode": "0x51",
5ede00740SAndi Kleen        "EventName": "L1D.REPLACEMENT",
6ede00740SAndi Kleen        "PublicDescription": "This event counts when new data lines are brought into the L1 Data cache, which cause other lines to be evicted from the cache.",
7ede00740SAndi Kleen        "SampleAfterValue": "2000003",
8f16c3236SIan Rogers        "UMask": "0x1"
9ede00740SAndi Kleen    },
10ede00740SAndi Kleen    {
11*6e884dadSIan Rogers        "BriefDescription": "Cycles a demand request was blocked due to Fill Buffers unavailability.",
12032c16b2SAndi Kleen        "CounterMask": "1",
13f16c3236SIan Rogers        "EventCode": "0x48",
14f16c3236SIan Rogers        "EventName": "L1D_PEND_MISS.FB_FULL",
15032c16b2SAndi Kleen        "SampleAfterValue": "2000003",
16f16c3236SIan Rogers        "UMask": "0x2"
17032c16b2SAndi Kleen    },
18032c16b2SAndi Kleen    {
19859fe0f4SIan Rogers        "BriefDescription": "L1D miss outstanding duration in cycles",
20f16c3236SIan Rogers        "EventCode": "0x48",
21f16c3236SIan Rogers        "EventName": "L1D_PEND_MISS.PENDING",
22f16c3236SIan Rogers        "PublicDescription": "Increments the number of outstanding L1D misses every cycle. Set Cmask = 1 and Edge =1 to count occurrences.",
23032c16b2SAndi Kleen        "SampleAfterValue": "2000003",
24f16c3236SIan Rogers        "UMask": "0x1"
25032c16b2SAndi Kleen    },
26032c16b2SAndi Kleen    {
27f16c3236SIan Rogers        "BriefDescription": "Cycles with L1D load Misses outstanding.",
28032c16b2SAndi Kleen        "CounterMask": "1",
29f16c3236SIan Rogers        "EventCode": "0x48",
30f16c3236SIan Rogers        "EventName": "L1D_PEND_MISS.PENDING_CYCLES",
31032c16b2SAndi Kleen        "SampleAfterValue": "2000003",
32f16c3236SIan Rogers        "UMask": "0x1"
33032c16b2SAndi Kleen    },
34032c16b2SAndi Kleen    {
35f16c3236SIan Rogers        "AnyThread": "1",
36f16c3236SIan Rogers        "BriefDescription": "Cycles with L1D load Misses outstanding from any thread on physical core.",
37ede00740SAndi Kleen        "CounterMask": "1",
38f16c3236SIan Rogers        "EventCode": "0x48",
39f16c3236SIan Rogers        "EventName": "L1D_PEND_MISS.PENDING_CYCLES_ANY",
40ede00740SAndi Kleen        "SampleAfterValue": "2000003",
41f16c3236SIan Rogers        "UMask": "0x1"
42ede00740SAndi Kleen    },
43ede00740SAndi Kleen    {
44f16c3236SIan Rogers        "BriefDescription": "Number of times a request needed a FB entry but there was no entry available for it. That is the FB unavailability was dominant reason for blocking the request. A request includes cacheable/uncacheable demands that is load, store or SW prefetch. HWP are e.",
45f16c3236SIan Rogers        "EventCode": "0x48",
46f16c3236SIan Rogers        "EventName": "L1D_PEND_MISS.REQUEST_FB_FULL",
47ede00740SAndi Kleen        "SampleAfterValue": "2000003",
48f16c3236SIan Rogers        "UMask": "0x2"
49ede00740SAndi Kleen    },
50ede00740SAndi Kleen    {
51f16c3236SIan Rogers        "BriefDescription": "Not rejected writebacks that hit L2 cache",
52f16c3236SIan Rogers        "EventCode": "0x27",
53f16c3236SIan Rogers        "EventName": "L2_DEMAND_RQSTS.WB_HIT",
54f16c3236SIan Rogers        "PublicDescription": "Not rejected writebacks that hit L2 cache.",
55ede00740SAndi Kleen        "SampleAfterValue": "200003",
56f16c3236SIan Rogers        "UMask": "0x50"
57ede00740SAndi Kleen    },
58ede00740SAndi Kleen    {
59ede00740SAndi Kleen        "BriefDescription": "L2 cache lines filling L2",
60f16c3236SIan Rogers        "EventCode": "0xF1",
61ede00740SAndi Kleen        "EventName": "L2_LINES_IN.ALL",
62ede00740SAndi Kleen        "PublicDescription": "This event counts the number of L2 cache lines brought into the L2 cache.  Lines are filled into the L2 cache when there was an L2 miss.",
63ede00740SAndi Kleen        "SampleAfterValue": "100003",
64f16c3236SIan Rogers        "UMask": "0x7"
65ede00740SAndi Kleen    },
66ede00740SAndi Kleen    {
67f16c3236SIan Rogers        "BriefDescription": "L2 cache lines in E state filling L2",
68f16c3236SIan Rogers        "EventCode": "0xF1",
69f16c3236SIan Rogers        "EventName": "L2_LINES_IN.E",
70f16c3236SIan Rogers        "PublicDescription": "L2 cache lines in E state filling L2.",
71f16c3236SIan Rogers        "SampleAfterValue": "100003",
72f16c3236SIan Rogers        "UMask": "0x4"
73f16c3236SIan Rogers    },
74f16c3236SIan Rogers    {
75f16c3236SIan Rogers        "BriefDescription": "L2 cache lines in I state filling L2",
76f16c3236SIan Rogers        "EventCode": "0xF1",
77f16c3236SIan Rogers        "EventName": "L2_LINES_IN.I",
78f16c3236SIan Rogers        "PublicDescription": "L2 cache lines in I state filling L2.",
79f16c3236SIan Rogers        "SampleAfterValue": "100003",
80f16c3236SIan Rogers        "UMask": "0x1"
81f16c3236SIan Rogers    },
82f16c3236SIan Rogers    {
83f16c3236SIan Rogers        "BriefDescription": "L2 cache lines in S state filling L2",
84f16c3236SIan Rogers        "EventCode": "0xF1",
85f16c3236SIan Rogers        "EventName": "L2_LINES_IN.S",
86f16c3236SIan Rogers        "PublicDescription": "L2 cache lines in S state filling L2.",
87f16c3236SIan Rogers        "SampleAfterValue": "100003",
88f16c3236SIan Rogers        "UMask": "0x2"
89f16c3236SIan Rogers    },
90f16c3236SIan Rogers    {
91ede00740SAndi Kleen        "BriefDescription": "Clean L2 cache lines evicted by demand",
92f16c3236SIan Rogers        "EventCode": "0xF2",
93ede00740SAndi Kleen        "EventName": "L2_LINES_OUT.DEMAND_CLEAN",
94ede00740SAndi Kleen        "PublicDescription": "Clean L2 cache lines evicted by demand.",
95ede00740SAndi Kleen        "SampleAfterValue": "100003",
96f16c3236SIan Rogers        "UMask": "0x5"
97ede00740SAndi Kleen    },
98ede00740SAndi Kleen    {
99ede00740SAndi Kleen        "BriefDescription": "Dirty L2 cache lines evicted by demand",
100f16c3236SIan Rogers        "EventCode": "0xF2",
101ede00740SAndi Kleen        "EventName": "L2_LINES_OUT.DEMAND_DIRTY",
102ede00740SAndi Kleen        "PublicDescription": "Dirty L2 cache lines evicted by demand.",
103ede00740SAndi Kleen        "SampleAfterValue": "100003",
104f16c3236SIan Rogers        "UMask": "0x6"
105ede00740SAndi Kleen    },
106ede00740SAndi Kleen    {
107f16c3236SIan Rogers        "BriefDescription": "L2 code requests",
108f16c3236SIan Rogers        "EventCode": "0x24",
109f16c3236SIan Rogers        "EventName": "L2_RQSTS.ALL_CODE_RD",
110f16c3236SIan Rogers        "PublicDescription": "Counts all L2 code requests.",
111f16c3236SIan Rogers        "SampleAfterValue": "200003",
112f16c3236SIan Rogers        "UMask": "0xe4"
113ede00740SAndi Kleen    },
114ede00740SAndi Kleen    {
115f16c3236SIan Rogers        "BriefDescription": "Demand Data Read requests",
116f16c3236SIan Rogers        "Errata": "HSD78, HSM80",
117f16c3236SIan Rogers        "EventCode": "0x24",
118f16c3236SIan Rogers        "EventName": "L2_RQSTS.ALL_DEMAND_DATA_RD",
119f16c3236SIan Rogers        "PublicDescription": "Counts any demand and L1 HW prefetch data load requests to L2.",
120f16c3236SIan Rogers        "SampleAfterValue": "200003",
121f16c3236SIan Rogers        "UMask": "0xe1"
122ede00740SAndi Kleen    },
123ede00740SAndi Kleen    {
124f16c3236SIan Rogers        "BriefDescription": "Demand requests that miss L2 cache",
125f16c3236SIan Rogers        "Errata": "HSD78, HSM80",
126f16c3236SIan Rogers        "EventCode": "0x24",
127f16c3236SIan Rogers        "EventName": "L2_RQSTS.ALL_DEMAND_MISS",
128f16c3236SIan Rogers        "PublicDescription": "Demand requests that miss L2 cache.",
129f16c3236SIan Rogers        "SampleAfterValue": "200003",
130f16c3236SIan Rogers        "UMask": "0x27"
131ede00740SAndi Kleen    },
132ede00740SAndi Kleen    {
133f16c3236SIan Rogers        "BriefDescription": "Demand requests to L2 cache",
134f16c3236SIan Rogers        "Errata": "HSD78, HSM80",
135f16c3236SIan Rogers        "EventCode": "0x24",
136f16c3236SIan Rogers        "EventName": "L2_RQSTS.ALL_DEMAND_REFERENCES",
137f16c3236SIan Rogers        "PublicDescription": "Demand requests to L2 cache.",
138f16c3236SIan Rogers        "SampleAfterValue": "200003",
139f16c3236SIan Rogers        "UMask": "0xe7"
140ede00740SAndi Kleen    },
141ede00740SAndi Kleen    {
142f16c3236SIan Rogers        "BriefDescription": "Requests from L2 hardware prefetchers",
143f16c3236SIan Rogers        "EventCode": "0x24",
144f16c3236SIan Rogers        "EventName": "L2_RQSTS.ALL_PF",
145f16c3236SIan Rogers        "PublicDescription": "Counts all L2 HW prefetcher requests.",
146f16c3236SIan Rogers        "SampleAfterValue": "200003",
147f16c3236SIan Rogers        "UMask": "0xf8"
148ede00740SAndi Kleen    },
149ede00740SAndi Kleen    {
150f16c3236SIan Rogers        "BriefDescription": "RFO requests to L2 cache",
151f16c3236SIan Rogers        "EventCode": "0x24",
152f16c3236SIan Rogers        "EventName": "L2_RQSTS.ALL_RFO",
153f16c3236SIan Rogers        "PublicDescription": "Counts all L2 store RFO requests.",
154f16c3236SIan Rogers        "SampleAfterValue": "200003",
155f16c3236SIan Rogers        "UMask": "0xe2"
156ede00740SAndi Kleen    },
157ede00740SAndi Kleen    {
158f16c3236SIan Rogers        "BriefDescription": "L2 cache hits when fetching instructions, code reads.",
159f16c3236SIan Rogers        "EventCode": "0x24",
160f16c3236SIan Rogers        "EventName": "L2_RQSTS.CODE_RD_HIT",
161f16c3236SIan Rogers        "PublicDescription": "Number of instruction fetches that hit the L2 cache.",
162f16c3236SIan Rogers        "SampleAfterValue": "200003",
163f16c3236SIan Rogers        "UMask": "0xc4"
164ede00740SAndi Kleen    },
165ede00740SAndi Kleen    {
166f16c3236SIan Rogers        "BriefDescription": "L2 cache misses when fetching instructions",
167f16c3236SIan Rogers        "EventCode": "0x24",
168f16c3236SIan Rogers        "EventName": "L2_RQSTS.CODE_RD_MISS",
169f16c3236SIan Rogers        "PublicDescription": "Number of instruction fetches that missed the L2 cache.",
170f16c3236SIan Rogers        "SampleAfterValue": "200003",
171f16c3236SIan Rogers        "UMask": "0x24"
172ede00740SAndi Kleen    },
173ede00740SAndi Kleen    {
174f16c3236SIan Rogers        "BriefDescription": "Demand Data Read requests that hit L2 cache",
175f16c3236SIan Rogers        "Errata": "HSD78, HSM80",
176f16c3236SIan Rogers        "EventCode": "0x24",
177f16c3236SIan Rogers        "EventName": "L2_RQSTS.DEMAND_DATA_RD_HIT",
178f16c3236SIan Rogers        "PublicDescription": "Counts the number of demand Data Read requests, initiated by load instructions, that hit L2 cache",
179f16c3236SIan Rogers        "SampleAfterValue": "200003",
180f16c3236SIan Rogers        "UMask": "0xc1"
181ede00740SAndi Kleen    },
182ede00740SAndi Kleen    {
183f16c3236SIan Rogers        "BriefDescription": "Demand Data Read miss L2, no rejects",
184f16c3236SIan Rogers        "Errata": "HSD78, HSM80",
185f16c3236SIan Rogers        "EventCode": "0x24",
186f16c3236SIan Rogers        "EventName": "L2_RQSTS.DEMAND_DATA_RD_MISS",
187f16c3236SIan Rogers        "PublicDescription": "Demand data read requests that missed L2, no rejects.",
188f16c3236SIan Rogers        "SampleAfterValue": "200003",
189f16c3236SIan Rogers        "UMask": "0x21"
190ede00740SAndi Kleen    },
191ede00740SAndi Kleen    {
192f16c3236SIan Rogers        "BriefDescription": "L2 prefetch requests that hit L2 cache",
193f16c3236SIan Rogers        "EventCode": "0x24",
194f16c3236SIan Rogers        "EventName": "L2_RQSTS.L2_PF_HIT",
195f16c3236SIan Rogers        "PublicDescription": "Counts all L2 HW prefetcher requests that hit L2.",
196f16c3236SIan Rogers        "SampleAfterValue": "200003",
197f16c3236SIan Rogers        "UMask": "0xd0"
198ede00740SAndi Kleen    },
199ede00740SAndi Kleen    {
200f16c3236SIan Rogers        "BriefDescription": "L2 prefetch requests that miss L2 cache",
201f16c3236SIan Rogers        "EventCode": "0x24",
202f16c3236SIan Rogers        "EventName": "L2_RQSTS.L2_PF_MISS",
203f16c3236SIan Rogers        "PublicDescription": "Counts all L2 HW prefetcher requests that missed L2.",
204f16c3236SIan Rogers        "SampleAfterValue": "200003",
205f16c3236SIan Rogers        "UMask": "0x30"
206ede00740SAndi Kleen    },
207ede00740SAndi Kleen    {
208f16c3236SIan Rogers        "BriefDescription": "All requests that miss L2 cache",
209f16c3236SIan Rogers        "Errata": "HSD78, HSM80",
210f16c3236SIan Rogers        "EventCode": "0x24",
211f16c3236SIan Rogers        "EventName": "L2_RQSTS.MISS",
212f16c3236SIan Rogers        "PublicDescription": "All requests that missed L2.",
213f16c3236SIan Rogers        "SampleAfterValue": "200003",
214f16c3236SIan Rogers        "UMask": "0x3f"
215ede00740SAndi Kleen    },
216ede00740SAndi Kleen    {
217f16c3236SIan Rogers        "BriefDescription": "All L2 requests",
218f16c3236SIan Rogers        "Errata": "HSD78, HSM80",
219f16c3236SIan Rogers        "EventCode": "0x24",
220f16c3236SIan Rogers        "EventName": "L2_RQSTS.REFERENCES",
221f16c3236SIan Rogers        "PublicDescription": "All requests to L2 cache.",
222f16c3236SIan Rogers        "SampleAfterValue": "200003",
223f16c3236SIan Rogers        "UMask": "0xff"
224ede00740SAndi Kleen    },
225ede00740SAndi Kleen    {
226f16c3236SIan Rogers        "BriefDescription": "RFO requests that hit L2 cache",
227f16c3236SIan Rogers        "EventCode": "0x24",
228f16c3236SIan Rogers        "EventName": "L2_RQSTS.RFO_HIT",
229f16c3236SIan Rogers        "PublicDescription": "Counts the number of store RFO requests that hit the L2 cache.",
230f16c3236SIan Rogers        "SampleAfterValue": "200003",
231f16c3236SIan Rogers        "UMask": "0xc2"
232ede00740SAndi Kleen    },
233ede00740SAndi Kleen    {
234f16c3236SIan Rogers        "BriefDescription": "RFO requests that miss L2 cache",
235f16c3236SIan Rogers        "EventCode": "0x24",
236f16c3236SIan Rogers        "EventName": "L2_RQSTS.RFO_MISS",
237f16c3236SIan Rogers        "PublicDescription": "Counts the number of store RFO requests that miss the L2 cache.",
238f16c3236SIan Rogers        "SampleAfterValue": "200003",
239f16c3236SIan Rogers        "UMask": "0x22"
240ede00740SAndi Kleen    },
241ede00740SAndi Kleen    {
242f16c3236SIan Rogers        "BriefDescription": "L2 or L3 HW prefetches that access L2 cache",
243f16c3236SIan Rogers        "EventCode": "0xf0",
244f16c3236SIan Rogers        "EventName": "L2_TRANS.ALL_PF",
245f16c3236SIan Rogers        "PublicDescription": "Any MLC or L3 HW prefetch accessing L2, including rejects.",
246f16c3236SIan Rogers        "SampleAfterValue": "200003",
247f16c3236SIan Rogers        "UMask": "0x8"
248ede00740SAndi Kleen    },
249ede00740SAndi Kleen    {
250f16c3236SIan Rogers        "BriefDescription": "Transactions accessing L2 pipe",
251f16c3236SIan Rogers        "EventCode": "0xf0",
252f16c3236SIan Rogers        "EventName": "L2_TRANS.ALL_REQUESTS",
253f16c3236SIan Rogers        "PublicDescription": "Transactions accessing L2 pipe.",
254f16c3236SIan Rogers        "SampleAfterValue": "200003",
255f16c3236SIan Rogers        "UMask": "0x80"
256f16c3236SIan Rogers    },
257f16c3236SIan Rogers    {
258f16c3236SIan Rogers        "BriefDescription": "L2 cache accesses when fetching instructions",
259f16c3236SIan Rogers        "EventCode": "0xf0",
260f16c3236SIan Rogers        "EventName": "L2_TRANS.CODE_RD",
261f16c3236SIan Rogers        "PublicDescription": "L2 cache accesses when fetching instructions.",
262f16c3236SIan Rogers        "SampleAfterValue": "200003",
263f16c3236SIan Rogers        "UMask": "0x4"
264f16c3236SIan Rogers    },
265f16c3236SIan Rogers    {
266f16c3236SIan Rogers        "BriefDescription": "Demand Data Read requests that access L2 cache",
267f16c3236SIan Rogers        "EventCode": "0xf0",
268f16c3236SIan Rogers        "EventName": "L2_TRANS.DEMAND_DATA_RD",
269f16c3236SIan Rogers        "PublicDescription": "Demand data read requests that access L2 cache.",
270f16c3236SIan Rogers        "SampleAfterValue": "200003",
271f16c3236SIan Rogers        "UMask": "0x1"
272f16c3236SIan Rogers    },
273f16c3236SIan Rogers    {
274f16c3236SIan Rogers        "BriefDescription": "L1D writebacks that access L2 cache",
275f16c3236SIan Rogers        "EventCode": "0xf0",
276f16c3236SIan Rogers        "EventName": "L2_TRANS.L1D_WB",
277f16c3236SIan Rogers        "PublicDescription": "L1D writebacks that access L2 cache.",
278f16c3236SIan Rogers        "SampleAfterValue": "200003",
279f16c3236SIan Rogers        "UMask": "0x10"
280f16c3236SIan Rogers    },
281f16c3236SIan Rogers    {
282f16c3236SIan Rogers        "BriefDescription": "L2 fill requests that access L2 cache",
283f16c3236SIan Rogers        "EventCode": "0xf0",
284f16c3236SIan Rogers        "EventName": "L2_TRANS.L2_FILL",
285f16c3236SIan Rogers        "PublicDescription": "L2 fill requests that access L2 cache.",
286f16c3236SIan Rogers        "SampleAfterValue": "200003",
287f16c3236SIan Rogers        "UMask": "0x20"
288f16c3236SIan Rogers    },
289f16c3236SIan Rogers    {
290f16c3236SIan Rogers        "BriefDescription": "L2 writebacks that access L2 cache",
291f16c3236SIan Rogers        "EventCode": "0xf0",
292f16c3236SIan Rogers        "EventName": "L2_TRANS.L2_WB",
293f16c3236SIan Rogers        "PublicDescription": "L2 writebacks that access L2 cache.",
294f16c3236SIan Rogers        "SampleAfterValue": "200003",
295f16c3236SIan Rogers        "UMask": "0x40"
296f16c3236SIan Rogers    },
297f16c3236SIan Rogers    {
298f16c3236SIan Rogers        "BriefDescription": "RFO requests that access L2 cache",
299f16c3236SIan Rogers        "EventCode": "0xf0",
300f16c3236SIan Rogers        "EventName": "L2_TRANS.RFO",
301f16c3236SIan Rogers        "PublicDescription": "RFO requests that access L2 cache.",
302f16c3236SIan Rogers        "SampleAfterValue": "200003",
303f16c3236SIan Rogers        "UMask": "0x2"
304f16c3236SIan Rogers    },
305f16c3236SIan Rogers    {
306f16c3236SIan Rogers        "BriefDescription": "Cycles when L1D is locked",
307f16c3236SIan Rogers        "EventCode": "0x63",
308f16c3236SIan Rogers        "EventName": "LOCK_CYCLES.CACHE_LOCK_DURATION",
309f16c3236SIan Rogers        "PublicDescription": "Cycles in which the L1D is locked.",
310f16c3236SIan Rogers        "SampleAfterValue": "2000003",
311f16c3236SIan Rogers        "UMask": "0x2"
312f16c3236SIan Rogers    },
313f16c3236SIan Rogers    {
314f16c3236SIan Rogers        "BriefDescription": "Core-originated cacheable demand requests missed L3",
315f16c3236SIan Rogers        "EventCode": "0x2E",
316f16c3236SIan Rogers        "EventName": "LONGEST_LAT_CACHE.MISS",
317f16c3236SIan Rogers        "PublicDescription": "This event counts each cache miss condition for references to the last level cache.",
318f16c3236SIan Rogers        "SampleAfterValue": "100003",
319f16c3236SIan Rogers        "UMask": "0x41"
320f16c3236SIan Rogers    },
321f16c3236SIan Rogers    {
322f16c3236SIan Rogers        "BriefDescription": "Core-originated cacheable demand requests that refer to L3",
323f16c3236SIan Rogers        "EventCode": "0x2E",
324f16c3236SIan Rogers        "EventName": "LONGEST_LAT_CACHE.REFERENCE",
325f16c3236SIan Rogers        "PublicDescription": "This event counts requests originating from the core that reference a cache line in the last level cache.",
326f16c3236SIan Rogers        "SampleAfterValue": "100003",
327f16c3236SIan Rogers        "UMask": "0x4f"
328f16c3236SIan Rogers    },
329f16c3236SIan Rogers    {
330f16c3236SIan Rogers        "BriefDescription": "Retired load uops which data sources were L3 and cross-core snoop hits in on-pkg core cache.",
331f16c3236SIan Rogers        "Data_LA": "1",
332f16c3236SIan Rogers        "Errata": "HSD29, HSD25, HSM26, HSM30",
333f16c3236SIan Rogers        "EventCode": "0xD2",
334f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HIT",
335f16c3236SIan Rogers        "PEBS": "1",
336f16c3236SIan Rogers        "SampleAfterValue": "20011",
337f16c3236SIan Rogers        "UMask": "0x2"
338f16c3236SIan Rogers    },
339f16c3236SIan Rogers    {
340f16c3236SIan Rogers        "BriefDescription": "Retired load uops which data sources were HitM responses from shared L3.",
341f16c3236SIan Rogers        "Data_LA": "1",
342f16c3236SIan Rogers        "Errata": "HSD29, HSD25, HSM26, HSM30",
343f16c3236SIan Rogers        "EventCode": "0xD2",
344f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_HITM",
345f16c3236SIan Rogers        "PEBS": "1",
346f16c3236SIan Rogers        "SampleAfterValue": "20011",
347f16c3236SIan Rogers        "UMask": "0x4"
348f16c3236SIan Rogers    },
349f16c3236SIan Rogers    {
350f16c3236SIan Rogers        "BriefDescription": "Retired load uops which data sources were L3 hit and cross-core snoop missed in on-pkg core cache.",
351f16c3236SIan Rogers        "Data_LA": "1",
352f16c3236SIan Rogers        "Errata": "HSD29, HSD25, HSM26, HSM30",
353f16c3236SIan Rogers        "EventCode": "0xD2",
354f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_MISS",
355f16c3236SIan Rogers        "PEBS": "1",
356f16c3236SIan Rogers        "SampleAfterValue": "20011",
357f16c3236SIan Rogers        "UMask": "0x1"
358f16c3236SIan Rogers    },
359f16c3236SIan Rogers    {
360f16c3236SIan Rogers        "BriefDescription": "Retired load uops which data sources were hits in L3 without snoops required.",
361f16c3236SIan Rogers        "Data_LA": "1",
362f16c3236SIan Rogers        "Errata": "HSD74, HSD29, HSD25, HSM26, HSM30",
363f16c3236SIan Rogers        "EventCode": "0xD2",
364f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_L3_HIT_RETIRED.XSNP_NONE",
365f16c3236SIan Rogers        "PEBS": "1",
366f16c3236SIan Rogers        "SampleAfterValue": "100003",
367f16c3236SIan Rogers        "UMask": "0x8"
368f16c3236SIan Rogers    },
369f16c3236SIan Rogers    {
370f16c3236SIan Rogers        "BriefDescription": "Data from local DRAM either Snoop not needed or Snoop Miss (RspI)",
371f16c3236SIan Rogers        "Data_LA": "1",
372f16c3236SIan Rogers        "Errata": "HSD74, HSD29, HSD25, HSM30",
373f16c3236SIan Rogers        "EventCode": "0xD3",
374f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_L3_MISS_RETIRED.LOCAL_DRAM",
375f16c3236SIan Rogers        "PEBS": "1",
376f16c3236SIan Rogers        "PublicDescription": "This event counts retired load uops where the data came from local DRAM. This does not include hardware prefetches.",
377f16c3236SIan Rogers        "SampleAfterValue": "100003",
378f16c3236SIan Rogers        "UMask": "0x1"
379f16c3236SIan Rogers    },
380f16c3236SIan Rogers    {
381f16c3236SIan Rogers        "BriefDescription": "Retired load uop whose Data Source was: remote DRAM either Snoop not needed or Snoop Miss (RspI)",
382f16c3236SIan Rogers        "Data_LA": "1",
383f16c3236SIan Rogers        "Errata": "HSD29, HSM30",
384f16c3236SIan Rogers        "EventCode": "0xD3",
385f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_L3_MISS_RETIRED.REMOTE_DRAM",
386f16c3236SIan Rogers        "PEBS": "1",
387f16c3236SIan Rogers        "SampleAfterValue": "100003",
388f16c3236SIan Rogers        "UMask": "0x4"
389f16c3236SIan Rogers    },
390f16c3236SIan Rogers    {
391f16c3236SIan Rogers        "BriefDescription": "Retired load uop whose Data Source was: forwarded from remote cache",
392f16c3236SIan Rogers        "Data_LA": "1",
393f16c3236SIan Rogers        "Errata": "HSM30",
394f16c3236SIan Rogers        "EventCode": "0xD3",
395f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_L3_MISS_RETIRED.REMOTE_FWD",
396f16c3236SIan Rogers        "PEBS": "1",
397f16c3236SIan Rogers        "SampleAfterValue": "100003",
398f16c3236SIan Rogers        "UMask": "0x20"
399f16c3236SIan Rogers    },
400f16c3236SIan Rogers    {
401f16c3236SIan Rogers        "BriefDescription": "Retired load uop whose Data Source was: Remote cache HITM",
402f16c3236SIan Rogers        "Data_LA": "1",
403f16c3236SIan Rogers        "Errata": "HSM30",
404f16c3236SIan Rogers        "EventCode": "0xD3",
405f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_L3_MISS_RETIRED.REMOTE_HITM",
406f16c3236SIan Rogers        "PEBS": "1",
407f16c3236SIan Rogers        "SampleAfterValue": "100003",
408f16c3236SIan Rogers        "UMask": "0x10"
409f16c3236SIan Rogers    },
410f16c3236SIan Rogers    {
411f16c3236SIan Rogers        "BriefDescription": "Retired load uops which data sources were load uops missed L1 but hit FB due to preceding miss to the same cache line with data not ready.",
412f16c3236SIan Rogers        "Data_LA": "1",
413f16c3236SIan Rogers        "Errata": "HSM30",
414f16c3236SIan Rogers        "EventCode": "0xD1",
415f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_RETIRED.HIT_LFB",
416f16c3236SIan Rogers        "PEBS": "1",
417f16c3236SIan Rogers        "SampleAfterValue": "100003",
418f16c3236SIan Rogers        "UMask": "0x40"
419f16c3236SIan Rogers    },
420f16c3236SIan Rogers    {
421f16c3236SIan Rogers        "BriefDescription": "Retired load uops with L1 cache hits as data sources.",
422f16c3236SIan Rogers        "Data_LA": "1",
423f16c3236SIan Rogers        "Errata": "HSD29, HSM30",
424f16c3236SIan Rogers        "EventCode": "0xD1",
425f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_RETIRED.L1_HIT",
426f16c3236SIan Rogers        "PEBS": "1",
427f16c3236SIan Rogers        "SampleAfterValue": "2000003",
428f16c3236SIan Rogers        "UMask": "0x1"
429f16c3236SIan Rogers    },
430f16c3236SIan Rogers    {
431f16c3236SIan Rogers        "BriefDescription": "Retired load uops misses in L1 cache as data sources.",
432f16c3236SIan Rogers        "Data_LA": "1",
433f16c3236SIan Rogers        "Errata": "HSM30",
434f16c3236SIan Rogers        "EventCode": "0xD1",
435f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_RETIRED.L1_MISS",
436f16c3236SIan Rogers        "PEBS": "1",
437f16c3236SIan Rogers        "PublicDescription": "Retired load uops missed L1 cache as data sources.",
438f16c3236SIan Rogers        "SampleAfterValue": "100003",
439f16c3236SIan Rogers        "UMask": "0x8"
440f16c3236SIan Rogers    },
441f16c3236SIan Rogers    {
442f16c3236SIan Rogers        "BriefDescription": "Retired load uops with L2 cache hits as data sources.",
443f16c3236SIan Rogers        "Data_LA": "1",
444f16c3236SIan Rogers        "Errata": "HSD76, HSD29, HSM30",
445f16c3236SIan Rogers        "EventCode": "0xD1",
446f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_RETIRED.L2_HIT",
447f16c3236SIan Rogers        "PEBS": "1",
448f16c3236SIan Rogers        "SampleAfterValue": "100003",
449f16c3236SIan Rogers        "UMask": "0x2"
450f16c3236SIan Rogers    },
451f16c3236SIan Rogers    {
452f16c3236SIan Rogers        "BriefDescription": "Miss in mid-level (L2) cache. Excludes Unknown data-source.",
453f16c3236SIan Rogers        "Data_LA": "1",
454f16c3236SIan Rogers        "Errata": "HSD29, HSM30",
455f16c3236SIan Rogers        "EventCode": "0xD1",
456f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_RETIRED.L2_MISS",
457f16c3236SIan Rogers        "PEBS": "1",
458f16c3236SIan Rogers        "PublicDescription": "Retired load uops missed L2. Unknown data source excluded.",
459f16c3236SIan Rogers        "SampleAfterValue": "50021",
460f16c3236SIan Rogers        "UMask": "0x10"
461f16c3236SIan Rogers    },
462f16c3236SIan Rogers    {
463f16c3236SIan Rogers        "BriefDescription": "Retired load uops which data sources were data hits in L3 without snoops required.",
464f16c3236SIan Rogers        "Data_LA": "1",
465f16c3236SIan Rogers        "Errata": "HSD74, HSD29, HSD25, HSM26, HSM30",
466f16c3236SIan Rogers        "EventCode": "0xD1",
467f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_RETIRED.L3_HIT",
468f16c3236SIan Rogers        "PEBS": "1",
469f16c3236SIan Rogers        "PublicDescription": "Retired load uops with L3 cache hits as data sources.",
470f16c3236SIan Rogers        "SampleAfterValue": "50021",
471f16c3236SIan Rogers        "UMask": "0x4"
472f16c3236SIan Rogers    },
473f16c3236SIan Rogers    {
474f16c3236SIan Rogers        "BriefDescription": "Miss in last-level (L3) cache. Excludes Unknown data-source.",
475f16c3236SIan Rogers        "Data_LA": "1",
476f16c3236SIan Rogers        "Errata": "HSD74, HSD29, HSD25, HSM26, HSM30",
477f16c3236SIan Rogers        "EventCode": "0xD1",
478f16c3236SIan Rogers        "EventName": "MEM_LOAD_UOPS_RETIRED.L3_MISS",
479f16c3236SIan Rogers        "PEBS": "1",
480f16c3236SIan Rogers        "PublicDescription": "Retired load uops missed L3. Excludes unknown data source .",
481f16c3236SIan Rogers        "SampleAfterValue": "100003",
482f16c3236SIan Rogers        "UMask": "0x20"
483f16c3236SIan Rogers    },
484f16c3236SIan Rogers    {
485859fe0f4SIan Rogers        "BriefDescription": "Retired load uops.",
486f16c3236SIan Rogers        "Data_LA": "1",
487f16c3236SIan Rogers        "Errata": "HSD29, HSM30",
488f16c3236SIan Rogers        "EventCode": "0xD0",
489f16c3236SIan Rogers        "EventName": "MEM_UOPS_RETIRED.ALL_LOADS",
490f16c3236SIan Rogers        "PEBS": "1",
491859fe0f4SIan Rogers        "PublicDescription": "Counts all retired load uops. This event accounts for SW prefetch uops of PREFETCHNTA or PREFETCHT0/1/2 or PREFETCHW.",
492f16c3236SIan Rogers        "SampleAfterValue": "2000003",
493f16c3236SIan Rogers        "UMask": "0x81"
494f16c3236SIan Rogers    },
495f16c3236SIan Rogers    {
496859fe0f4SIan Rogers        "BriefDescription": "Retired store uops.",
497f16c3236SIan Rogers        "Data_LA": "1",
498f16c3236SIan Rogers        "Errata": "HSD29, HSM30",
499f16c3236SIan Rogers        "EventCode": "0xD0",
500f16c3236SIan Rogers        "EventName": "MEM_UOPS_RETIRED.ALL_STORES",
501f16c3236SIan Rogers        "PEBS": "1",
502859fe0f4SIan Rogers        "PublicDescription": "Counts all retired store uops.",
503f16c3236SIan Rogers        "SampleAfterValue": "2000003",
504f16c3236SIan Rogers        "UMask": "0x82"
505f16c3236SIan Rogers    },
506f16c3236SIan Rogers    {
507f16c3236SIan Rogers        "BriefDescription": "Retired load uops with locked access.",
508f16c3236SIan Rogers        "Data_LA": "1",
509f16c3236SIan Rogers        "Errata": "HSD76, HSD29, HSM30",
510f16c3236SIan Rogers        "EventCode": "0xD0",
511f16c3236SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOCK_LOADS",
512f16c3236SIan Rogers        "PEBS": "1",
513f16c3236SIan Rogers        "SampleAfterValue": "100003",
514f16c3236SIan Rogers        "UMask": "0x21"
515f16c3236SIan Rogers    },
516f16c3236SIan Rogers    {
517f16c3236SIan Rogers        "BriefDescription": "Retired load uops that split across a cacheline boundary.",
518f16c3236SIan Rogers        "Data_LA": "1",
519f16c3236SIan Rogers        "Errata": "HSD29, HSM30",
520f16c3236SIan Rogers        "EventCode": "0xD0",
521f16c3236SIan Rogers        "EventName": "MEM_UOPS_RETIRED.SPLIT_LOADS",
522f16c3236SIan Rogers        "PEBS": "1",
523f16c3236SIan Rogers        "SampleAfterValue": "100003",
524f16c3236SIan Rogers        "UMask": "0x41"
525f16c3236SIan Rogers    },
526f16c3236SIan Rogers    {
527f16c3236SIan Rogers        "BriefDescription": "Retired store uops that split across a cacheline boundary.",
528f16c3236SIan Rogers        "Data_LA": "1",
529f16c3236SIan Rogers        "Errata": "HSD29, HSM30",
530f16c3236SIan Rogers        "EventCode": "0xD0",
531f16c3236SIan Rogers        "EventName": "MEM_UOPS_RETIRED.SPLIT_STORES",
532f16c3236SIan Rogers        "PEBS": "1",
533f16c3236SIan Rogers        "SampleAfterValue": "100003",
534f16c3236SIan Rogers        "UMask": "0x42"
535f16c3236SIan Rogers    },
536f16c3236SIan Rogers    {
537f16c3236SIan Rogers        "BriefDescription": "Retired load uops that miss the STLB.",
538f16c3236SIan Rogers        "Data_LA": "1",
539f16c3236SIan Rogers        "Errata": "HSD29, HSM30",
540f16c3236SIan Rogers        "EventCode": "0xD0",
541f16c3236SIan Rogers        "EventName": "MEM_UOPS_RETIRED.STLB_MISS_LOADS",
542f16c3236SIan Rogers        "PEBS": "1",
543f16c3236SIan Rogers        "SampleAfterValue": "100003",
544f16c3236SIan Rogers        "UMask": "0x11"
545f16c3236SIan Rogers    },
546f16c3236SIan Rogers    {
547f16c3236SIan Rogers        "BriefDescription": "Retired store uops that miss the STLB.",
548f16c3236SIan Rogers        "Data_LA": "1",
549f16c3236SIan Rogers        "Errata": "HSD29, HSM30",
550f16c3236SIan Rogers        "EventCode": "0xD0",
551f16c3236SIan Rogers        "EventName": "MEM_UOPS_RETIRED.STLB_MISS_STORES",
552f16c3236SIan Rogers        "PEBS": "1",
553f16c3236SIan Rogers        "SampleAfterValue": "100003",
554f16c3236SIan Rogers        "UMask": "0x12"
555f16c3236SIan Rogers    },
556f16c3236SIan Rogers    {
557f16c3236SIan Rogers        "BriefDescription": "Demand and prefetch data reads",
558f16c3236SIan Rogers        "EventCode": "0xB0",
559f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS.ALL_DATA_RD",
560f16c3236SIan Rogers        "PublicDescription": "Data read requests sent to uncore (demand and prefetch).",
561f16c3236SIan Rogers        "SampleAfterValue": "100003",
562f16c3236SIan Rogers        "UMask": "0x8"
563f16c3236SIan Rogers    },
564f16c3236SIan Rogers    {
56508ce57ddSIan Rogers        "BriefDescription": "Cacheable and noncacheable code read requests",
566f16c3236SIan Rogers        "EventCode": "0xB0",
567f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS.DEMAND_CODE_RD",
568f16c3236SIan Rogers        "PublicDescription": "Demand code read requests sent to uncore.",
569f16c3236SIan Rogers        "SampleAfterValue": "100003",
570f16c3236SIan Rogers        "UMask": "0x2"
571f16c3236SIan Rogers    },
572f16c3236SIan Rogers    {
573f16c3236SIan Rogers        "BriefDescription": "Demand Data Read requests sent to uncore",
574f16c3236SIan Rogers        "Errata": "HSD78, HSM80",
575f16c3236SIan Rogers        "EventCode": "0xb0",
576f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS.DEMAND_DATA_RD",
577f16c3236SIan Rogers        "PublicDescription": "Demand data read requests sent to uncore.",
578f16c3236SIan Rogers        "SampleAfterValue": "100003",
579f16c3236SIan Rogers        "UMask": "0x1"
580f16c3236SIan Rogers    },
581f16c3236SIan Rogers    {
582f16c3236SIan Rogers        "BriefDescription": "Demand RFO requests including regular RFOs, locks, ItoM",
583f16c3236SIan Rogers        "EventCode": "0xB0",
584f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS.DEMAND_RFO",
585f16c3236SIan Rogers        "PublicDescription": "Demand RFO read requests sent to uncore, including regular RFOs, locks, ItoM.",
586f16c3236SIan Rogers        "SampleAfterValue": "100003",
587f16c3236SIan Rogers        "UMask": "0x4"
588f16c3236SIan Rogers    },
589f16c3236SIan Rogers    {
590f16c3236SIan Rogers        "BriefDescription": "Offcore requests buffer cannot take more entries for this thread core.",
591f16c3236SIan Rogers        "EventCode": "0xb2",
592f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS_BUFFER.SQ_FULL",
593f16c3236SIan Rogers        "SampleAfterValue": "2000003",
594f16c3236SIan Rogers        "UMask": "0x1"
595f16c3236SIan Rogers    },
596f16c3236SIan Rogers    {
597f16c3236SIan Rogers        "BriefDescription": "Offcore outstanding cacheable Core Data Read transactions in SuperQueue (SQ), queue to uncore",
598f16c3236SIan Rogers        "Errata": "HSD62, HSD61, HSM63",
599f16c3236SIan Rogers        "EventCode": "0x60",
600f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.ALL_DATA_RD",
601f16c3236SIan Rogers        "PublicDescription": "Offcore outstanding cacheable data read transactions in SQ to uncore. Set Cmask=1 to count cycles.",
602f16c3236SIan Rogers        "SampleAfterValue": "2000003",
603f16c3236SIan Rogers        "UMask": "0x8"
604f16c3236SIan Rogers    },
605f16c3236SIan Rogers    {
606f16c3236SIan Rogers        "BriefDescription": "Cycles when offcore outstanding cacheable Core Data Read transactions are present in SuperQueue (SQ), queue to uncore.",
607f16c3236SIan Rogers        "CounterMask": "1",
608f16c3236SIan Rogers        "Errata": "HSD62, HSD61, HSM63",
609f16c3236SIan Rogers        "EventCode": "0x60",
610f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DATA_RD",
611f16c3236SIan Rogers        "SampleAfterValue": "2000003",
612f16c3236SIan Rogers        "UMask": "0x8"
613f16c3236SIan Rogers    },
614f16c3236SIan Rogers    {
615f16c3236SIan Rogers        "BriefDescription": "Cycles when offcore outstanding Demand Data Read transactions are present in SuperQueue (SQ), queue to uncore.",
616f16c3236SIan Rogers        "CounterMask": "1",
617f16c3236SIan Rogers        "Errata": "HSD78, HSD62, HSD61, HSM63, HSM80",
618f16c3236SIan Rogers        "EventCode": "0x60",
619f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_DATA_RD",
620f16c3236SIan Rogers        "SampleAfterValue": "2000003",
621f16c3236SIan Rogers        "UMask": "0x1"
622f16c3236SIan Rogers    },
623f16c3236SIan Rogers    {
624f16c3236SIan Rogers        "BriefDescription": "Offcore outstanding demand rfo reads transactions in SuperQueue (SQ), queue to uncore, every cycle.",
625f16c3236SIan Rogers        "CounterMask": "1",
626f16c3236SIan Rogers        "Errata": "HSD62, HSD61, HSM63",
627f16c3236SIan Rogers        "EventCode": "0x60",
628f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.CYCLES_WITH_DEMAND_RFO",
629f16c3236SIan Rogers        "SampleAfterValue": "2000003",
630f16c3236SIan Rogers        "UMask": "0x4"
631f16c3236SIan Rogers    },
632f16c3236SIan Rogers    {
633f16c3236SIan Rogers        "BriefDescription": "Offcore outstanding code reads transactions in SuperQueue (SQ), queue to uncore, every cycle",
634f16c3236SIan Rogers        "Errata": "HSD62, HSD61, HSM63",
635f16c3236SIan Rogers        "EventCode": "0x60",
636f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_CODE_RD",
637f16c3236SIan Rogers        "PublicDescription": "Offcore outstanding Demand code Read transactions in SQ to uncore. Set Cmask=1 to count cycles.",
638f16c3236SIan Rogers        "SampleAfterValue": "2000003",
639f16c3236SIan Rogers        "UMask": "0x2"
640f16c3236SIan Rogers    },
641f16c3236SIan Rogers    {
642f16c3236SIan Rogers        "BriefDescription": "Offcore outstanding Demand Data Read transactions in uncore queue.",
643f16c3236SIan Rogers        "Errata": "HSD78, HSD62, HSD61, HSM63, HSM80",
644f16c3236SIan Rogers        "EventCode": "0x60",
645f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD",
646f16c3236SIan Rogers        "PublicDescription": "Offcore outstanding demand data read transactions in SQ to uncore. Set Cmask=1 to count cycles.",
647f16c3236SIan Rogers        "SampleAfterValue": "2000003",
648f16c3236SIan Rogers        "UMask": "0x1"
649f16c3236SIan Rogers    },
650f16c3236SIan Rogers    {
651f16c3236SIan Rogers        "BriefDescription": "Cycles with at least 6 offcore outstanding Demand Data Read transactions in uncore queue.",
652f16c3236SIan Rogers        "CounterMask": "6",
653f16c3236SIan Rogers        "Errata": "HSD78, HSD62, HSD61, HSM63, HSM80",
654f16c3236SIan Rogers        "EventCode": "0x60",
655f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_DATA_RD_GE_6",
656f16c3236SIan Rogers        "SampleAfterValue": "2000003",
657f16c3236SIan Rogers        "UMask": "0x1"
658f16c3236SIan Rogers    },
659f16c3236SIan Rogers    {
660f16c3236SIan Rogers        "BriefDescription": "Offcore outstanding RFO store transactions in SuperQueue (SQ), queue to uncore",
661f16c3236SIan Rogers        "Errata": "HSD62, HSD61, HSM63",
662f16c3236SIan Rogers        "EventCode": "0x60",
663f16c3236SIan Rogers        "EventName": "OFFCORE_REQUESTS_OUTSTANDING.DEMAND_RFO",
664f16c3236SIan Rogers        "PublicDescription": "Offcore outstanding RFO store transactions in SQ to uncore. Set Cmask=1 to count cycles.",
665f16c3236SIan Rogers        "SampleAfterValue": "2000003",
666f16c3236SIan Rogers        "UMask": "0x4"
667f16c3236SIan Rogers    },
668f16c3236SIan Rogers    {
669f16c3236SIan Rogers        "BriefDescription": "Offcore response can be programmed only with a specific pair of event select and counter MSR, and with specific event codes and predefine mask bit value in a dedicated MSR to specify attributes of the offcore transaction.",
670ede00740SAndi Kleen        "EventCode": "0xB7, 0xBB",
671f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE",
672f16c3236SIan Rogers        "SampleAfterValue": "100003",
673f16c3236SIan Rogers        "UMask": "0x1"
674f16c3236SIan Rogers    },
675f16c3236SIan Rogers    {
676e313477fSAndi Kleen        "BriefDescription": "Counts all demand & prefetch code reads hit in the L3 and the snoops to sibling cores hit in either E/S state and the line is not forwarded",
677f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
678ede00740SAndi Kleen        "EventName": "OFFCORE_RESPONSE.ALL_CODE_RD.LLC_HIT.HIT_OTHER_CORE_NO_FWD",
679ede00740SAndi Kleen        "MSRIndex": "0x1a6,0x1a7",
680bedd1738SZhengjun Xing        "MSRValue": "0x4003C0244",
681ede00740SAndi Kleen        "SampleAfterValue": "100003",
682f16c3236SIan Rogers        "UMask": "0x1"
683ede00740SAndi Kleen    },
684ede00740SAndi Kleen    {
685f16c3236SIan Rogers        "BriefDescription": "Counts all demand & prefetch data reads hit in the L3 and the snoop to one of the sibling cores hits the line in M state and the line is forwarded",
686f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
687f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.ALL_DATA_RD.LLC_HIT.HITM_OTHER_CORE",
688ede00740SAndi Kleen        "MSRIndex": "0x1a6,0x1a7",
689f16c3236SIan Rogers        "MSRValue": "0x10003C0091",
690ede00740SAndi Kleen        "SampleAfterValue": "100003",
691f16c3236SIan Rogers        "UMask": "0x1"
692ede00740SAndi Kleen    },
693ede00740SAndi Kleen    {
694f16c3236SIan Rogers        "BriefDescription": "Counts all demand & prefetch data reads hit in the L3 and the snoops to sibling cores hit in either E/S state and the line is not forwarded",
695f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
696f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.ALL_DATA_RD.LLC_HIT.HIT_OTHER_CORE_NO_FWD",
697f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
698bedd1738SZhengjun Xing        "MSRValue": "0x4003C0091",
699f16c3236SIan Rogers        "SampleAfterValue": "100003",
700f16c3236SIan Rogers        "UMask": "0x1"
701f16c3236SIan Rogers    },
702f16c3236SIan Rogers    {
703f16c3236SIan Rogers        "BriefDescription": "Counts all data/code/rfo reads (demand & prefetch) hit in the L3 and the snoop to one of the sibling cores hits the line in M state and the line is forwarded",
704f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
705ede00740SAndi Kleen        "EventName": "OFFCORE_RESPONSE.ALL_READS.LLC_HIT.HITM_OTHER_CORE",
706ede00740SAndi Kleen        "MSRIndex": "0x1a6,0x1a7",
707f16c3236SIan Rogers        "MSRValue": "0x10003C07F7",
708ede00740SAndi Kleen        "SampleAfterValue": "100003",
709f16c3236SIan Rogers        "UMask": "0x1"
710ede00740SAndi Kleen    },
711ede00740SAndi Kleen    {
712f16c3236SIan Rogers        "BriefDescription": "Counts all data/code/rfo reads (demand & prefetch) hit in the L3 and the snoops to sibling cores hit in either E/S state and the line is not forwarded",
713f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
714f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.ALL_READS.LLC_HIT.HIT_OTHER_CORE_NO_FWD",
715f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
716bedd1738SZhengjun Xing        "MSRValue": "0x4003C07F7",
717f16c3236SIan Rogers        "SampleAfterValue": "100003",
718f16c3236SIan Rogers        "UMask": "0x1"
719f16c3236SIan Rogers    },
720f16c3236SIan Rogers    {
721f16c3236SIan Rogers        "BriefDescription": "Counts all requests hit in the L3",
722f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
723ede00740SAndi Kleen        "EventName": "OFFCORE_RESPONSE.ALL_REQUESTS.LLC_HIT.ANY_RESPONSE",
724ede00740SAndi Kleen        "MSRIndex": "0x1a6,0x1a7",
725f16c3236SIan Rogers        "MSRValue": "0x3F803C8FFF",
726ede00740SAndi Kleen        "SampleAfterValue": "100003",
727f16c3236SIan Rogers        "UMask": "0x1"
728f16c3236SIan Rogers    },
729f16c3236SIan Rogers    {
730f16c3236SIan Rogers        "BriefDescription": "Counts all demand & prefetch RFOs hit in the L3 and the snoop to one of the sibling cores hits the line in M state and the line is forwarded",
731f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
732f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.ALL_RFO.LLC_HIT.HITM_OTHER_CORE",
733f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
734f16c3236SIan Rogers        "MSRValue": "0x10003C0122",
735f16c3236SIan Rogers        "SampleAfterValue": "100003",
736f16c3236SIan Rogers        "UMask": "0x1"
737f16c3236SIan Rogers    },
738f16c3236SIan Rogers    {
739f16c3236SIan Rogers        "BriefDescription": "Counts all demand & prefetch RFOs hit in the L3 and the snoops to sibling cores hit in either E/S state and the line is not forwarded",
740f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
741f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.ALL_RFO.LLC_HIT.HIT_OTHER_CORE_NO_FWD",
742f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
743bedd1738SZhengjun Xing        "MSRValue": "0x4003C0122",
744f16c3236SIan Rogers        "SampleAfterValue": "100003",
745f16c3236SIan Rogers        "UMask": "0x1"
746f16c3236SIan Rogers    },
747f16c3236SIan Rogers    {
748f16c3236SIan Rogers        "BriefDescription": "Counts all demand code reads hit in the L3 and the snoop to one of the sibling cores hits the line in M state and the line is forwarded",
749f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
750f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.DEMAND_CODE_RD.LLC_HIT.HITM_OTHER_CORE",
751f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
752f16c3236SIan Rogers        "MSRValue": "0x10003C0004",
753f16c3236SIan Rogers        "SampleAfterValue": "100003",
754f16c3236SIan Rogers        "UMask": "0x1"
755f16c3236SIan Rogers    },
756f16c3236SIan Rogers    {
757f16c3236SIan Rogers        "BriefDescription": "Counts all demand code reads hit in the L3 and the snoops to sibling cores hit in either E/S state and the line is not forwarded",
758f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
759f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.DEMAND_CODE_RD.LLC_HIT.HIT_OTHER_CORE_NO_FWD",
760f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
761bedd1738SZhengjun Xing        "MSRValue": "0x4003C0004",
762f16c3236SIan Rogers        "SampleAfterValue": "100003",
763f16c3236SIan Rogers        "UMask": "0x1"
764f16c3236SIan Rogers    },
765f16c3236SIan Rogers    {
766f16c3236SIan Rogers        "BriefDescription": "Counts demand data reads hit in the L3 and the snoop to one of the sibling cores hits the line in M state and the line is forwarded",
767f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
768f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.DEMAND_DATA_RD.LLC_HIT.HITM_OTHER_CORE",
769f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
770f16c3236SIan Rogers        "MSRValue": "0x10003C0001",
771f16c3236SIan Rogers        "SampleAfterValue": "100003",
772f16c3236SIan Rogers        "UMask": "0x1"
773f16c3236SIan Rogers    },
774f16c3236SIan Rogers    {
775f16c3236SIan Rogers        "BriefDescription": "Counts demand data reads hit in the L3 and the snoops to sibling cores hit in either E/S state and the line is not forwarded",
776f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
777f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.DEMAND_DATA_RD.LLC_HIT.HIT_OTHER_CORE_NO_FWD",
778f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
779bedd1738SZhengjun Xing        "MSRValue": "0x4003C0001",
780f16c3236SIan Rogers        "SampleAfterValue": "100003",
781f16c3236SIan Rogers        "UMask": "0x1"
782f16c3236SIan Rogers    },
783f16c3236SIan Rogers    {
784f16c3236SIan Rogers        "BriefDescription": "Counts all demand data writes (RFOs) hit in the L3 and the snoop to one of the sibling cores hits the line in M state and the line is forwarded",
785f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
786f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.DEMAND_RFO.LLC_HIT.HITM_OTHER_CORE",
787f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
788f16c3236SIan Rogers        "MSRValue": "0x10003C0002",
789f16c3236SIan Rogers        "SampleAfterValue": "100003",
790f16c3236SIan Rogers        "UMask": "0x1"
791f16c3236SIan Rogers    },
792f16c3236SIan Rogers    {
793f16c3236SIan Rogers        "BriefDescription": "Counts all demand data writes (RFOs) hit in the L3 and the snoops to sibling cores hit in either E/S state and the line is not forwarded",
794f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
795f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.DEMAND_RFO.LLC_HIT.HIT_OTHER_CORE_NO_FWD",
796f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
797bedd1738SZhengjun Xing        "MSRValue": "0x4003C0002",
798f16c3236SIan Rogers        "SampleAfterValue": "100003",
799f16c3236SIan Rogers        "UMask": "0x1"
800f16c3236SIan Rogers    },
801f16c3236SIan Rogers    {
802f16c3236SIan Rogers        "BriefDescription": "Counts all prefetch (that bring data to LLC only) code reads hit in the L3",
803f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
804f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.PF_L2_CODE_RD.LLC_HIT.ANY_RESPONSE",
805f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
806f16c3236SIan Rogers        "MSRValue": "0x3F803C0040",
807f16c3236SIan Rogers        "SampleAfterValue": "100003",
808f16c3236SIan Rogers        "UMask": "0x1"
809f16c3236SIan Rogers    },
810f16c3236SIan Rogers    {
811f16c3236SIan Rogers        "BriefDescription": "Counts prefetch (that bring data to L2) data reads hit in the L3",
812f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
813f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.PF_L2_DATA_RD.LLC_HIT.ANY_RESPONSE",
814f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
815f16c3236SIan Rogers        "MSRValue": "0x3F803C0010",
816f16c3236SIan Rogers        "SampleAfterValue": "100003",
817f16c3236SIan Rogers        "UMask": "0x1"
818f16c3236SIan Rogers    },
819f16c3236SIan Rogers    {
820f16c3236SIan Rogers        "BriefDescription": "Counts all prefetch (that bring data to L2) RFOs hit in the L3",
821f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
822f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.PF_L2_RFO.LLC_HIT.ANY_RESPONSE",
823f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
824f16c3236SIan Rogers        "MSRValue": "0x3F803C0020",
825f16c3236SIan Rogers        "SampleAfterValue": "100003",
826f16c3236SIan Rogers        "UMask": "0x1"
827f16c3236SIan Rogers    },
828f16c3236SIan Rogers    {
829f16c3236SIan Rogers        "BriefDescription": "Counts prefetch (that bring data to LLC only) code reads hit in the L3",
830f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
831f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.PF_LLC_CODE_RD.LLC_HIT.ANY_RESPONSE",
832f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
833f16c3236SIan Rogers        "MSRValue": "0x3F803C0200",
834f16c3236SIan Rogers        "SampleAfterValue": "100003",
835f16c3236SIan Rogers        "UMask": "0x1"
836f16c3236SIan Rogers    },
837f16c3236SIan Rogers    {
838f16c3236SIan Rogers        "BriefDescription": "Counts all prefetch (that bring data to LLC only) data reads hit in the L3",
839f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
840f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.PF_LLC_DATA_RD.LLC_HIT.ANY_RESPONSE",
841f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
842f16c3236SIan Rogers        "MSRValue": "0x3F803C0080",
843f16c3236SIan Rogers        "SampleAfterValue": "100003",
844f16c3236SIan Rogers        "UMask": "0x1"
845f16c3236SIan Rogers    },
846f16c3236SIan Rogers    {
847f16c3236SIan Rogers        "BriefDescription": "Counts all prefetch (that bring data to LLC only) RFOs hit in the L3",
848f16c3236SIan Rogers        "EventCode": "0xB7, 0xBB",
849f16c3236SIan Rogers        "EventName": "OFFCORE_RESPONSE.PF_LLC_RFO.LLC_HIT.ANY_RESPONSE",
850f16c3236SIan Rogers        "MSRIndex": "0x1a6,0x1a7",
851f16c3236SIan Rogers        "MSRValue": "0x3F803C0100",
852f16c3236SIan Rogers        "SampleAfterValue": "100003",
853f16c3236SIan Rogers        "UMask": "0x1"
854f16c3236SIan Rogers    },
855f16c3236SIan Rogers    {
856f16c3236SIan Rogers        "BriefDescription": "Split locks in SQ",
857f16c3236SIan Rogers        "EventCode": "0xf4",
858f16c3236SIan Rogers        "EventName": "SQ_MISC.SPLIT_LOCK",
859f16c3236SIan Rogers        "SampleAfterValue": "100003",
860f16c3236SIan Rogers        "UMask": "0x10"
861ede00740SAndi Kleen    }
862ede00740SAndi Kleen]
863