xref: /linux/tools/perf/pmu-events/arch/x86/grandridge/virtual-memory.json (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1dbe9d887SIan Rogers[
2dbe9d887SIan Rogers    {
324cda308SIan Rogers        "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*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
524cda308SIan Rogers        "EventCode": "0x08",
624cda308SIan Rogers        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
724cda308SIan Rogers        "SampleAfterValue": "200003",
824cda308SIan Rogers        "UMask": "0x20"
924cda308SIan Rogers    },
1024cda308SIan Rogers    {
1124cda308SIan Rogers        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses.",
12*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
13dbe9d887SIan Rogers        "EventCode": "0x08",
14dbe9d887SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
1524cda308SIan Rogers        "SampleAfterValue": "200003",
16dbe9d887SIan Rogers        "UMask": "0xe"
17dbe9d887SIan Rogers    },
18dbe9d887SIan Rogers    {
1924cda308SIan Rogers        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or 4M page.",
20*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
2124cda308SIan Rogers        "EventCode": "0x08",
2224cda308SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
2324cda308SIan Rogers        "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.",
2424cda308SIan Rogers        "SampleAfterValue": "200003",
2524cda308SIan Rogers        "UMask": "0x4"
2624cda308SIan Rogers    },
2724cda308SIan Rogers    {
2824cda308SIan Rogers        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 4K page.",
29*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
3024cda308SIan Rogers        "EventCode": "0x08",
3124cda308SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
3224cda308SIan Rogers        "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 4K pages. Includes page walks that page fault.",
3324cda308SIan Rogers        "SampleAfterValue": "200003",
3424cda308SIan Rogers        "UMask": "0x2"
3524cda308SIan Rogers    },
3624cda308SIan Rogers    {
3724cda308SIan Rogers        "BriefDescription": "Counts the number of page walks outstanding for Loads (demand or SW prefetch) in PMH every cycle.",
38*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
3924cda308SIan Rogers        "EventCode": "0x08",
4024cda308SIan Rogers        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
4124cda308SIan Rogers        "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.",
4224cda308SIan Rogers        "SampleAfterValue": "200003",
4324cda308SIan Rogers        "UMask": "0x10"
4424cda308SIan Rogers    },
4524cda308SIan Rogers    {
4624cda308SIan Rogers        "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.",
47*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
4824cda308SIan Rogers        "EventCode": "0x49",
4924cda308SIan Rogers        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
5024cda308SIan Rogers        "SampleAfterValue": "2000003",
5124cda308SIan Rogers        "UMask": "0x20"
5224cda308SIan Rogers    },
5324cda308SIan Rogers    {
54dbe9d887SIan Rogers        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 1G page.",
55*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
56dbe9d887SIan Rogers        "EventCode": "0x49",
57dbe9d887SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
5824cda308SIan Rogers        "SampleAfterValue": "2000003",
59dbe9d887SIan Rogers        "UMask": "0xe"
60dbe9d887SIan Rogers    },
61dbe9d887SIan Rogers    {
6224cda308SIan Rogers        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 2M or 4M page.",
63*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
6424cda308SIan Rogers        "EventCode": "0x49",
6524cda308SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
6624cda308SIan Rogers        "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 2M or 4M pages.  Includes page walks that page fault.",
6724cda308SIan Rogers        "SampleAfterValue": "2000003",
6824cda308SIan Rogers        "UMask": "0x4"
6924cda308SIan Rogers    },
7024cda308SIan Rogers    {
7124cda308SIan Rogers        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 4K page.",
72*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
7324cda308SIan Rogers        "EventCode": "0x49",
7424cda308SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
7524cda308SIan Rogers        "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 4K pages.  Includes page walks that page fault.",
7624cda308SIan Rogers        "SampleAfterValue": "2000003",
7724cda308SIan Rogers        "UMask": "0x2"
7824cda308SIan Rogers    },
7924cda308SIan Rogers    {
8024cda308SIan Rogers        "BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for stores every cycle.",
81*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
8224cda308SIan Rogers        "EventCode": "0x49",
8324cda308SIan Rogers        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
8424cda308SIan Rogers        "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.",
8524cda308SIan Rogers        "SampleAfterValue": "200003",
8624cda308SIan Rogers        "UMask": "0x10"
8724cda308SIan Rogers    },
8824cda308SIan Rogers    {
8924cda308SIan Rogers        "BriefDescription": "Counts the number of page walks initiated by a instruction fetch that missed the first and second level TLBs.",
90*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
9124cda308SIan Rogers        "EventCode": "0x85",
9224cda308SIan Rogers        "EventName": "ITLB_MISSES.MISS_CAUSED_WALK",
9324cda308SIan Rogers        "SampleAfterValue": "1000003",
9424cda308SIan Rogers        "UMask": "0x1"
9524cda308SIan Rogers    },
9624cda308SIan Rogers    {
9724cda308SIan Rogers        "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.",
98*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
9924cda308SIan Rogers        "EventCode": "0x85",
10024cda308SIan Rogers        "EventName": "ITLB_MISSES.STLB_HIT",
10124cda308SIan Rogers        "SampleAfterValue": "2000003",
10224cda308SIan Rogers        "UMask": "0x20"
10324cda308SIan Rogers    },
10424cda308SIan Rogers    {
105dbe9d887SIan Rogers        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to any page size.",
106*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
107dbe9d887SIan Rogers        "EventCode": "0x85",
108dbe9d887SIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED",
109dbe9d887SIan Rogers        "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.",
110dbe9d887SIan Rogers        "SampleAfterValue": "200003",
111dbe9d887SIan Rogers        "UMask": "0xe"
11224cda308SIan Rogers    },
11324cda308SIan Rogers    {
11424cda308SIan Rogers        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 2M or 4M page.",
115*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
11624cda308SIan Rogers        "EventCode": "0x85",
11724cda308SIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
11824cda308SIan Rogers        "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.",
11924cda308SIan Rogers        "SampleAfterValue": "2000003",
12024cda308SIan Rogers        "UMask": "0x4"
12124cda308SIan Rogers    },
12224cda308SIan Rogers    {
12324cda308SIan Rogers        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 4K page.",
124*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
12524cda308SIan Rogers        "EventCode": "0x85",
12624cda308SIan Rogers        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
12724cda308SIan Rogers        "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 4K pages.  Includes page walks that page fault.",
12824cda308SIan Rogers        "SampleAfterValue": "2000003",
12924cda308SIan Rogers        "UMask": "0x2"
13024cda308SIan Rogers    },
13124cda308SIan Rogers    {
13224cda308SIan Rogers        "BriefDescription": "Counts the number of page walks outstanding for iside in PMH every cycle.",
133*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
13424cda308SIan Rogers        "EventCode": "0x85",
13524cda308SIan Rogers        "EventName": "ITLB_MISSES.WALK_PENDING",
13624cda308SIan Rogers        "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.",
13724cda308SIan Rogers        "SampleAfterValue": "200003",
13824cda308SIan Rogers        "UMask": "0x10"
13924cda308SIan Rogers    },
14024cda308SIan Rogers    {
14124cda308SIan Rogers        "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.",
142*39c1471eSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
14324cda308SIan Rogers        "EventCode": "0x05",
14424cda308SIan Rogers        "EventName": "LD_HEAD.DTLB_MISS_AT_RET",
14524cda308SIan Rogers        "SampleAfterValue": "1000003",
14624cda308SIan Rogers        "UMask": "0x90"
147dbe9d887SIan Rogers    }
148dbe9d887SIan Rogers]
149