1ecd94f1bSKan Liang[
2ecd94f1bSKan Liang    {
37fcf1b89SHaiyan Song        "BriefDescription": "Load misses in all DTLB levels that cause page walks",
47fcf1b89SHaiyan Song        "EventCode": "0x08",
57fcf1b89SHaiyan Song        "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK",
67fcf1b89SHaiyan Song        "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.",
7ecd94f1bSKan Liang        "SampleAfterValue": "100003",
87fcf1b89SHaiyan Song        "UMask": "0x1"
9ecd94f1bSKan Liang    },
10ecd94f1bSKan Liang    {
11*e0ddfd8dSJin Yao        "BriefDescription": "Loads that miss the DTLB and hit the STLB.",
12*e0ddfd8dSJin Yao        "EventCode": "0x08",
13*e0ddfd8dSJin Yao        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
14*e0ddfd8dSJin Yao        "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).",
15*e0ddfd8dSJin Yao        "SampleAfterValue": "2000003",
167fcf1b89SHaiyan Song        "UMask": "0x20"
177fcf1b89SHaiyan Song    },
187fcf1b89SHaiyan Song    {
197fcf1b89SHaiyan Song        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk duration are excluded in Skylake.",
207fcf1b89SHaiyan Song        "CounterMask": "1",
217fcf1b89SHaiyan Song        "EventCode": "0x08",
227fcf1b89SHaiyan Song        "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE",
237fcf1b89SHaiyan Song        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a load.",
247fcf1b89SHaiyan Song        "SampleAfterValue": "100003",
257fcf1b89SHaiyan Song        "UMask": "0x10"
267fcf1b89SHaiyan Song    },
277fcf1b89SHaiyan Song    {
28*e0ddfd8dSJin Yao        "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)",
297fcf1b89SHaiyan Song        "EventCode": "0x08",
30*e0ddfd8dSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
31*e0ddfd8dSJin 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.",
32*e0ddfd8dSJin Yao        "SampleAfterValue": "100003",
33*e0ddfd8dSJin Yao        "UMask": "0xe"
34*e0ddfd8dSJin Yao    },
35*e0ddfd8dSJin Yao    {
36*e0ddfd8dSJin Yao        "BriefDescription": "Page walk completed due to a demand data load to a 1G page",
37*e0ddfd8dSJin Yao        "EventCode": "0x08",
38*e0ddfd8dSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
39*e0ddfd8dSJin 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.",
407fcf1b89SHaiyan Song        "SampleAfterValue": "2000003",
41*e0ddfd8dSJin Yao        "UMask": "0x8"
427fcf1b89SHaiyan Song    },
437fcf1b89SHaiyan Song    {
447fcf1b89SHaiyan Song        "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page",
457fcf1b89SHaiyan Song        "EventCode": "0x08",
467fcf1b89SHaiyan Song        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
47*e0ddfd8dSJin 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.",
487fcf1b89SHaiyan Song        "SampleAfterValue": "2000003",
497fcf1b89SHaiyan Song        "UMask": "0x4"
507fcf1b89SHaiyan Song    },
517fcf1b89SHaiyan Song    {
52*e0ddfd8dSJin Yao        "BriefDescription": "Page walk completed due to a demand data load to a 4K page",
53*e0ddfd8dSJin Yao        "EventCode": "0x08",
54*e0ddfd8dSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
55*e0ddfd8dSJin 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.",
56*e0ddfd8dSJin Yao        "SampleAfterValue": "2000003",
57*e0ddfd8dSJin Yao        "UMask": "0x2"
58*e0ddfd8dSJin Yao    },
59*e0ddfd8dSJin Yao    {
607fcf1b89SHaiyan Song        "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.",
617fcf1b89SHaiyan Song        "EventCode": "0x08",
627fcf1b89SHaiyan Song        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
637fcf1b89SHaiyan Song        "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.",
647fcf1b89SHaiyan Song        "SampleAfterValue": "2000003",
657fcf1b89SHaiyan Song        "UMask": "0x10"
667fcf1b89SHaiyan Song    },
677fcf1b89SHaiyan Song    {
68*e0ddfd8dSJin Yao        "BriefDescription": "Store misses in all DTLB levels that cause page walks",
697fcf1b89SHaiyan Song        "EventCode": "0x49",
70*e0ddfd8dSJin Yao        "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK",
71*e0ddfd8dSJin 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.",
727fcf1b89SHaiyan Song        "SampleAfterValue": "100003",
737fcf1b89SHaiyan Song        "UMask": "0x1"
747fcf1b89SHaiyan Song    },
757fcf1b89SHaiyan Song    {
767fcf1b89SHaiyan Song        "BriefDescription": "Stores that miss the DTLB and hit the STLB.",
777fcf1b89SHaiyan Song        "EventCode": "0x49",
787fcf1b89SHaiyan Song        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
797fcf1b89SHaiyan Song        "PublicDescription": "Stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).",
807fcf1b89SHaiyan Song        "SampleAfterValue": "100003",
817fcf1b89SHaiyan Song        "UMask": "0x20"
827fcf1b89SHaiyan Song    },
837fcf1b89SHaiyan Song    {
84*e0ddfd8dSJin 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.",
85*e0ddfd8dSJin Yao        "CounterMask": "1",
86*e0ddfd8dSJin Yao        "EventCode": "0x49",
87*e0ddfd8dSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE",
88*e0ddfd8dSJin Yao        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.",
89*e0ddfd8dSJin Yao        "SampleAfterValue": "100003",
90*e0ddfd8dSJin Yao        "UMask": "0x10"
91*e0ddfd8dSJin Yao    },
92*e0ddfd8dSJin Yao    {
93*e0ddfd8dSJin Yao        "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)",
94*e0ddfd8dSJin Yao        "EventCode": "0x49",
95*e0ddfd8dSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
96*e0ddfd8dSJin 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.",
977fcf1b89SHaiyan Song        "SampleAfterValue": "100003",
987fcf1b89SHaiyan Song        "UMask": "0xe"
997fcf1b89SHaiyan Song    },
1007fcf1b89SHaiyan Song    {
101*e0ddfd8dSJin Yao        "BriefDescription": "Page walk completed due to a demand data store to a 1G page",
102*e0ddfd8dSJin Yao        "EventCode": "0x49",
103*e0ddfd8dSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
104*e0ddfd8dSJin 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.",
105*e0ddfd8dSJin Yao        "SampleAfterValue": "100003",
106*e0ddfd8dSJin Yao        "UMask": "0x8"
107*e0ddfd8dSJin Yao    },
108*e0ddfd8dSJin Yao    {
109*e0ddfd8dSJin Yao        "BriefDescription": "Page walk completed due to a demand data store to a 2M/4M page",
110*e0ddfd8dSJin Yao        "EventCode": "0x49",
111*e0ddfd8dSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
112*e0ddfd8dSJin 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.",
113*e0ddfd8dSJin Yao        "SampleAfterValue": "100003",
114*e0ddfd8dSJin Yao        "UMask": "0x4"
115*e0ddfd8dSJin Yao    },
116*e0ddfd8dSJin Yao    {
1177fcf1b89SHaiyan Song        "BriefDescription": "Page walk completed due to a demand data store to a 4K page",
1187fcf1b89SHaiyan Song        "EventCode": "0x49",
1197fcf1b89SHaiyan Song        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
120*e0ddfd8dSJin 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.",
1217fcf1b89SHaiyan Song        "SampleAfterValue": "100003",
1227fcf1b89SHaiyan Song        "UMask": "0x2"
1237fcf1b89SHaiyan Song    },
1247fcf1b89SHaiyan Song    {
125*e0ddfd8dSJin 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.",
126*e0ddfd8dSJin Yao        "EventCode": "0x49",
127*e0ddfd8dSJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
128*e0ddfd8dSJin 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.",
129*e0ddfd8dSJin Yao        "SampleAfterValue": "2000003",
130*e0ddfd8dSJin Yao        "UMask": "0x10"
1317fcf1b89SHaiyan Song    },
1327fcf1b89SHaiyan Song    {
133*e0ddfd8dSJin Yao        "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a EPT (Extended Page Table) walk for any request type.",
134*e0ddfd8dSJin Yao        "EventCode": "0x4f",
135*e0ddfd8dSJin Yao        "EventName": "EPT.WALK_PENDING",
136*e0ddfd8dSJin Yao        "PublicDescription": "Counts cycles for each PMH (Page Miss Handler) that is busy with an EPT (Extended Page Table) walk for any request type.",
137*e0ddfd8dSJin Yao        "SampleAfterValue": "2000003",
138*e0ddfd8dSJin Yao        "UMask": "0x10"
139*e0ddfd8dSJin Yao    },
140*e0ddfd8dSJin Yao    {
141*e0ddfd8dSJin Yao        "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.",
142*e0ddfd8dSJin Yao        "EventCode": "0xAE",
143*e0ddfd8dSJin Yao        "EventName": "ITLB.ITLB_FLUSH",
144*e0ddfd8dSJin 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).",
145*e0ddfd8dSJin Yao        "SampleAfterValue": "100007",
146*e0ddfd8dSJin Yao        "UMask": "0x1"
147*e0ddfd8dSJin Yao    },
148*e0ddfd8dSJin Yao    {
149*e0ddfd8dSJin Yao        "BriefDescription": "Misses at all ITLB levels that cause page walks",
1507fcf1b89SHaiyan Song        "EventCode": "0x85",
151*e0ddfd8dSJin Yao        "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK",
152*e0ddfd8dSJin 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.",
1537fcf1b89SHaiyan Song        "SampleAfterValue": "100003",
154*e0ddfd8dSJin Yao        "UMask": "0x1"
1557fcf1b89SHaiyan Song    },
1567fcf1b89SHaiyan Song    {
1577fcf1b89SHaiyan Song        "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.",
1587fcf1b89SHaiyan Song        "EventCode": "0x85",
1597fcf1b89SHaiyan Song        "EventName": "ITLB_MISSES.STLB_HIT",
1607fcf1b89SHaiyan Song        "SampleAfterValue": "100003",
1617fcf1b89SHaiyan Song        "UMask": "0x20"
1627fcf1b89SHaiyan Song    },
1637fcf1b89SHaiyan Song    {
1647fcf1b89SHaiyan Song        "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.",
1657fcf1b89SHaiyan Song        "CounterMask": "1",
1667fcf1b89SHaiyan Song        "EventCode": "0x85",
1677fcf1b89SHaiyan Song        "EventName": "ITLB_MISSES.WALK_ACTIVE",
1687fcf1b89SHaiyan Song        "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.",
1697fcf1b89SHaiyan Song        "SampleAfterValue": "100003",
1707fcf1b89SHaiyan Song        "UMask": "0x10"
1717fcf1b89SHaiyan Song    },
1727fcf1b89SHaiyan Song    {
173*e0ddfd8dSJin Yao        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)",
174*e0ddfd8dSJin Yao        "EventCode": "0x85",
175*e0ddfd8dSJin Yao        "EventName": "ITLB_MISSES.WALK_COMPLETED",
176*e0ddfd8dSJin 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.",
177*e0ddfd8dSJin Yao        "SampleAfterValue": "100003",
178*e0ddfd8dSJin Yao        "UMask": "0xe"
179*e0ddfd8dSJin Yao    },
180*e0ddfd8dSJin Yao    {
181*e0ddfd8dSJin Yao        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (1G)",
182*e0ddfd8dSJin Yao        "EventCode": "0x85",
183*e0ddfd8dSJin Yao        "EventName": "ITLB_MISSES.WALK_COMPLETED_1G",
184*e0ddfd8dSJin 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.",
185*e0ddfd8dSJin Yao        "SampleAfterValue": "100003",
186*e0ddfd8dSJin Yao        "UMask": "0x8"
187*e0ddfd8dSJin Yao    },
188*e0ddfd8dSJin Yao    {
189*e0ddfd8dSJin Yao        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
190*e0ddfd8dSJin Yao        "EventCode": "0x85",
191*e0ddfd8dSJin Yao        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
192*e0ddfd8dSJin 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.",
193*e0ddfd8dSJin Yao        "SampleAfterValue": "100003",
194*e0ddfd8dSJin Yao        "UMask": "0x4"
195*e0ddfd8dSJin Yao    },
196*e0ddfd8dSJin Yao    {
197*e0ddfd8dSJin Yao        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
198*e0ddfd8dSJin Yao        "EventCode": "0x85",
199*e0ddfd8dSJin Yao        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
200*e0ddfd8dSJin 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.",
201*e0ddfd8dSJin Yao        "SampleAfterValue": "100003",
202*e0ddfd8dSJin Yao        "UMask": "0x2"
203*e0ddfd8dSJin Yao    },
204*e0ddfd8dSJin Yao    {
205*e0ddfd8dSJin Yao        "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*e0ddfd8dSJin Yao        "EventCode": "0x85",
207*e0ddfd8dSJin Yao        "EventName": "ITLB_MISSES.WALK_PENDING",
208*e0ddfd8dSJin 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.",
209*e0ddfd8dSJin Yao        "SampleAfterValue": "100003",
210*e0ddfd8dSJin Yao        "UMask": "0x10"
2117fcf1b89SHaiyan Song    },
2127fcf1b89SHaiyan Song    {
2137fcf1b89SHaiyan Song        "BriefDescription": "DTLB flush attempts of the thread-specific entries",
2147fcf1b89SHaiyan Song        "EventCode": "0xBD",
2157fcf1b89SHaiyan Song        "EventName": "TLB_FLUSH.DTLB_THREAD",
2167fcf1b89SHaiyan Song        "PublicDescription": "Counts the number of DTLB flush attempts of the thread-specific entries.",
2177fcf1b89SHaiyan Song        "SampleAfterValue": "100007",
2187fcf1b89SHaiyan Song        "UMask": "0x1"
219*e0ddfd8dSJin Yao    },
220*e0ddfd8dSJin Yao    {
221*e0ddfd8dSJin Yao        "BriefDescription": "STLB flush attempts",
222*e0ddfd8dSJin Yao        "EventCode": "0xBD",
223*e0ddfd8dSJin Yao        "EventName": "TLB_FLUSH.STLB_ANY",
224*e0ddfd8dSJin Yao        "PublicDescription": "Counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, etc.).",
225*e0ddfd8dSJin Yao        "SampleAfterValue": "100007",
226*e0ddfd8dSJin Yao        "UMask": "0x20"
227ecd94f1bSKan Liang    }
228ecd94f1bSKan Liang]
229