147cbd67eSAndi Kleen[
247cbd67eSAndi Kleen    {
3c93240a7SAndi Kleen        "BriefDescription": "Store misses in all DTLB levels that cause page walks",
4*3d05181aSJin Yao        "Counter": "0,1,2,3",
5*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
6*3d05181aSJin Yao        "EventCode": "0x49",
7*3d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
8*3d05181aSJin Yao        "PublicDescription": "Counts demand data stores that caused a page walk of any page size (4K/2M/4M/1G). This implies it missed in all TLB levels, but the walk need not have completed.",
9*3d05181aSJin Yao        "SampleAfterValue": "100003",
10*3d05181aSJin Yao        "UMask": "0x1"
11c93240a7SAndi Kleen    },
12c93240a7SAndi Kleen    {
13c93240a7SAndi Kleen        "BriefDescription": "Page walk completed due to a demand data store to a 2M/4M page",
14*3d05181aSJin Yao        "Counter": "0,1,2,3",
15*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
16c93240a7SAndi Kleen        "EventCode": "0x49",
17*3d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
18*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks  (2M/4M sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
19c93240a7SAndi Kleen        "SampleAfterValue": "100003",
20*3d05181aSJin Yao        "UMask": "0x4"
21c93240a7SAndi Kleen    },
22c93240a7SAndi Kleen    {
2347cbd67eSAndi Kleen        "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for an instruction fetch request. EPT page walk duration are excluded in Skylake.",
24c93240a7SAndi Kleen        "Counter": "0,1,2,3",
25*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
26*3d05181aSJin Yao        "EventCode": "0x85",
27*3d05181aSJin Yao        "EventName": "ITLB_MISSES.WALK_PENDING",
28*3d05181aSJin Yao        "PublicDescription": "Counts 1 per cycle for each PMH (Page Miss Handler) that is busy with a page walk for an instruction fetch request. EPT page walk duration are excluded in Skylake michroarchitecture.",
29c93240a7SAndi Kleen        "SampleAfterValue": "100003",
30*3d05181aSJin Yao        "UMask": "0x10"
31c93240a7SAndi Kleen    },
32c93240a7SAndi Kleen    {
33*3d05181aSJin Yao        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
3447cbd67eSAndi Kleen        "Counter": "0,1,2,3",
35*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
36*3d05181aSJin Yao        "EventCode": "0x85",
37*3d05181aSJin Yao        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
38*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks (4K page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.",
39*3d05181aSJin Yao        "SampleAfterValue": "100003",
40*3d05181aSJin Yao        "UMask": "0x2"
41*3d05181aSJin Yao    },
42*3d05181aSJin Yao    {
43*3d05181aSJin Yao        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
44*3d05181aSJin Yao        "Counter": "0,1,2,3",
45*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
46*3d05181aSJin Yao        "EventCode": "0xAE",
47*3d05181aSJin Yao        "EventName": "ITLB.ITLB_FLUSH",
48*3d05181aSJin Yao        "PublicDescription": "Counts the number of flushes of the big or small ITLB pages. Counting include both TLB Flush (covering all sets) and TLB Set Clear (set-specific).",
49*3d05181aSJin Yao        "SampleAfterValue": "100007",
50*3d05181aSJin Yao        "UMask": "0x1"
51*3d05181aSJin Yao    },
52*3d05181aSJin Yao    {
53*3d05181aSJin Yao        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request. EPT page walk duration are excluded in Skylake.",
54*3d05181aSJin Yao        "Counter": "0,1,2,3",
55*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
56*3d05181aSJin Yao        "CounterMask": "1",
57*3d05181aSJin Yao        "EventCode": "0x85",
58*3d05181aSJin Yao        "EventName": "ITLB_MISSES.WALK_ACTIVE",
59*3d05181aSJin Yao        "PublicDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request. EPT page walk duration are excluded in Skylake microarchitecture.",
60*3d05181aSJin Yao        "SampleAfterValue": "100003",
61*3d05181aSJin Yao        "UMask": "0x10"
62*3d05181aSJin Yao    },
63*3d05181aSJin Yao    {
64*3d05181aSJin Yao        "BriefDescription": "Loads that miss the DTLB and hit the STLB.",
65*3d05181aSJin Yao        "Counter": "0,1,2,3",
66*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
67*3d05181aSJin Yao        "EventCode": "0x08",
68*3d05181aSJin Yao        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
69*3d05181aSJin Yao        "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).",
70*3d05181aSJin Yao        "SampleAfterValue": "2000003",
71*3d05181aSJin Yao        "UMask": "0x20"
72*3d05181aSJin Yao    },
73*3d05181aSJin Yao    {
74*3d05181aSJin Yao        "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a store. EPT page walk duration are excluded in Skylake.",
75*3d05181aSJin Yao        "Counter": "0,1,2,3",
76*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
77*3d05181aSJin Yao        "EventCode": "0x49",
78*3d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
79*3d05181aSJin Yao        "PublicDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a store. EPT page walk duration are excluded in Skylake microarchitecture.",
80*3d05181aSJin Yao        "SampleAfterValue": "2000003",
81*3d05181aSJin Yao        "UMask": "0x10"
82*3d05181aSJin Yao    },
83*3d05181aSJin Yao    {
84*3d05181aSJin Yao        "BriefDescription": "DTLB flush attempts of the thread-specific entries",
85*3d05181aSJin Yao        "Counter": "0,1,2,3",
86*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
87*3d05181aSJin Yao        "EventCode": "0xBD",
88*3d05181aSJin Yao        "EventName": "TLB_FLUSH.DTLB_THREAD",
89*3d05181aSJin Yao        "PublicDescription": "Counts the number of DTLB flush attempts of the thread-specific entries.",
90*3d05181aSJin Yao        "SampleAfterValue": "100007",
91*3d05181aSJin Yao        "UMask": "0x1"
92*3d05181aSJin Yao    },
93*3d05181aSJin Yao    {
94*3d05181aSJin Yao        "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a load. EPT page walk duration are excluded in Skylake.",
95*3d05181aSJin Yao        "Counter": "0,1,2,3",
96*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
97*3d05181aSJin Yao        "EventCode": "0x08",
98*3d05181aSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
99*3d05181aSJin Yao        "PublicDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a load. EPT page walk duration are excluded in Skylake microarchitecture.",
100*3d05181aSJin Yao        "SampleAfterValue": "2000003",
101*3d05181aSJin Yao        "UMask": "0x10"
102*3d05181aSJin Yao    },
103*3d05181aSJin Yao    {
104*3d05181aSJin Yao        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store. EPT page walk duration are excluded in Skylake.",
105*3d05181aSJin Yao        "Counter": "0,1,2,3",
106*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
107*3d05181aSJin Yao        "CounterMask": "1",
108*3d05181aSJin Yao        "EventCode": "0x49",
109*3d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE",
110*3d05181aSJin Yao        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.",
111*3d05181aSJin Yao        "SampleAfterValue": "100003",
112*3d05181aSJin Yao        "UMask": "0x10"
113*3d05181aSJin Yao    },
114*3d05181aSJin Yao    {
115*3d05181aSJin Yao        "BriefDescription": "Misses at all ITLB levels that cause page walks",
116*3d05181aSJin Yao        "Counter": "0,1,2,3",
117*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
118*3d05181aSJin Yao        "EventCode": "0x85",
119*3d05181aSJin Yao        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
120*3d05181aSJin Yao        "PublicDescription": "Counts page walks of any page size (4K/2M/4M/1G) caused by a code fetch. This implies it missed in the ITLB and further levels of TLB, but the walk need not have completed.",
121*3d05181aSJin Yao        "SampleAfterValue": "100003",
122*3d05181aSJin Yao        "UMask": "0x1"
123*3d05181aSJin Yao    },
124*3d05181aSJin Yao    {
125*3d05181aSJin Yao        "BriefDescription": "Stores that miss the DTLB and hit the STLB.",
126*3d05181aSJin Yao        "Counter": "0,1,2,3",
127*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
128*3d05181aSJin Yao        "EventCode": "0x49",
129*3d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
130*3d05181aSJin Yao        "PublicDescription": "Stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).",
131*3d05181aSJin Yao        "SampleAfterValue": "100003",
132*3d05181aSJin Yao        "UMask": "0x20"
133*3d05181aSJin Yao    },
134*3d05181aSJin Yao    {
135*3d05181aSJin Yao        "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)",
136*3d05181aSJin Yao        "Counter": "0,1,2,3",
137*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
138*3d05181aSJin Yao        "EventCode": "0x08",
139*3d05181aSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
140*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks  (all page sizes) caused by demand data loads. This implies it missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
141*3d05181aSJin Yao        "SampleAfterValue": "100003",
142*3d05181aSJin Yao        "UMask": "0xe"
143*3d05181aSJin Yao    },
144*3d05181aSJin Yao    {
145*3d05181aSJin Yao        "BriefDescription": "Page walk completed due to a demand data store to a 4K page",
146*3d05181aSJin Yao        "Counter": "0,1,2,3",
147*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
148*3d05181aSJin Yao        "EventCode": "0x49",
149*3d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
150*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks  (4K sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
151*3d05181aSJin Yao        "SampleAfterValue": "100003",
152*3d05181aSJin Yao        "UMask": "0x2"
153*3d05181aSJin Yao    },
154*3d05181aSJin Yao    {
155*3d05181aSJin Yao        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (1G)",
156*3d05181aSJin Yao        "Counter": "0,1,2,3",
157*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
158*3d05181aSJin Yao        "EventCode": "0x85",
159*3d05181aSJin Yao        "EventName": "ITLB_MISSES.WALK_COMPLETED_1G",
160*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks (1G page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.",
161*3d05181aSJin Yao        "SampleAfterValue": "100003",
162*3d05181aSJin Yao        "UMask": "0x8"
163*3d05181aSJin Yao    },
164*3d05181aSJin Yao    {
165*3d05181aSJin Yao        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)",
166*3d05181aSJin Yao        "Counter": "0,1,2,3",
167*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
168*3d05181aSJin Yao        "EventCode": "0x85",
169*3d05181aSJin Yao        "EventName": "ITLB_MISSES.WALK_COMPLETED",
170*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks (all page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.",
171*3d05181aSJin Yao        "SampleAfterValue": "100003",
172*3d05181aSJin Yao        "UMask": "0xe"
173*3d05181aSJin Yao    },
174*3d05181aSJin Yao    {
175*3d05181aSJin Yao        "BriefDescription": "Page walk completed due to a demand data load to a 4K page",
176*3d05181aSJin Yao        "Counter": "0,1,2,3",
177*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
178*3d05181aSJin Yao        "EventCode": "0x08",
179*3d05181aSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
180*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks  (4K sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
181*3d05181aSJin Yao        "SampleAfterValue": "2000003",
182*3d05181aSJin Yao        "UMask": "0x2"
183*3d05181aSJin Yao    },
184*3d05181aSJin Yao    {
185*3d05181aSJin Yao        "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.",
186*3d05181aSJin Yao        "Counter": "0,1,2,3",
187*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
188*3d05181aSJin Yao        "EventCode": "0x85",
18947cbd67eSAndi Kleen        "EventName": "ITLB_MISSES.STLB_HIT",
19047cbd67eSAndi Kleen        "SampleAfterValue": "100003",
191*3d05181aSJin Yao        "UMask": "0x20"
19247cbd67eSAndi Kleen    },
19347cbd67eSAndi Kleen    {
194*3d05181aSJin Yao        "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page",
19547cbd67eSAndi Kleen        "Counter": "0,1,2,3",
196*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
197*3d05181aSJin Yao        "EventCode": "0x08",
198*3d05181aSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
199*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks  (2M/4M sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
200*3d05181aSJin Yao        "SampleAfterValue": "2000003",
201*3d05181aSJin Yao        "UMask": "0x4"
20247cbd67eSAndi Kleen    },
20347cbd67eSAndi Kleen    {
204*3d05181aSJin Yao        "BriefDescription": "Load misses in all DTLB levels that cause page walks",
20547cbd67eSAndi Kleen        "Counter": "0,1,2,3",
206*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
207*3d05181aSJin Yao        "EventCode": "0x08",
208*3d05181aSJin Yao        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
209*3d05181aSJin Yao        "PublicDescription": "Counts demand data loads that caused a page walk of any page size (4K/2M/4M/1G). This implies it missed in all TLB levels, but the walk need not have completed.",
210*3d05181aSJin Yao        "SampleAfterValue": "100003",
211*3d05181aSJin Yao        "UMask": "0x1"
21247cbd67eSAndi Kleen    },
21347cbd67eSAndi Kleen    {
214*3d05181aSJin Yao        "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a EPT (Extended Page Table) walk for any request type.",
21547cbd67eSAndi Kleen        "Counter": "0,1,2,3",
216*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
217*3d05181aSJin Yao        "EventCode": "0x4f",
218*3d05181aSJin Yao        "EventName": "EPT.WALK_PENDING",
219*3d05181aSJin Yao        "PublicDescription": "Counts cycles for each PMH (Page Miss Handler) that is busy with an EPT (Extended Page Table) walk for any request type.",
220*3d05181aSJin Yao        "SampleAfterValue": "2000003",
221*3d05181aSJin Yao        "UMask": "0x10"
222*3d05181aSJin Yao    },
223*3d05181aSJin Yao    {
22447cbd67eSAndi Kleen        "BriefDescription": "STLB flush attempts",
225*3d05181aSJin Yao        "Counter": "0,1,2,3",
226*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
227*3d05181aSJin Yao        "EventCode": "0xBD",
228*3d05181aSJin Yao        "EventName": "TLB_FLUSH.STLB_ANY",
229*3d05181aSJin Yao        "PublicDescription": "Counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, etc.).",
230*3d05181aSJin Yao        "SampleAfterValue": "100007",
231*3d05181aSJin Yao        "UMask": "0x20"
232*3d05181aSJin Yao    },
233*3d05181aSJin Yao    {
234*3d05181aSJin Yao        "BriefDescription": "Page walk completed due to a demand data load to a 1G page",
235*3d05181aSJin Yao        "Counter": "0,1,2,3",
236*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
237*3d05181aSJin Yao        "EventCode": "0x08",
238*3d05181aSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
239*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks  (1G sizes) caused by demand data loads. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
240*3d05181aSJin Yao        "SampleAfterValue": "2000003",
241*3d05181aSJin Yao        "UMask": "0x8"
242*3d05181aSJin Yao    },
243*3d05181aSJin Yao    {
244*3d05181aSJin Yao        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk duration are excluded in Skylake.",
245*3d05181aSJin Yao        "Counter": "0,1,2,3",
246*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
247*3d05181aSJin Yao        "CounterMask": "1",
248*3d05181aSJin Yao        "EventCode": "0x08",
249*3d05181aSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE",
250*3d05181aSJin Yao        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a load.",
251*3d05181aSJin Yao        "SampleAfterValue": "100003",
252*3d05181aSJin Yao        "UMask": "0x10"
253*3d05181aSJin Yao    },
254*3d05181aSJin Yao    {
255*3d05181aSJin Yao        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
256*3d05181aSJin Yao        "Counter": "0,1,2,3",
257*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
258*3d05181aSJin Yao        "EventCode": "0x85",
259*3d05181aSJin Yao        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
260*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks (2M/4M page sizes) caused by a code fetch. This implies it missed in the ITLB (Instruction TLB) and further levels of TLB. The page walk can end with or without a fault.",
261*3d05181aSJin Yao        "SampleAfterValue": "100003",
262*3d05181aSJin Yao        "UMask": "0x4"
263*3d05181aSJin Yao    },
264*3d05181aSJin Yao    {
265*3d05181aSJin Yao        "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)",
266*3d05181aSJin Yao        "Counter": "0,1,2,3",
267*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
268*3d05181aSJin Yao        "EventCode": "0x49",
269*3d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
270*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks  (all page sizes) caused by demand data stores. This implies it missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
271*3d05181aSJin Yao        "SampleAfterValue": "100003",
272*3d05181aSJin Yao        "UMask": "0xe"
273*3d05181aSJin Yao    },
274*3d05181aSJin Yao    {
275*3d05181aSJin Yao        "BriefDescription": "Page walk completed due to a demand data store to a 1G page",
276*3d05181aSJin Yao        "Counter": "0,1,2,3",
277*3d05181aSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
278*3d05181aSJin Yao        "EventCode": "0x49",
279*3d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
280*3d05181aSJin Yao        "PublicDescription": "Counts completed page walks  (1G sizes) caused by demand data stores. This implies address translations missed in the DTLB and further levels of TLB. The page walk can end with or without a fault.",
281*3d05181aSJin Yao        "SampleAfterValue": "100003",
282*3d05181aSJin Yao        "UMask": "0x8"
28347cbd67eSAndi Kleen    }
28447cbd67eSAndi Kleen]