xref: /openbmc/linux/tools/perf/pmu-events/arch/x86/icelake/virtual-memory.json (revision 7ae9fb1b7ecbb5d85d07857943f677fd1a559b18)
1b115df07SHaiyan Song[
2b115df07SHaiyan Song    {
3*dd7415ceSIan Rogers        "BriefDescription": "Loads that miss the DTLB and hit the STLB.",
4*dd7415ceSIan Rogers        "EventCode": "0x08",
5*dd7415ceSIan Rogers        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
6*dd7415ceSIan Rogers        "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).",
771fbc431SJin Yao        "SampleAfterValue": "100003",
871fbc431SJin Yao        "UMask": "0x20"
971fbc431SJin Yao    },
1071fbc431SJin Yao    {
1171fbc431SJin Yao        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
1271fbc431SJin Yao        "CounterMask": "1",
1371fbc431SJin Yao        "EventCode": "0x08",
1471fbc431SJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE",
1571fbc431SJin Yao        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a demand load.",
1671fbc431SJin Yao        "SampleAfterValue": "100003",
1771fbc431SJin Yao        "UMask": "0x10"
1871fbc431SJin Yao    },
1971fbc431SJin Yao    {
20*dd7415ceSIan Rogers        "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)",
21*dd7415ceSIan Rogers        "EventCode": "0x08",
22*dd7415ceSIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
23*dd7415ceSIan 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.",
2471fbc431SJin Yao        "SampleAfterValue": "100003",
25*dd7415ceSIan Rogers        "UMask": "0xe"
26*dd7415ceSIan Rogers    },
27*dd7415ceSIan Rogers    {
28*dd7415ceSIan Rogers        "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
29*dd7415ceSIan Rogers        "EventCode": "0x08",
30*dd7415ceSIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
31*dd7415ceSIan 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.",
32*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
33*dd7415ceSIan Rogers        "UMask": "0x4"
3471fbc431SJin Yao    },
3571fbc431SJin Yao    {
3671fbc431SJin Yao        "BriefDescription": "Page walks completed due to a demand data load to a 4K page.",
3771fbc431SJin Yao        "EventCode": "0x08",
3871fbc431SJin Yao        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
3971fbc431SJin 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.",
4071fbc431SJin Yao        "SampleAfterValue": "100003",
4171fbc431SJin Yao        "UMask": "0x2"
4271fbc431SJin Yao    },
4371fbc431SJin Yao    {
44*dd7415ceSIan Rogers        "BriefDescription": "Number of page walks outstanding for a demand load in the PMH each cycle.",
45*dd7415ceSIan Rogers        "EventCode": "0x08",
46*dd7415ceSIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
47*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of page walks outstanding for a demand load in the PMH (Page Miss Handler) each cycle.",
4871fbc431SJin Yao        "SampleAfterValue": "100003",
49*dd7415ceSIan Rogers        "UMask": "0x10"
50*dd7415ceSIan Rogers    },
51*dd7415ceSIan Rogers    {
52*dd7415ceSIan Rogers        "BriefDescription": "Stores that miss the DTLB and hit the STLB.",
53*dd7415ceSIan Rogers        "EventCode": "0x49",
54*dd7415ceSIan Rogers        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
55*dd7415ceSIan Rogers        "PublicDescription": "Counts stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).",
56*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
57*dd7415ceSIan Rogers        "UMask": "0x20"
5871fbc431SJin Yao    },
5971fbc431SJin Yao    {
6071fbc431SJin Yao        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store.",
6171fbc431SJin Yao        "CounterMask": "1",
6271fbc431SJin Yao        "EventCode": "0x49",
6371fbc431SJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE",
6471fbc431SJin Yao        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.",
6571fbc431SJin Yao        "SampleAfterValue": "100003",
6671fbc431SJin Yao        "UMask": "0x10"
6771fbc431SJin Yao    },
6871fbc431SJin Yao    {
6971fbc431SJin Yao        "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)",
7071fbc431SJin Yao        "EventCode": "0x49",
7171fbc431SJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
7271fbc431SJin 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.",
7371fbc431SJin Yao        "SampleAfterValue": "100003",
7471fbc431SJin Yao        "UMask": "0xe"
7571fbc431SJin Yao    },
7671fbc431SJin Yao    {
77*dd7415ceSIan Rogers        "BriefDescription": "Page walks completed due to a demand data store to a 2M/4M page.",
78*dd7415ceSIan Rogers        "EventCode": "0x49",
79*dd7415ceSIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
80*dd7415ceSIan 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.",
8171fbc431SJin Yao        "SampleAfterValue": "100003",
82*dd7415ceSIan Rogers        "UMask": "0x4"
8371fbc431SJin Yao    },
8471fbc431SJin Yao    {
8571fbc431SJin Yao        "BriefDescription": "Page walks completed due to a demand data store to a 4K page.",
8671fbc431SJin Yao        "EventCode": "0x49",
8771fbc431SJin Yao        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
8871fbc431SJin 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.",
8971fbc431SJin Yao        "SampleAfterValue": "100003",
9071fbc431SJin Yao        "UMask": "0x2"
9171fbc431SJin Yao    },
9271fbc431SJin Yao    {
93*dd7415ceSIan Rogers        "BriefDescription": "Number of page walks outstanding for a store in the PMH each cycle.",
94*dd7415ceSIan Rogers        "EventCode": "0x49",
95*dd7415ceSIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
96*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of page walks outstanding for a store in the PMH (Page Miss Handler) each cycle.",
97*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
98*dd7415ceSIan Rogers        "UMask": "0x10"
99*dd7415ceSIan Rogers    },
100*dd7415ceSIan Rogers    {
10171fbc431SJin Yao        "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.",
10271fbc431SJin Yao        "EventCode": "0x85",
10371fbc431SJin Yao        "EventName": "ITLB_MISSES.STLB_HIT",
10471fbc431SJin Yao        "PublicDescription": "Counts instruction fetch requests that miss the ITLB (Instruction TLB) and hit the STLB (Second-level TLB).",
10571fbc431SJin Yao        "SampleAfterValue": "100003",
10671fbc431SJin Yao        "UMask": "0x20"
10771fbc431SJin Yao    },
10871fbc431SJin Yao    {
10971fbc431SJin Yao        "BriefDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request.",
11071fbc431SJin Yao        "CounterMask": "1",
11171fbc431SJin Yao        "EventCode": "0x85",
11271fbc431SJin Yao        "EventName": "ITLB_MISSES.WALK_ACTIVE",
11371fbc431SJin Yao        "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a code (instruction fetch) request.",
11471fbc431SJin Yao        "SampleAfterValue": "100003",
11571fbc431SJin Yao        "UMask": "0x10"
11671fbc431SJin Yao    },
11771fbc431SJin Yao    {
118*dd7415ceSIan Rogers        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)",
119*dd7415ceSIan Rogers        "EventCode": "0x85",
120*dd7415ceSIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED",
121*dd7415ceSIan 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.",
12271fbc431SJin Yao        "SampleAfterValue": "100003",
123*dd7415ceSIan Rogers        "UMask": "0xe"
124*dd7415ceSIan Rogers    },
125*dd7415ceSIan Rogers    {
126*dd7415ceSIan Rogers        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)",
127*dd7415ceSIan Rogers        "EventCode": "0x85",
128*dd7415ceSIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
129*dd7415ceSIan 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.",
130*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
131*dd7415ceSIan Rogers        "UMask": "0x4"
132*dd7415ceSIan Rogers    },
133*dd7415ceSIan Rogers    {
134*dd7415ceSIan Rogers        "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)",
135*dd7415ceSIan Rogers        "EventCode": "0x85",
136*dd7415ceSIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
137*dd7415ceSIan 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.",
138*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
139*dd7415ceSIan Rogers        "UMask": "0x2"
140*dd7415ceSIan Rogers    },
141*dd7415ceSIan Rogers    {
142*dd7415ceSIan Rogers        "BriefDescription": "Number of page walks outstanding for an outstanding code request in the PMH each cycle.",
143*dd7415ceSIan Rogers        "EventCode": "0x85",
144*dd7415ceSIan Rogers        "EventName": "ITLB_MISSES.WALK_PENDING",
145*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of page walks outstanding for an outstanding code (instruction fetch) request in the PMH (Page Miss Handler) each cycle.",
146*dd7415ceSIan Rogers        "SampleAfterValue": "100003",
147*dd7415ceSIan Rogers        "UMask": "0x10"
148*dd7415ceSIan Rogers    },
149*dd7415ceSIan Rogers    {
150*dd7415ceSIan Rogers        "BriefDescription": "DTLB flush attempts of the thread-specific entries",
151*dd7415ceSIan Rogers        "EventCode": "0xBD",
152*dd7415ceSIan Rogers        "EventName": "TLB_FLUSH.DTLB_THREAD",
153*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of DTLB flush attempts of the thread-specific entries.",
154*dd7415ceSIan Rogers        "SampleAfterValue": "100007",
155*dd7415ceSIan Rogers        "UMask": "0x1"
156*dd7415ceSIan Rogers    },
157*dd7415ceSIan Rogers    {
158*dd7415ceSIan Rogers        "BriefDescription": "STLB flush attempts",
159*dd7415ceSIan Rogers        "EventCode": "0xBD",
160*dd7415ceSIan Rogers        "EventName": "TLB_FLUSH.STLB_ANY",
161*dd7415ceSIan Rogers        "PublicDescription": "Counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, etc.).",
162*dd7415ceSIan Rogers        "SampleAfterValue": "100007",
16371fbc431SJin Yao        "UMask": "0x20"
164b115df07SHaiyan Song    }
165b115df07SHaiyan Song]
166