xref: /openbmc/linux/tools/perf/pmu-events/arch/x86/sierraforest/cache.json (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1*98806c08SIan Rogers[
2*98806c08SIan Rogers    {
3*98806c08SIan Rogers        "BriefDescription": "Counts the number of cacheable memory requests that miss in the LLC. Counts on a per core basis.",
4*98806c08SIan Rogers        "EventCode": "0x2e",
5*98806c08SIan Rogers        "EventName": "LONGEST_LAT_CACHE.MISS",
6*98806c08SIan Rogers        "PublicDescription": "Counts the number of cacheable memory requests that miss in the Last Level Cache (LLC). Requests include demand loads, reads for ownership (RFO), instruction fetches and L1 HW prefetches. If the platform has an L3 cache, the LLC is the L3 cache, otherwise it is the L2 cache. Counts on a per core basis.",
7*98806c08SIan Rogers        "SampleAfterValue": "200003",
8*98806c08SIan Rogers        "UMask": "0x41"
9*98806c08SIan Rogers    },
10*98806c08SIan Rogers    {
11*98806c08SIan Rogers        "BriefDescription": "Counts the number of cacheable memory requests that access the LLC. Counts on a per core basis.",
12*98806c08SIan Rogers        "EventCode": "0x2e",
13*98806c08SIan Rogers        "EventName": "LONGEST_LAT_CACHE.REFERENCE",
14*98806c08SIan Rogers        "PublicDescription": "Counts the number of cacheable memory requests that access the Last Level Cache (LLC). Requests include demand loads, reads for ownership (RFO), instruction fetches and L1 HW prefetches. If the platform has an L3 cache, the LLC is the L3 cache, otherwise it is the L2 cache. Counts on a per core basis.",
15*98806c08SIan Rogers        "SampleAfterValue": "200003",
16*98806c08SIan Rogers        "UMask": "0x4f"
17*98806c08SIan Rogers    },
18*98806c08SIan Rogers    {
19*98806c08SIan Rogers        "BriefDescription": "Counts the number of load ops retired.",
20*98806c08SIan Rogers        "Data_LA": "1",
21*98806c08SIan Rogers        "EventCode": "0xd0",
22*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.ALL_LOADS",
23*98806c08SIan Rogers        "PEBS": "1",
24*98806c08SIan Rogers        "SampleAfterValue": "200003",
25*98806c08SIan Rogers        "UMask": "0x81"
26*98806c08SIan Rogers    },
27*98806c08SIan Rogers    {
28*98806c08SIan Rogers        "BriefDescription": "Counts the number of store ops retired.",
29*98806c08SIan Rogers        "Data_LA": "1",
30*98806c08SIan Rogers        "EventCode": "0xd0",
31*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.ALL_STORES",
32*98806c08SIan Rogers        "PEBS": "1",
33*98806c08SIan Rogers        "SampleAfterValue": "200003",
34*98806c08SIan Rogers        "UMask": "0x82"
35*98806c08SIan Rogers    },
36*98806c08SIan Rogers    {
37*98806c08SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
38*98806c08SIan Rogers        "Data_LA": "1",
39*98806c08SIan Rogers        "EventCode": "0xd0",
40*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_1024",
41*98806c08SIan Rogers        "MSRIndex": "0x3F6",
42*98806c08SIan Rogers        "MSRValue": "0x400",
43*98806c08SIan Rogers        "PEBS": "2",
44*98806c08SIan Rogers        "SampleAfterValue": "1000003",
45*98806c08SIan Rogers        "UMask": "0x5"
46*98806c08SIan Rogers    },
47*98806c08SIan Rogers    {
48*98806c08SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
49*98806c08SIan Rogers        "Data_LA": "1",
50*98806c08SIan Rogers        "EventCode": "0xd0",
51*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_128",
52*98806c08SIan Rogers        "MSRIndex": "0x3F6",
53*98806c08SIan Rogers        "MSRValue": "0x80",
54*98806c08SIan Rogers        "PEBS": "2",
55*98806c08SIan Rogers        "SampleAfterValue": "1000003",
56*98806c08SIan Rogers        "UMask": "0x5"
57*98806c08SIan Rogers    },
58*98806c08SIan Rogers    {
59*98806c08SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
60*98806c08SIan Rogers        "Data_LA": "1",
61*98806c08SIan Rogers        "EventCode": "0xd0",
62*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_16",
63*98806c08SIan Rogers        "MSRIndex": "0x3F6",
64*98806c08SIan Rogers        "MSRValue": "0x10",
65*98806c08SIan Rogers        "PEBS": "2",
66*98806c08SIan Rogers        "SampleAfterValue": "1000003",
67*98806c08SIan Rogers        "UMask": "0x5"
68*98806c08SIan Rogers    },
69*98806c08SIan Rogers    {
70*98806c08SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
71*98806c08SIan Rogers        "Data_LA": "1",
72*98806c08SIan Rogers        "EventCode": "0xd0",
73*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_2048",
74*98806c08SIan Rogers        "MSRIndex": "0x3F6",
75*98806c08SIan Rogers        "MSRValue": "0x800",
76*98806c08SIan Rogers        "PEBS": "2",
77*98806c08SIan Rogers        "SampleAfterValue": "1000003",
78*98806c08SIan Rogers        "UMask": "0x5"
79*98806c08SIan Rogers    },
80*98806c08SIan Rogers    {
81*98806c08SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
82*98806c08SIan Rogers        "Data_LA": "1",
83*98806c08SIan Rogers        "EventCode": "0xd0",
84*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_256",
85*98806c08SIan Rogers        "MSRIndex": "0x3F6",
86*98806c08SIan Rogers        "MSRValue": "0x100",
87*98806c08SIan Rogers        "PEBS": "2",
88*98806c08SIan Rogers        "SampleAfterValue": "1000003",
89*98806c08SIan Rogers        "UMask": "0x5"
90*98806c08SIan Rogers    },
91*98806c08SIan Rogers    {
92*98806c08SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
93*98806c08SIan Rogers        "Data_LA": "1",
94*98806c08SIan Rogers        "EventCode": "0xd0",
95*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_32",
96*98806c08SIan Rogers        "MSRIndex": "0x3F6",
97*98806c08SIan Rogers        "MSRValue": "0x20",
98*98806c08SIan Rogers        "PEBS": "2",
99*98806c08SIan Rogers        "SampleAfterValue": "1000003",
100*98806c08SIan Rogers        "UMask": "0x5"
101*98806c08SIan Rogers    },
102*98806c08SIan Rogers    {
103*98806c08SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
104*98806c08SIan Rogers        "Data_LA": "1",
105*98806c08SIan Rogers        "EventCode": "0xd0",
106*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_4",
107*98806c08SIan Rogers        "MSRIndex": "0x3F6",
108*98806c08SIan Rogers        "MSRValue": "0x4",
109*98806c08SIan Rogers        "PEBS": "2",
110*98806c08SIan Rogers        "SampleAfterValue": "1000003",
111*98806c08SIan Rogers        "UMask": "0x5"
112*98806c08SIan Rogers    },
113*98806c08SIan Rogers    {
114*98806c08SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
115*98806c08SIan Rogers        "Data_LA": "1",
116*98806c08SIan Rogers        "EventCode": "0xd0",
117*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_512",
118*98806c08SIan Rogers        "MSRIndex": "0x3F6",
119*98806c08SIan Rogers        "MSRValue": "0x200",
120*98806c08SIan Rogers        "PEBS": "2",
121*98806c08SIan Rogers        "SampleAfterValue": "1000003",
122*98806c08SIan Rogers        "UMask": "0x5"
123*98806c08SIan Rogers    },
124*98806c08SIan Rogers    {
125*98806c08SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
126*98806c08SIan Rogers        "Data_LA": "1",
127*98806c08SIan Rogers        "EventCode": "0xd0",
128*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_64",
129*98806c08SIan Rogers        "MSRIndex": "0x3F6",
130*98806c08SIan Rogers        "MSRValue": "0x40",
131*98806c08SIan Rogers        "PEBS": "2",
132*98806c08SIan Rogers        "SampleAfterValue": "1000003",
133*98806c08SIan Rogers        "UMask": "0x5"
134*98806c08SIan Rogers    },
135*98806c08SIan Rogers    {
136*98806c08SIan Rogers        "BriefDescription": "Counts the number of tagged load uops retired that exceed the latency threshold defined in MEC_CR_PEBS_LD_LAT_THRESHOLD - Only counts with PEBS enabled.",
137*98806c08SIan Rogers        "Data_LA": "1",
138*98806c08SIan Rogers        "EventCode": "0xd0",
139*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.LOAD_LATENCY_GT_8",
140*98806c08SIan Rogers        "MSRIndex": "0x3F6",
141*98806c08SIan Rogers        "MSRValue": "0x8",
142*98806c08SIan Rogers        "PEBS": "2",
143*98806c08SIan Rogers        "SampleAfterValue": "1000003",
144*98806c08SIan Rogers        "UMask": "0x5"
145*98806c08SIan Rogers    },
146*98806c08SIan Rogers    {
147*98806c08SIan Rogers        "BriefDescription": "Counts the number of  stores uops retired same as MEM_UOPS_RETIRED.ALL_STORES",
148*98806c08SIan Rogers        "Data_LA": "1",
149*98806c08SIan Rogers        "EventCode": "0xd0",
150*98806c08SIan Rogers        "EventName": "MEM_UOPS_RETIRED.STORE_LATENCY",
151*98806c08SIan Rogers        "PEBS": "2",
152*98806c08SIan Rogers        "SampleAfterValue": "1000003",
153*98806c08SIan Rogers        "UMask": "0x6"
154*98806c08SIan Rogers    }
155*98806c08SIan Rogers]
156