147cbd67eSAndi Kleen[
247cbd67eSAndi Kleen    {
3*3f5f0df7SIan Rogers        "BriefDescription": "Load misses in all DTLB levels that cause page walks",
4*3f5f0df7SIan Rogers        "EventCode": "0x08",
5*3f5f0df7SIan Rogers        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
6*3f5f0df7SIan Rogers        "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.",
73d05181aSJin Yao        "SampleAfterValue": "100003",
83d05181aSJin Yao        "UMask": "0x1"
9c93240a7SAndi Kleen    },
10c93240a7SAndi Kleen    {
113d05181aSJin Yao        "BriefDescription": "Loads that miss the DTLB and hit the STLB.",
123d05181aSJin Yao        "EventCode": "0x08",
133d05181aSJin Yao        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
143d05181aSJin Yao        "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).",
153d05181aSJin Yao        "SampleAfterValue": "2000003",
163d05181aSJin Yao        "UMask": "0x20"
173d05181aSJin Yao    },
183d05181aSJin Yao    {
19*3f5f0df7SIan Rogers        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk duration are excluded in Skylake.",
20*3f5f0df7SIan Rogers        "CounterMask": "1",
21*3f5f0df7SIan Rogers        "EventCode": "0x08",
22*3f5f0df7SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE",
23*3f5f0df7SIan Rogers        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a load.",
24*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
253d05181aSJin Yao        "UMask": "0x10"
263d05181aSJin Yao    },
273d05181aSJin Yao    {
28*3f5f0df7SIan Rogers        "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)",
29*3f5f0df7SIan Rogers        "EventCode": "0x08",
30*3f5f0df7SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
31*3f5f0df7SIan Rogers        "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.",
32*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
33*3f5f0df7SIan Rogers        "UMask": "0xe"
34*3f5f0df7SIan Rogers    },
35*3f5f0df7SIan Rogers    {
36*3f5f0df7SIan Rogers        "BriefDescription": "Page walk completed due to a demand data load to a 1G page",
37*3f5f0df7SIan Rogers        "EventCode": "0x08",
38*3f5f0df7SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
39*3f5f0df7SIan Rogers        "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.",
40*3f5f0df7SIan Rogers        "SampleAfterValue": "2000003",
41*3f5f0df7SIan Rogers        "UMask": "0x8"
42*3f5f0df7SIan Rogers    },
43*3f5f0df7SIan Rogers    {
44*3f5f0df7SIan Rogers        "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page",
45*3f5f0df7SIan Rogers        "EventCode": "0x08",
46*3f5f0df7SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
47*3f5f0df7SIan Rogers        "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.",
48*3f5f0df7SIan Rogers        "SampleAfterValue": "2000003",
49*3f5f0df7SIan Rogers        "UMask": "0x4"
50*3f5f0df7SIan Rogers    },
51*3f5f0df7SIan Rogers    {
52*3f5f0df7SIan Rogers        "BriefDescription": "Page walk completed due to a demand data load to a 4K page",
53*3f5f0df7SIan Rogers        "EventCode": "0x08",
54*3f5f0df7SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
55*3f5f0df7SIan Rogers        "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.",
56*3f5f0df7SIan Rogers        "SampleAfterValue": "2000003",
57*3f5f0df7SIan Rogers        "UMask": "0x2"
583d05181aSJin Yao    },
593d05181aSJin Yao    {
603d05181aSJin 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.",
613d05181aSJin Yao        "EventCode": "0x08",
623d05181aSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
633d05181aSJin 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.",
643d05181aSJin Yao        "SampleAfterValue": "2000003",
653d05181aSJin Yao        "UMask": "0x10"
663d05181aSJin Yao    },
673d05181aSJin Yao    {
68*3f5f0df7SIan Rogers        "BriefDescription": "Store misses in all DTLB levels that cause page walks",
693d05181aSJin Yao        "EventCode": "0x49",
70*3f5f0df7SIan Rogers        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
71*3f5f0df7SIan Rogers        "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.",
723d05181aSJin Yao        "SampleAfterValue": "100003",
733d05181aSJin Yao        "UMask": "0x1"
743d05181aSJin Yao    },
753d05181aSJin Yao    {
763d05181aSJin Yao        "BriefDescription": "Stores that miss the DTLB and hit the STLB.",
773d05181aSJin Yao        "EventCode": "0x49",
783d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
793d05181aSJin Yao        "PublicDescription": "Stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).",
803d05181aSJin Yao        "SampleAfterValue": "100003",
813d05181aSJin Yao        "UMask": "0x20"
823d05181aSJin Yao    },
833d05181aSJin Yao    {
84*3f5f0df7SIan Rogers        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store. EPT page walk duration are excluded in Skylake.",
853d05181aSJin Yao        "CounterMask": "1",
86*3f5f0df7SIan Rogers        "EventCode": "0x49",
87*3f5f0df7SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE",
88*3f5f0df7SIan Rogers        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.",
893d05181aSJin Yao        "SampleAfterValue": "100003",
903d05181aSJin Yao        "UMask": "0x10"
913d05181aSJin Yao    },
923d05181aSJin Yao    {
933d05181aSJin Yao        "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)",
943d05181aSJin Yao        "EventCode": "0x49",
953d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
963d05181aSJin 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.",
973d05181aSJin Yao        "SampleAfterValue": "100003",
983d05181aSJin Yao        "UMask": "0xe"
993d05181aSJin Yao    },
1003d05181aSJin Yao    {
1013d05181aSJin Yao        "BriefDescription": "Page walk completed due to a demand data store to a 1G page",
1023d05181aSJin Yao        "EventCode": "0x49",
1033d05181aSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
1043d05181aSJin 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.",
1053d05181aSJin Yao        "SampleAfterValue": "100003",
1063d05181aSJin Yao        "UMask": "0x8"
107*3f5f0df7SIan Rogers    },
108*3f5f0df7SIan Rogers    {
109*3f5f0df7SIan Rogers        "BriefDescription": "Page walk completed due to a demand data store to a 2M/4M page",
110*3f5f0df7SIan Rogers        "EventCode": "0x49",
111*3f5f0df7SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
112*3f5f0df7SIan Rogers        "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.",
113*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
114*3f5f0df7SIan Rogers        "UMask": "0x4"
115*3f5f0df7SIan Rogers    },
116*3f5f0df7SIan Rogers    {
117*3f5f0df7SIan Rogers        "BriefDescription": "Page walk completed due to a demand data store to a 4K page",
118*3f5f0df7SIan Rogers        "EventCode": "0x49",
119*3f5f0df7SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
120*3f5f0df7SIan Rogers        "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.",
121*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
122*3f5f0df7SIan Rogers        "UMask": "0x2"
123*3f5f0df7SIan Rogers    },
124*3f5f0df7SIan Rogers    {
125*3f5f0df7SIan Rogers        "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.",
126*3f5f0df7SIan Rogers        "EventCode": "0x49",
127*3f5f0df7SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
128*3f5f0df7SIan Rogers        "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.",
129*3f5f0df7SIan Rogers        "SampleAfterValue": "2000003",
130*3f5f0df7SIan Rogers        "UMask": "0x10"
131*3f5f0df7SIan Rogers    },
132*3f5f0df7SIan Rogers    {
133*3f5f0df7SIan Rogers        "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a EPT (Extended Page Table) walk for any request type.",
134*3f5f0df7SIan Rogers        "EventCode": "0x4f",
135*3f5f0df7SIan Rogers        "EventName": "EPT.WALK_PENDING",
136*3f5f0df7SIan Rogers        "PublicDescription": "Counts cycles for each PMH (Page Miss Handler) that is busy with an EPT (Extended Page Table) walk for any request type.",
137*3f5f0df7SIan Rogers        "SampleAfterValue": "2000003",
138*3f5f0df7SIan Rogers        "UMask": "0x10"
139*3f5f0df7SIan Rogers    },
140*3f5f0df7SIan Rogers    {
141*3f5f0df7SIan Rogers        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
142*3f5f0df7SIan Rogers        "EventCode": "0xAE",
143*3f5f0df7SIan Rogers        "EventName": "ITLB.ITLB_FLUSH",
144*3f5f0df7SIan Rogers        "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).",
145*3f5f0df7SIan Rogers        "SampleAfterValue": "100007",
146*3f5f0df7SIan Rogers        "UMask": "0x1"
147*3f5f0df7SIan Rogers    },
148*3f5f0df7SIan Rogers    {
149*3f5f0df7SIan Rogers        "BriefDescription": "Misses at all ITLB levels that cause page walks",
150*3f5f0df7SIan Rogers        "EventCode": "0x85",
151*3f5f0df7SIan Rogers        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
152*3f5f0df7SIan Rogers        "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.",
153*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
154*3f5f0df7SIan Rogers        "UMask": "0x1"
155*3f5f0df7SIan Rogers    },
156*3f5f0df7SIan Rogers    {
157*3f5f0df7SIan Rogers        "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.",
158*3f5f0df7SIan Rogers        "EventCode": "0x85",
159*3f5f0df7SIan Rogers        "EventName": "ITLB_MISSES.STLB_HIT",
160*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
161*3f5f0df7SIan Rogers        "UMask": "0x20"
162*3f5f0df7SIan Rogers    },
163*3f5f0df7SIan Rogers    {
164*3f5f0df7SIan Rogers        "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.",
165*3f5f0df7SIan Rogers        "CounterMask": "1",
166*3f5f0df7SIan Rogers        "EventCode": "0x85",
167*3f5f0df7SIan Rogers        "EventName": "ITLB_MISSES.WALK_ACTIVE",
168*3f5f0df7SIan Rogers        "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.",
169*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
170*3f5f0df7SIan Rogers        "UMask": "0x10"
171*3f5f0df7SIan Rogers    },
172*3f5f0df7SIan Rogers    {
173*3f5f0df7SIan Rogers        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)",
174*3f5f0df7SIan Rogers        "EventCode": "0x85",
175*3f5f0df7SIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED",
176*3f5f0df7SIan Rogers        "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.",
177*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
178*3f5f0df7SIan Rogers        "UMask": "0xe"
179*3f5f0df7SIan Rogers    },
180*3f5f0df7SIan Rogers    {
181*3f5f0df7SIan Rogers        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (1G)",
182*3f5f0df7SIan Rogers        "EventCode": "0x85",
183*3f5f0df7SIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED_1G",
184*3f5f0df7SIan Rogers        "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.",
185*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
186*3f5f0df7SIan Rogers        "UMask": "0x8"
187*3f5f0df7SIan Rogers    },
188*3f5f0df7SIan Rogers    {
189*3f5f0df7SIan Rogers        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
190*3f5f0df7SIan Rogers        "EventCode": "0x85",
191*3f5f0df7SIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
192*3f5f0df7SIan Rogers        "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.",
193*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
194*3f5f0df7SIan Rogers        "UMask": "0x4"
195*3f5f0df7SIan Rogers    },
196*3f5f0df7SIan Rogers    {
197*3f5f0df7SIan Rogers        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
198*3f5f0df7SIan Rogers        "EventCode": "0x85",
199*3f5f0df7SIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
200*3f5f0df7SIan Rogers        "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.",
201*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
202*3f5f0df7SIan Rogers        "UMask": "0x2"
203*3f5f0df7SIan Rogers    },
204*3f5f0df7SIan Rogers    {
205*3f5f0df7SIan Rogers        "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.",
206*3f5f0df7SIan Rogers        "EventCode": "0x85",
207*3f5f0df7SIan Rogers        "EventName": "ITLB_MISSES.WALK_PENDING",
208*3f5f0df7SIan Rogers        "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.",
209*3f5f0df7SIan Rogers        "SampleAfterValue": "100003",
210*3f5f0df7SIan Rogers        "UMask": "0x10"
211*3f5f0df7SIan Rogers    },
212*3f5f0df7SIan Rogers    {
213*3f5f0df7SIan Rogers        "BriefDescription": "DTLB flush attempts of the thread-specific entries",
214*3f5f0df7SIan Rogers        "EventCode": "0xBD",
215*3f5f0df7SIan Rogers        "EventName": "TLB_FLUSH.DTLB_THREAD",
216*3f5f0df7SIan Rogers        "PublicDescription": "Counts the number of DTLB flush attempts of the thread-specific entries.",
217*3f5f0df7SIan Rogers        "SampleAfterValue": "100007",
218*3f5f0df7SIan Rogers        "UMask": "0x1"
219*3f5f0df7SIan Rogers    },
220*3f5f0df7SIan Rogers    {
221*3f5f0df7SIan Rogers        "BriefDescription": "STLB flush attempts",
222*3f5f0df7SIan Rogers        "EventCode": "0xBD",
223*3f5f0df7SIan Rogers        "EventName": "TLB_FLUSH.STLB_ANY",
224*3f5f0df7SIan Rogers        "PublicDescription": "Counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, etc.).",
225*3f5f0df7SIan Rogers        "SampleAfterValue": "100007",
226*3f5f0df7SIan Rogers        "UMask": "0x20"
22747cbd67eSAndi Kleen    }
22847cbd67eSAndi Kleen]
229