xref: /openbmc/linux/tools/perf/pmu-events/arch/x86/icelakex/virtual-memory.json (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1cdb29a8fSJin Yao[
2cdb29a8fSJin Yao    {
3*09625cffSIan Rogers        "BriefDescription": "Loads that miss the DTLB and hit the STLB.",
4cdb29a8fSJin Yao        "EventCode": "0x08",
5*09625cffSIan Rogers        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
6*09625cffSIan Rogers        "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).",
7cdb29a8fSJin Yao        "SampleAfterValue": "100003",
8*09625cffSIan Rogers        "UMask": "0x20"
9cdb29a8fSJin Yao    },
10cdb29a8fSJin Yao    {
11cdb29a8fSJin Yao        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
12cdb29a8fSJin Yao        "CounterMask": "1",
13cdb29a8fSJin Yao        "EventCode": "0x08",
14cdb29a8fSJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE",
15cdb29a8fSJin Yao        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a demand load.",
16cdb29a8fSJin Yao        "SampleAfterValue": "100003",
17cdb29a8fSJin Yao        "UMask": "0x10"
18cdb29a8fSJin Yao    },
19cdb29a8fSJin Yao    {
20*09625cffSIan Rogers        "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)",
21cdb29a8fSJin Yao        "EventCode": "0x08",
22*09625cffSIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
23*09625cffSIan 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.",
24cdb29a8fSJin Yao        "SampleAfterValue": "100003",
25cdb29a8fSJin Yao        "UMask": "0xe"
26cdb29a8fSJin Yao    },
27cdb29a8fSJin Yao    {
28*09625cffSIan Rogers        "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
29*09625cffSIan Rogers        "EventCode": "0x08",
30*09625cffSIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
31*09625cffSIan 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.",
32cdb29a8fSJin Yao        "SampleAfterValue": "100003",
33*09625cffSIan Rogers        "UMask": "0x8"
34cdb29a8fSJin Yao    },
35cdb29a8fSJin Yao    {
36*09625cffSIan Rogers        "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
37*09625cffSIan Rogers        "EventCode": "0x08",
38*09625cffSIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
39*09625cffSIan 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.",
40*09625cffSIan Rogers        "SampleAfterValue": "100003",
41*09625cffSIan Rogers        "UMask": "0x4"
42*09625cffSIan Rogers    },
43*09625cffSIan Rogers    {
44*09625cffSIan Rogers        "BriefDescription": "Page walks completed due to a demand data load to a 4K page.",
45*09625cffSIan Rogers        "EventCode": "0x08",
46*09625cffSIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
47*09625cffSIan 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.",
48*09625cffSIan Rogers        "SampleAfterValue": "100003",
49*09625cffSIan Rogers        "UMask": "0x2"
50*09625cffSIan Rogers    },
51*09625cffSIan Rogers    {
52*09625cffSIan Rogers        "BriefDescription": "Number of page walks outstanding for a demand load in the PMH each cycle.",
53*09625cffSIan Rogers        "EventCode": "0x08",
54*09625cffSIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
55*09625cffSIan Rogers        "PublicDescription": "Counts the number of page walks outstanding for a demand load in the PMH (Page Miss Handler) each cycle.",
56cdb29a8fSJin Yao        "SampleAfterValue": "100003",
57cdb29a8fSJin Yao        "UMask": "0x10"
58cdb29a8fSJin Yao    },
59cdb29a8fSJin Yao    {
60cdb29a8fSJin Yao        "BriefDescription": "Stores that miss the DTLB and hit the STLB.",
61cdb29a8fSJin Yao        "EventCode": "0x49",
62cdb29a8fSJin Yao        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
63cdb29a8fSJin Yao        "PublicDescription": "Counts stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).",
64cdb29a8fSJin Yao        "SampleAfterValue": "100003",
65cdb29a8fSJin Yao        "UMask": "0x20"
66cdb29a8fSJin Yao    },
67cdb29a8fSJin Yao    {
68*09625cffSIan Rogers        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store.",
69*09625cffSIan Rogers        "CounterMask": "1",
70*09625cffSIan Rogers        "EventCode": "0x49",
71*09625cffSIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE",
72*09625cffSIan Rogers        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.",
73cdb29a8fSJin Yao        "SampleAfterValue": "100003",
74cdb29a8fSJin Yao        "UMask": "0x10"
75cdb29a8fSJin Yao    },
76cdb29a8fSJin Yao    {
77*09625cffSIan Rogers        "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)",
78*09625cffSIan Rogers        "EventCode": "0x49",
79*09625cffSIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
80*09625cffSIan Rogers        "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.",
81*09625cffSIan Rogers        "SampleAfterValue": "100003",
82*09625cffSIan Rogers        "UMask": "0xe"
83*09625cffSIan Rogers    },
84*09625cffSIan Rogers    {
85*09625cffSIan Rogers        "BriefDescription": "Page walks completed due to a demand data store to a 1G page.",
86*09625cffSIan Rogers        "EventCode": "0x49",
87*09625cffSIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
88*09625cffSIan Rogers        "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.",
89*09625cffSIan Rogers        "SampleAfterValue": "100003",
90*09625cffSIan Rogers        "UMask": "0x8"
91*09625cffSIan Rogers    },
92*09625cffSIan Rogers    {
93*09625cffSIan Rogers        "BriefDescription": "Page walks completed due to a demand data store to a 2M/4M page.",
94*09625cffSIan Rogers        "EventCode": "0x49",
95*09625cffSIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
96*09625cffSIan 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.",
97*09625cffSIan Rogers        "SampleAfterValue": "100003",
98*09625cffSIan Rogers        "UMask": "0x4"
99*09625cffSIan Rogers    },
100*09625cffSIan Rogers    {
101*09625cffSIan Rogers        "BriefDescription": "Page walks completed due to a demand data store to a 4K page.",
102*09625cffSIan Rogers        "EventCode": "0x49",
103*09625cffSIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
104*09625cffSIan 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.",
105*09625cffSIan Rogers        "SampleAfterValue": "100003",
106*09625cffSIan Rogers        "UMask": "0x2"
107*09625cffSIan Rogers    },
108*09625cffSIan Rogers    {
109*09625cffSIan Rogers        "BriefDescription": "Number of page walks outstanding for a store in the PMH each cycle.",
110*09625cffSIan Rogers        "EventCode": "0x49",
111*09625cffSIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
112*09625cffSIan Rogers        "PublicDescription": "Counts the number of page walks outstanding for a store in the PMH (Page Miss Handler) each cycle.",
113cdb29a8fSJin Yao        "SampleAfterValue": "100003",
114cdb29a8fSJin Yao        "UMask": "0x10"
115cdb29a8fSJin Yao    },
116cdb29a8fSJin Yao    {
117cdb29a8fSJin Yao        "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.",
118cdb29a8fSJin Yao        "EventCode": "0x85",
119cdb29a8fSJin Yao        "EventName": "ITLB_MISSES.STLB_HIT",
120cdb29a8fSJin Yao        "PublicDescription": "Counts instruction fetch requests that miss the ITLB (Instruction TLB) and hit the STLB (Second-level TLB).",
121cdb29a8fSJin Yao        "SampleAfterValue": "100003",
122cdb29a8fSJin Yao        "UMask": "0x20"
123cdb29a8fSJin Yao    },
124cdb29a8fSJin Yao    {
125*09625cffSIan Rogers        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request.",
126*09625cffSIan Rogers        "CounterMask": "1",
127*09625cffSIan Rogers        "EventCode": "0x85",
128*09625cffSIan Rogers        "EventName": "ITLB_MISSES.WALK_ACTIVE",
129*09625cffSIan Rogers        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a code (instruction fetch) request.",
130*09625cffSIan Rogers        "SampleAfterValue": "100003",
131*09625cffSIan Rogers        "UMask": "0x10"
132*09625cffSIan Rogers    },
133*09625cffSIan Rogers    {
134*09625cffSIan Rogers        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)",
135*09625cffSIan Rogers        "EventCode": "0x85",
136*09625cffSIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED",
137*09625cffSIan 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.",
138*09625cffSIan Rogers        "SampleAfterValue": "100003",
139*09625cffSIan Rogers        "UMask": "0xe"
140*09625cffSIan Rogers    },
141*09625cffSIan Rogers    {
142*09625cffSIan Rogers        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
143*09625cffSIan Rogers        "EventCode": "0x85",
144*09625cffSIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
145*09625cffSIan 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.",
146*09625cffSIan Rogers        "SampleAfterValue": "100003",
147*09625cffSIan Rogers        "UMask": "0x4"
148*09625cffSIan Rogers    },
149*09625cffSIan Rogers    {
150*09625cffSIan Rogers        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
151*09625cffSIan Rogers        "EventCode": "0x85",
152*09625cffSIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
153*09625cffSIan 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.",
154*09625cffSIan Rogers        "SampleAfterValue": "100003",
155*09625cffSIan Rogers        "UMask": "0x2"
156*09625cffSIan Rogers    },
157*09625cffSIan Rogers    {
158*09625cffSIan Rogers        "BriefDescription": "Number of page walks outstanding for an outstanding code request in the PMH each cycle.",
159*09625cffSIan Rogers        "EventCode": "0x85",
160*09625cffSIan Rogers        "EventName": "ITLB_MISSES.WALK_PENDING",
161*09625cffSIan Rogers        "PublicDescription": "Counts the number of page walks outstanding for an outstanding code (instruction fetch) request in the PMH (Page Miss Handler) each cycle.",
162*09625cffSIan Rogers        "SampleAfterValue": "100003",
163*09625cffSIan Rogers        "UMask": "0x10"
164*09625cffSIan Rogers    },
165*09625cffSIan Rogers    {
166cdb29a8fSJin Yao        "BriefDescription": "DTLB flush attempts of the thread-specific entries",
167cdb29a8fSJin Yao        "EventCode": "0xBD",
168cdb29a8fSJin Yao        "EventName": "TLB_FLUSH.DTLB_THREAD",
169cdb29a8fSJin Yao        "PublicDescription": "Counts the number of DTLB flush attempts of the thread-specific entries.",
170cdb29a8fSJin Yao        "SampleAfterValue": "100007",
171cdb29a8fSJin Yao        "UMask": "0x1"
172cdb29a8fSJin Yao    },
173cdb29a8fSJin Yao    {
174cdb29a8fSJin Yao        "BriefDescription": "STLB flush attempts",
175cdb29a8fSJin Yao        "EventCode": "0xBD",
176cdb29a8fSJin Yao        "EventName": "TLB_FLUSH.STLB_ANY",
177cdb29a8fSJin Yao        "PublicDescription": "Counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, etc.).",
178cdb29a8fSJin Yao        "SampleAfterValue": "100007",
179cdb29a8fSJin Yao        "UMask": "0x20"
180cdb29a8fSJin Yao    }
181cdb29a8fSJin Yao]
182