xref: /openbmc/linux/tools/perf/pmu-events/arch/x86/alderlake/virtual-memory.json (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1f9900dd0SZhengjun Xing[
2f9900dd0SZhengjun Xing    {
3f9900dd0SZhengjun Xing        "BriefDescription": "Loads that miss the DTLB and hit the STLB.",
4f9900dd0SZhengjun Xing        "EventCode": "0x12",
5f9900dd0SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
6*4c12f41aSZhengjun Xing        "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).",
7f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
8f9900dd0SZhengjun Xing        "UMask": "0x20",
9f9900dd0SZhengjun Xing        "Unit": "cpu_core"
10f9900dd0SZhengjun Xing    },
11f9900dd0SZhengjun Xing    {
12f9900dd0SZhengjun Xing        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
13f9900dd0SZhengjun Xing        "CounterMask": "1",
14f9900dd0SZhengjun Xing        "EventCode": "0x12",
15f9900dd0SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE",
16*4c12f41aSZhengjun Xing        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a demand load.",
17f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
18f9900dd0SZhengjun Xing        "UMask": "0x10",
19f9900dd0SZhengjun Xing        "Unit": "cpu_core"
20f9900dd0SZhengjun Xing    },
21f9900dd0SZhengjun Xing    {
22*4c12f41aSZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to any page size.",
23*4c12f41aSZhengjun Xing        "EventCode": "0x08",
24*4c12f41aSZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
25*4c12f41aSZhengjun Xing        "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 any page size. Includes page walks that page fault.",
26*4c12f41aSZhengjun Xing        "SampleAfterValue": "200003",
27*4c12f41aSZhengjun Xing        "UMask": "0xe",
28*4c12f41aSZhengjun Xing        "Unit": "cpu_atom"
29*4c12f41aSZhengjun Xing    },
30*4c12f41aSZhengjun Xing    {
31f9900dd0SZhengjun Xing        "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)",
32f9900dd0SZhengjun Xing        "EventCode": "0x12",
33f9900dd0SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
34*4c12f41aSZhengjun Xing        "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.",
35f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
36f9900dd0SZhengjun Xing        "UMask": "0xe",
37f9900dd0SZhengjun Xing        "Unit": "cpu_core"
38f9900dd0SZhengjun Xing    },
39f9900dd0SZhengjun Xing    {
40f9900dd0SZhengjun Xing        "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
41f9900dd0SZhengjun Xing        "EventCode": "0x12",
42f9900dd0SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
43*4c12f41aSZhengjun Xing        "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.",
44f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
45f9900dd0SZhengjun Xing        "UMask": "0x8",
46f9900dd0SZhengjun Xing        "Unit": "cpu_core"
47f9900dd0SZhengjun Xing    },
48f9900dd0SZhengjun Xing    {
49f9900dd0SZhengjun Xing        "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
50f9900dd0SZhengjun Xing        "EventCode": "0x12",
51f9900dd0SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
52*4c12f41aSZhengjun Xing        "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.",
53f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
54f9900dd0SZhengjun Xing        "UMask": "0x4",
55f9900dd0SZhengjun Xing        "Unit": "cpu_core"
56f9900dd0SZhengjun Xing    },
57f9900dd0SZhengjun Xing    {
58f9900dd0SZhengjun Xing        "BriefDescription": "Page walks completed due to a demand data load to a 4K page.",
59f9900dd0SZhengjun Xing        "EventCode": "0x12",
60f9900dd0SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
61*4c12f41aSZhengjun Xing        "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.",
62f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
63f9900dd0SZhengjun Xing        "UMask": "0x2",
64f9900dd0SZhengjun Xing        "Unit": "cpu_core"
65f9900dd0SZhengjun Xing    },
66f9900dd0SZhengjun Xing    {
67f9900dd0SZhengjun Xing        "BriefDescription": "Number of page walks outstanding for a demand load in the PMH each cycle.",
68f9900dd0SZhengjun Xing        "EventCode": "0x12",
69f9900dd0SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
70*4c12f41aSZhengjun Xing        "PublicDescription": "Counts the number of page walks outstanding for a demand load in the PMH (Page Miss Handler) each cycle.",
71f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
72f9900dd0SZhengjun Xing        "UMask": "0x10",
73f9900dd0SZhengjun Xing        "Unit": "cpu_core"
74f9900dd0SZhengjun Xing    },
75f9900dd0SZhengjun Xing    {
76f9900dd0SZhengjun Xing        "BriefDescription": "Stores that miss the DTLB and hit the STLB.",
77f9900dd0SZhengjun Xing        "EventCode": "0x13",
78f9900dd0SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
79*4c12f41aSZhengjun Xing        "PublicDescription": "Counts stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).",
80f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
81f9900dd0SZhengjun Xing        "UMask": "0x20",
82f9900dd0SZhengjun Xing        "Unit": "cpu_core"
83f9900dd0SZhengjun Xing    },
84f9900dd0SZhengjun Xing    {
85f9900dd0SZhengjun Xing        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store.",
86f9900dd0SZhengjun Xing        "CounterMask": "1",
87f9900dd0SZhengjun Xing        "EventCode": "0x13",
88f9900dd0SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE",
89*4c12f41aSZhengjun Xing        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.",
90f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
91f9900dd0SZhengjun Xing        "UMask": "0x10",
92f9900dd0SZhengjun Xing        "Unit": "cpu_core"
93f9900dd0SZhengjun Xing    },
94f9900dd0SZhengjun Xing    {
95*4c12f41aSZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to any page size.",
96*4c12f41aSZhengjun Xing        "EventCode": "0x49",
97*4c12f41aSZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
98*4c12f41aSZhengjun Xing        "PublicDescription": "Counts the number of page walks completed due to stores whose address translations missed in all Translation Lookaside Buffer (TLB) levels and were mapped to any page size.  Includes page walks that page fault.",
99*4c12f41aSZhengjun Xing        "SampleAfterValue": "2000003",
100*4c12f41aSZhengjun Xing        "UMask": "0xe",
101*4c12f41aSZhengjun Xing        "Unit": "cpu_atom"
102*4c12f41aSZhengjun Xing    },
103*4c12f41aSZhengjun Xing    {
104f9900dd0SZhengjun Xing        "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)",
105f9900dd0SZhengjun Xing        "EventCode": "0x13",
106f9900dd0SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
107*4c12f41aSZhengjun Xing        "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.",
108f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
109f9900dd0SZhengjun Xing        "UMask": "0xe",
110f9900dd0SZhengjun Xing        "Unit": "cpu_core"
111f9900dd0SZhengjun Xing    },
112f9900dd0SZhengjun Xing    {
113f9900dd0SZhengjun Xing        "BriefDescription": "Page walks completed due to a demand data store to a 1G page.",
114f9900dd0SZhengjun Xing        "EventCode": "0x13",
115f9900dd0SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
116*4c12f41aSZhengjun Xing        "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.",
117f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
118f9900dd0SZhengjun Xing        "UMask": "0x8",
119f9900dd0SZhengjun Xing        "Unit": "cpu_core"
120f9900dd0SZhengjun Xing    },
121f9900dd0SZhengjun Xing    {
122f9900dd0SZhengjun Xing        "BriefDescription": "Page walks completed due to a demand data store to a 2M/4M page.",
123f9900dd0SZhengjun Xing        "EventCode": "0x13",
124f9900dd0SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
125*4c12f41aSZhengjun Xing        "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.",
126f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
127f9900dd0SZhengjun Xing        "UMask": "0x4",
128f9900dd0SZhengjun Xing        "Unit": "cpu_core"
129f9900dd0SZhengjun Xing    },
130f9900dd0SZhengjun Xing    {
131f9900dd0SZhengjun Xing        "BriefDescription": "Page walks completed due to a demand data store to a 4K page.",
132f9900dd0SZhengjun Xing        "EventCode": "0x13",
133f9900dd0SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
134*4c12f41aSZhengjun Xing        "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.",
135f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
136f9900dd0SZhengjun Xing        "UMask": "0x2",
137f9900dd0SZhengjun Xing        "Unit": "cpu_core"
138f9900dd0SZhengjun Xing    },
139f9900dd0SZhengjun Xing    {
140f9900dd0SZhengjun Xing        "BriefDescription": "Number of page walks outstanding for a store in the PMH each cycle.",
141f9900dd0SZhengjun Xing        "EventCode": "0x13",
142f9900dd0SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
143*4c12f41aSZhengjun Xing        "PublicDescription": "Counts the number of page walks outstanding for a store in the PMH (Page Miss Handler) each cycle.",
144f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
145f9900dd0SZhengjun Xing        "UMask": "0x10",
146f9900dd0SZhengjun Xing        "Unit": "cpu_core"
147f9900dd0SZhengjun Xing    },
148f9900dd0SZhengjun Xing    {
149*4c12f41aSZhengjun Xing        "BriefDescription": "Counts the number of page walks initiated by a instruction fetch that missed the first and second level TLBs.",
150*4c12f41aSZhengjun Xing        "EventCode": "0x85",
151*4c12f41aSZhengjun Xing        "EventName": "ITLB_MISSES.MISS_CAUSED_WALK",
152*4c12f41aSZhengjun Xing        "SampleAfterValue": "1000003",
153*4c12f41aSZhengjun Xing        "UMask": "0x1",
154*4c12f41aSZhengjun Xing        "Unit": "cpu_atom"
155*4c12f41aSZhengjun Xing    },
156*4c12f41aSZhengjun Xing    {
157*4c12f41aSZhengjun Xing        "BriefDescription": "Counts the number of page walks due to an instruction fetch that miss the PDE (Page Directory Entry) cache.",
158*4c12f41aSZhengjun Xing        "EventCode": "0x85",
159*4c12f41aSZhengjun Xing        "EventName": "ITLB_MISSES.PDE_CACHE_MISS",
160*4c12f41aSZhengjun Xing        "SampleAfterValue": "2000003",
161*4c12f41aSZhengjun Xing        "UMask": "0x80",
162*4c12f41aSZhengjun Xing        "Unit": "cpu_atom"
163*4c12f41aSZhengjun Xing    },
164*4c12f41aSZhengjun Xing    {
165f9900dd0SZhengjun Xing        "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.",
166f9900dd0SZhengjun Xing        "EventCode": "0x11",
167f9900dd0SZhengjun Xing        "EventName": "ITLB_MISSES.STLB_HIT",
168*4c12f41aSZhengjun Xing        "PublicDescription": "Counts instruction fetch requests that miss the ITLB (Instruction TLB) and hit the STLB (Second-level TLB).",
169f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
170f9900dd0SZhengjun Xing        "UMask": "0x20",
171f9900dd0SZhengjun Xing        "Unit": "cpu_core"
172f9900dd0SZhengjun Xing    },
173f9900dd0SZhengjun Xing    {
174f9900dd0SZhengjun Xing        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request.",
175f9900dd0SZhengjun Xing        "CounterMask": "1",
176f9900dd0SZhengjun Xing        "EventCode": "0x11",
177f9900dd0SZhengjun Xing        "EventName": "ITLB_MISSES.WALK_ACTIVE",
178*4c12f41aSZhengjun Xing        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a code (instruction fetch) request.",
179f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
180f9900dd0SZhengjun Xing        "UMask": "0x10",
181f9900dd0SZhengjun Xing        "Unit": "cpu_core"
182f9900dd0SZhengjun Xing    },
183f9900dd0SZhengjun Xing    {
184*4c12f41aSZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to any page size.",
185*4c12f41aSZhengjun Xing        "EventCode": "0x85",
186*4c12f41aSZhengjun Xing        "EventName": "ITLB_MISSES.WALK_COMPLETED",
187*4c12f41aSZhengjun Xing        "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.",
188*4c12f41aSZhengjun Xing        "SampleAfterValue": "200003",
189*4c12f41aSZhengjun Xing        "UMask": "0xe",
190*4c12f41aSZhengjun Xing        "Unit": "cpu_atom"
191*4c12f41aSZhengjun Xing    },
192*4c12f41aSZhengjun Xing    {
193f9900dd0SZhengjun Xing        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)",
194f9900dd0SZhengjun Xing        "EventCode": "0x11",
195f9900dd0SZhengjun Xing        "EventName": "ITLB_MISSES.WALK_COMPLETED",
196*4c12f41aSZhengjun Xing        "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.",
197f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
198f9900dd0SZhengjun Xing        "UMask": "0xe",
199f9900dd0SZhengjun Xing        "Unit": "cpu_core"
200f9900dd0SZhengjun Xing    },
201f9900dd0SZhengjun Xing    {
202f9900dd0SZhengjun Xing        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
203f9900dd0SZhengjun Xing        "EventCode": "0x11",
204f9900dd0SZhengjun Xing        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
205*4c12f41aSZhengjun Xing        "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.",
206f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
207f9900dd0SZhengjun Xing        "UMask": "0x4",
208f9900dd0SZhengjun Xing        "Unit": "cpu_core"
209f9900dd0SZhengjun Xing    },
210f9900dd0SZhengjun Xing    {
211f9900dd0SZhengjun Xing        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
212f9900dd0SZhengjun Xing        "EventCode": "0x11",
213f9900dd0SZhengjun Xing        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
214*4c12f41aSZhengjun Xing        "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.",
215f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
216f9900dd0SZhengjun Xing        "UMask": "0x2",
217f9900dd0SZhengjun Xing        "Unit": "cpu_core"
218f9900dd0SZhengjun Xing    },
219f9900dd0SZhengjun Xing    {
220f9900dd0SZhengjun Xing        "BriefDescription": "Number of page walks outstanding for an outstanding code request in the PMH each cycle.",
221f9900dd0SZhengjun Xing        "EventCode": "0x11",
222f9900dd0SZhengjun Xing        "EventName": "ITLB_MISSES.WALK_PENDING",
223*4c12f41aSZhengjun Xing        "PublicDescription": "Counts the number of page walks outstanding for an outstanding code (instruction fetch) request in the PMH (Page Miss Handler) each cycle.",
224f9900dd0SZhengjun Xing        "SampleAfterValue": "100003",
225f9900dd0SZhengjun Xing        "UMask": "0x10",
226f9900dd0SZhengjun Xing        "Unit": "cpu_core"
227*4c12f41aSZhengjun Xing    },
228*4c12f41aSZhengjun Xing    {
229*4c12f41aSZhengjun Xing        "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.",
230*4c12f41aSZhengjun Xing        "EventCode": "0x05",
231*4c12f41aSZhengjun Xing        "EventName": "LD_HEAD.DTLB_MISS_AT_RET",
232*4c12f41aSZhengjun Xing        "SampleAfterValue": "1000003",
233*4c12f41aSZhengjun Xing        "UMask": "0x90",
234*4c12f41aSZhengjun Xing        "Unit": "cpu_atom"
235f9900dd0SZhengjun Xing    }
236f9900dd0SZhengjun Xing]
237