xref: /linux/tools/perf/pmu-events/arch/x86/meteorlake/virtual-memory.json (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
1[
2    {
3        "BriefDescription": "Counts the number of first level TLB misses but second level hits due to a demand load that did not start a page walk. Accounts for all page sizes. Will result in a DTLB write from STLB.",
4        "EventCode": "0x08",
5        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
6        "SampleAfterValue": "200003",
7        "UMask": "0x20",
8        "Unit": "cpu_atom"
9    },
10    {
11        "BriefDescription": "Loads that miss the DTLB and hit the STLB.",
12        "EventCode": "0x12",
13        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
14        "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).",
15        "SampleAfterValue": "100003",
16        "UMask": "0x20",
17        "Unit": "cpu_core"
18    },
19    {
20        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
21        "CounterMask": "1",
22        "EventCode": "0x12",
23        "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE",
24        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a demand load.",
25        "SampleAfterValue": "100003",
26        "UMask": "0x10",
27        "Unit": "cpu_core"
28    },
29    {
30        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses.",
31        "EventCode": "0x08",
32        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
33        "SampleAfterValue": "200003",
34        "UMask": "0xe",
35        "Unit": "cpu_atom"
36    },
37    {
38        "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)",
39        "EventCode": "0x12",
40        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
41        "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.",
42        "SampleAfterValue": "100003",
43        "UMask": "0xe",
44        "Unit": "cpu_core"
45    },
46    {
47        "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
48        "EventCode": "0x12",
49        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
50        "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.",
51        "SampleAfterValue": "100003",
52        "UMask": "0x8",
53        "Unit": "cpu_core"
54    },
55    {
56        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or 4M page.",
57        "EventCode": "0x08",
58        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
59        "PublicDescription": "Counts the number of page walks completed due to loads (including SW prefetches) whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages. Includes page walks that page fault.",
60        "SampleAfterValue": "200003",
61        "UMask": "0x4",
62        "Unit": "cpu_atom"
63    },
64    {
65        "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
66        "EventCode": "0x12",
67        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
68        "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.",
69        "SampleAfterValue": "100003",
70        "UMask": "0x4",
71        "Unit": "cpu_core"
72    },
73    {
74        "BriefDescription": "Page walks completed due to a demand data load to a 4K page.",
75        "EventCode": "0x12",
76        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
77        "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.",
78        "SampleAfterValue": "100003",
79        "UMask": "0x2",
80        "Unit": "cpu_core"
81    },
82    {
83        "BriefDescription": "Counts the number of page walks outstanding for Loads (demand or SW prefetch) in PMH every cycle.",
84        "EventCode": "0x08",
85        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
86        "PublicDescription": "Counts the number of page walks outstanding for Loads (demand or SW prefetch) in PMH every cycle.  A PMH page walk is outstanding from page walk start till PMH becomes idle again (ready to serve next walk). Includes EPT-walk intervals.",
87        "SampleAfterValue": "200003",
88        "UMask": "0x10",
89        "Unit": "cpu_atom"
90    },
91    {
92        "BriefDescription": "Number of page walks outstanding for a demand load in the PMH each cycle.",
93        "EventCode": "0x12",
94        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
95        "PublicDescription": "Counts the number of page walks outstanding for a demand load in the PMH (Page Miss Handler) each cycle.",
96        "SampleAfterValue": "100003",
97        "UMask": "0x10",
98        "Unit": "cpu_core"
99    },
100    {
101        "BriefDescription": "Counts the number of first level TLB misses but second level hits due to stores that did not start a page walk. Accounts for all pages sizes. Will result in a DTLB write from STLB.",
102        "EventCode": "0x49",
103        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
104        "SampleAfterValue": "2000003",
105        "UMask": "0x20",
106        "Unit": "cpu_atom"
107    },
108    {
109        "BriefDescription": "Stores that miss the DTLB and hit the STLB.",
110        "EventCode": "0x13",
111        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
112        "PublicDescription": "Counts stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).",
113        "SampleAfterValue": "100003",
114        "UMask": "0x20",
115        "Unit": "cpu_core"
116    },
117    {
118        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store.",
119        "CounterMask": "1",
120        "EventCode": "0x13",
121        "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE",
122        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.",
123        "SampleAfterValue": "100003",
124        "UMask": "0x10",
125        "Unit": "cpu_core"
126    },
127    {
128        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 1G page.",
129        "EventCode": "0x49",
130        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
131        "SampleAfterValue": "2000003",
132        "UMask": "0xe",
133        "Unit": "cpu_atom"
134    },
135    {
136        "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)",
137        "EventCode": "0x13",
138        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
139        "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.",
140        "SampleAfterValue": "100003",
141        "UMask": "0xe",
142        "Unit": "cpu_core"
143    },
144    {
145        "BriefDescription": "Page walks completed due to a demand data store to a 1G page.",
146        "EventCode": "0x13",
147        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
148        "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.",
149        "SampleAfterValue": "100003",
150        "UMask": "0x8",
151        "Unit": "cpu_core"
152    },
153    {
154        "BriefDescription": "Page walks completed due to a demand data store to a 2M/4M page.",
155        "EventCode": "0x13",
156        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
157        "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.",
158        "SampleAfterValue": "100003",
159        "UMask": "0x4",
160        "Unit": "cpu_core"
161    },
162    {
163        "BriefDescription": "Page walks completed due to a demand data store to a 4K page.",
164        "EventCode": "0x13",
165        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
166        "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.",
167        "SampleAfterValue": "100003",
168        "UMask": "0x2",
169        "Unit": "cpu_core"
170    },
171    {
172        "BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for stores every cycle.",
173        "EventCode": "0x49",
174        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
175        "PublicDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for stores every cycle. A PMH page walk is outstanding from page walk start till PMH becomes idle again (ready to serve next walk). Includes EPT-walk intervals.",
176        "SampleAfterValue": "200003",
177        "UMask": "0x10",
178        "Unit": "cpu_atom"
179    },
180    {
181        "BriefDescription": "Number of page walks outstanding for a store in the PMH each cycle.",
182        "EventCode": "0x13",
183        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
184        "PublicDescription": "Counts the number of page walks outstanding for a store in the PMH (Page Miss Handler) each cycle.",
185        "SampleAfterValue": "100003",
186        "UMask": "0x10",
187        "Unit": "cpu_core"
188    },
189    {
190        "BriefDescription": "Counts the number of page walks initiated by a instruction fetch that missed the first and second level TLBs.",
191        "EventCode": "0x85",
192        "EventName": "ITLB_MISSES.MISS_CAUSED_WALK",
193        "SampleAfterValue": "1000003",
194        "UMask": "0x1",
195        "Unit": "cpu_atom"
196    },
197    {
198        "BriefDescription": "Counts the number of first level TLB misses but second level hits due to an instruction fetch that did not start a page walk. Account for all pages sizes. Will result in an ITLB write from STLB.",
199        "EventCode": "0x85",
200        "EventName": "ITLB_MISSES.STLB_HIT",
201        "SampleAfterValue": "2000003",
202        "UMask": "0x20",
203        "Unit": "cpu_atom"
204    },
205    {
206        "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.",
207        "EventCode": "0x11",
208        "EventName": "ITLB_MISSES.STLB_HIT",
209        "PublicDescription": "Counts instruction fetch requests that miss the ITLB (Instruction TLB) and hit the STLB (Second-level TLB).",
210        "SampleAfterValue": "100003",
211        "UMask": "0x20",
212        "Unit": "cpu_core"
213    },
214    {
215        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request.",
216        "CounterMask": "1",
217        "EventCode": "0x11",
218        "EventName": "ITLB_MISSES.WALK_ACTIVE",
219        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a code (instruction fetch) request.",
220        "SampleAfterValue": "100003",
221        "UMask": "0x10",
222        "Unit": "cpu_core"
223    },
224    {
225        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to any page size.",
226        "EventCode": "0x85",
227        "EventName": "ITLB_MISSES.WALK_COMPLETED",
228        "PublicDescription": "Counts the number of page walks completed due to instruction fetches whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size.  Includes page walks that page fault.",
229        "SampleAfterValue": "200003",
230        "UMask": "0xe",
231        "Unit": "cpu_atom"
232    },
233    {
234        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)",
235        "EventCode": "0x11",
236        "EventName": "ITLB_MISSES.WALK_COMPLETED",
237        "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.",
238        "SampleAfterValue": "100003",
239        "UMask": "0xe",
240        "Unit": "cpu_core"
241    },
242    {
243        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 2M or 4M page.",
244        "EventCode": "0x85",
245        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
246        "PublicDescription": "Counts the number of page walks completed due to instruction fetches whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to 2M or 4M pages.  Includes page walks that page fault.",
247        "SampleAfterValue": "2000003",
248        "UMask": "0x4",
249        "Unit": "cpu_atom"
250    },
251    {
252        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
253        "EventCode": "0x11",
254        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
255        "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.",
256        "SampleAfterValue": "100003",
257        "UMask": "0x4",
258        "Unit": "cpu_core"
259    },
260    {
261        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
262        "EventCode": "0x11",
263        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
264        "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.",
265        "SampleAfterValue": "100003",
266        "UMask": "0x2",
267        "Unit": "cpu_core"
268    },
269    {
270        "BriefDescription": "Counts the number of page walks outstanding for iside in PMH every cycle.",
271        "EventCode": "0x85",
272        "EventName": "ITLB_MISSES.WALK_PENDING",
273        "PublicDescription": "Counts the number of page walks outstanding for iside in PMH every cycle.  A PMH page walk is outstanding from page walk start till PMH becomes idle again (ready to serve next walk). Includes EPT-walk intervals.  Walks could be counted by edge detecting on this event, but would count restarted suspended walks.",
274        "SampleAfterValue": "200003",
275        "UMask": "0x10",
276        "Unit": "cpu_atom"
277    },
278    {
279        "BriefDescription": "Number of page walks outstanding for an outstanding code request in the PMH each cycle.",
280        "EventCode": "0x11",
281        "EventName": "ITLB_MISSES.WALK_PENDING",
282        "PublicDescription": "Counts the number of page walks outstanding for an outstanding code (instruction fetch) request in the PMH (Page Miss Handler) each cycle.",
283        "SampleAfterValue": "100003",
284        "UMask": "0x10",
285        "Unit": "cpu_core"
286    },
287    {
288        "BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to a DTLB miss.",
289        "EventCode": "0x05",
290        "EventName": "LD_HEAD.DTLB_MISS_AT_RET",
291        "SampleAfterValue": "1000003",
292        "UMask": "0x90",
293        "Unit": "cpu_atom"
294    }
295]
296