xref: /linux/tools/perf/pmu-events/arch/x86/snowridgex/virtual-memory.json (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
19146af44SZhengjun Xing[
29146af44SZhengjun Xing    {
39146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks due to loads that miss the PDE (Page Directory Entry) cache.",
4*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
59146af44SZhengjun Xing        "EventCode": "0x08",
69146af44SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.PDE_CACHE_MISS",
79146af44SZhengjun Xing        "SampleAfterValue": "200003",
89146af44SZhengjun Xing        "UMask": "0x80"
99146af44SZhengjun Xing    },
109146af44SZhengjun Xing    {
11b43a5442SZhengjun Xing        "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. Account for all page sizes. Will result in a DTLB write from STLB.",
12*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
139146af44SZhengjun Xing        "EventCode": "0x08",
149146af44SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.STLB_HIT",
159146af44SZhengjun Xing        "SampleAfterValue": "200003",
169146af44SZhengjun Xing        "UMask": "0x20"
179146af44SZhengjun Xing    },
189146af44SZhengjun Xing    {
199146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to any page size.",
20*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
219146af44SZhengjun Xing        "EventCode": "0x08",
229146af44SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED",
239146af44SZhengjun 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.",
249146af44SZhengjun Xing        "SampleAfterValue": "200003",
259146af44SZhengjun Xing        "UMask": "0xe"
269146af44SZhengjun Xing    },
279146af44SZhengjun Xing    {
289146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 1G page.",
29*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
309146af44SZhengjun Xing        "EventCode": "0x08",
319146af44SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G",
329146af44SZhengjun 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 1GB pages. Includes page walks that page fault.",
339146af44SZhengjun Xing        "SampleAfterValue": "200003",
349146af44SZhengjun Xing        "UMask": "0x8"
359146af44SZhengjun Xing    },
369146af44SZhengjun Xing    {
379146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or 4M page.",
38*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
399146af44SZhengjun Xing        "EventCode": "0x08",
409146af44SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M",
419146af44SZhengjun 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 2M or 4M pages. Includes page walks that page fault.",
429146af44SZhengjun Xing        "SampleAfterValue": "200003",
439146af44SZhengjun Xing        "UMask": "0x4"
449146af44SZhengjun Xing    },
459146af44SZhengjun Xing    {
469146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 4K page.",
47*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
489146af44SZhengjun Xing        "EventCode": "0x08",
499146af44SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K",
509146af44SZhengjun 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 4K pages. Includes page walks that page fault.",
519146af44SZhengjun Xing        "SampleAfterValue": "200003",
529146af44SZhengjun Xing        "UMask": "0x2"
539146af44SZhengjun Xing    },
549146af44SZhengjun Xing    {
55b43a5442SZhengjun Xing        "BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for demand loads every cycle.",
56*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
579146af44SZhengjun Xing        "EventCode": "0x08",
589146af44SZhengjun Xing        "EventName": "DTLB_LOAD_MISSES.WALK_PENDING",
59b43a5442SZhengjun Xing        "PublicDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for demand loads every cycle.  A page walk is outstanding from start till PMH becomes idle again (ready to serve next walk). Includes EPT-walk intervals.",
609146af44SZhengjun Xing        "SampleAfterValue": "200003",
619146af44SZhengjun Xing        "UMask": "0x10"
629146af44SZhengjun Xing    },
639146af44SZhengjun Xing    {
649146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks due to stores that miss the PDE (Page Directory Entry) cache.",
65*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
669146af44SZhengjun Xing        "EventCode": "0x49",
679146af44SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.PDE_CACHE_MISS",
689146af44SZhengjun Xing        "SampleAfterValue": "2000003",
699146af44SZhengjun Xing        "UMask": "0x80"
709146af44SZhengjun Xing    },
719146af44SZhengjun Xing    {
729146af44SZhengjun Xing        "BriefDescription": "Counts the number of first level TLB misses but second level hits due to stores that did not start a page walk. Account for all pages sizes. Will result in a DTLB write from STLB.",
73*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
749146af44SZhengjun Xing        "EventCode": "0x49",
759146af44SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.STLB_HIT",
769146af44SZhengjun Xing        "SampleAfterValue": "2000003",
779146af44SZhengjun Xing        "UMask": "0x20"
789146af44SZhengjun Xing    },
799146af44SZhengjun Xing    {
809146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to any page size.",
81*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
829146af44SZhengjun Xing        "EventCode": "0x49",
839146af44SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED",
849146af44SZhengjun 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.",
859146af44SZhengjun Xing        "SampleAfterValue": "200003",
869146af44SZhengjun Xing        "UMask": "0xe"
879146af44SZhengjun Xing    },
889146af44SZhengjun Xing    {
899146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 1G page.",
90*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
919146af44SZhengjun Xing        "EventCode": "0x49",
929146af44SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G",
939146af44SZhengjun 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 1G pages.  Includes page walks that page fault.",
949146af44SZhengjun Xing        "SampleAfterValue": "200003",
959146af44SZhengjun Xing        "UMask": "0x8"
969146af44SZhengjun Xing    },
979146af44SZhengjun Xing    {
989146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 2M or 4M page.",
99*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1009146af44SZhengjun Xing        "EventCode": "0x49",
1019146af44SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M",
1029146af44SZhengjun 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 2M or 4M pages.  Includes page walks that page fault.",
1039146af44SZhengjun Xing        "SampleAfterValue": "2000003",
1049146af44SZhengjun Xing        "UMask": "0x4"
1059146af44SZhengjun Xing    },
1069146af44SZhengjun Xing    {
1079146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to store DTLB misses to a 4K page.",
108*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1099146af44SZhengjun Xing        "EventCode": "0x49",
1109146af44SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K",
1119146af44SZhengjun 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 4K pages.  Includes page walks that page fault.",
1129146af44SZhengjun Xing        "SampleAfterValue": "2000003",
1139146af44SZhengjun Xing        "UMask": "0x2"
1149146af44SZhengjun Xing    },
1159146af44SZhengjun Xing    {
1169146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for stores every cycle.",
117*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1189146af44SZhengjun Xing        "EventCode": "0x49",
1199146af44SZhengjun Xing        "EventName": "DTLB_STORE_MISSES.WALK_PENDING",
1209146af44SZhengjun Xing        "PublicDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for stores every cycle.  A page walk is outstanding from start till PMH becomes idle again (ready to serve next walk). Includes EPT-walk intervals.",
1219146af44SZhengjun Xing        "SampleAfterValue": "200003",
1229146af44SZhengjun Xing        "UMask": "0x10"
1239146af44SZhengjun Xing    },
1249146af44SZhengjun Xing    {
1259146af44SZhengjun Xing        "BriefDescription": "Counts the number of Extended Page Directory Entry hits.",
126*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1279146af44SZhengjun Xing        "EventCode": "0x4f",
1289146af44SZhengjun Xing        "EventName": "EPT.EPDE_HIT",
1299146af44SZhengjun Xing        "PublicDescription": "Counts the number of Extended Page Directory Entry hits.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
1309146af44SZhengjun Xing        "SampleAfterValue": "2000003",
131b43a5442SZhengjun Xing        "UMask": "0x1"
1329146af44SZhengjun Xing    },
1339146af44SZhengjun Xing    {
1349146af44SZhengjun Xing        "BriefDescription": "Counts the number of Extended Page Directory Entry misses.",
135*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1369146af44SZhengjun Xing        "EventCode": "0x4f",
1379146af44SZhengjun Xing        "EventName": "EPT.EPDE_MISS",
1389146af44SZhengjun Xing        "PublicDescription": "Counts the number Extended Page Directory Entry misses.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
1399146af44SZhengjun Xing        "SampleAfterValue": "2000003",
140b43a5442SZhengjun Xing        "UMask": "0x2"
1419146af44SZhengjun Xing    },
1429146af44SZhengjun Xing    {
1439146af44SZhengjun Xing        "BriefDescription": "Counts the number of Extended Page Directory Pointer Entry hits.",
144*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1459146af44SZhengjun Xing        "EventCode": "0x4f",
1469146af44SZhengjun Xing        "EventName": "EPT.EPDPE_HIT",
1479146af44SZhengjun Xing        "PublicDescription": "Counts the number Extended Page Directory Pointer Entry hits.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
1489146af44SZhengjun Xing        "SampleAfterValue": "2000003",
1499146af44SZhengjun Xing        "UMask": "0x4"
1509146af44SZhengjun Xing    },
1519146af44SZhengjun Xing    {
1529146af44SZhengjun Xing        "BriefDescription": "Counts the number of Extended Page Directory Pointer Entry misses.",
153*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1549146af44SZhengjun Xing        "EventCode": "0x4f",
1559146af44SZhengjun Xing        "EventName": "EPT.EPDPE_MISS",
1569146af44SZhengjun Xing        "PublicDescription": "Counts the number Extended Page Directory Pointer Entry misses.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
1579146af44SZhengjun Xing        "SampleAfterValue": "2000003",
1589146af44SZhengjun Xing        "UMask": "0x8"
1599146af44SZhengjun Xing    },
1609146af44SZhengjun Xing    {
1619146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks outstanding for an Extended Page table walk including GTLB hits per cycle.",
162*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1639146af44SZhengjun Xing        "EventCode": "0x4f",
1649146af44SZhengjun Xing        "EventName": "EPT.WALK_PENDING",
1659146af44SZhengjun Xing        "PublicDescription": "Counts the number of page walks outstanding for an Extended Page table walk including GTLB hits per cycle.  The Extended Page Directory cache is used by Virtual Machine operating systems while the guest operating systems use the standard TLB caches.",
1669146af44SZhengjun Xing        "SampleAfterValue": "200003",
1679146af44SZhengjun Xing        "UMask": "0x10"
1689146af44SZhengjun Xing    },
1699146af44SZhengjun Xing    {
1709146af44SZhengjun Xing        "BriefDescription": "Counts the number of times there was an ITLB miss and a new translation was filled into the ITLB.",
171*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1729146af44SZhengjun Xing        "EventCode": "0x81",
1739146af44SZhengjun Xing        "EventName": "ITLB.FILLS",
1749146af44SZhengjun Xing        "PublicDescription": "Counts the number of times the machine was unable to find a translation in the Instruction Translation Lookaside Buffer (ITLB) and a new translation was filled into the ITLB. The event is speculative in nature, but will not count translations (page walks) that are begun and not finished, or translations that are finished but not filled into the ITLB.",
1759146af44SZhengjun Xing        "SampleAfterValue": "200003",
1769146af44SZhengjun Xing        "UMask": "0x4"
1779146af44SZhengjun Xing    },
1789146af44SZhengjun Xing    {
1799146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks due to an instruction fetch that miss the PDE (Page Directory Entry) cache.",
180*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1819146af44SZhengjun Xing        "EventCode": "0x85",
1829146af44SZhengjun Xing        "EventName": "ITLB_MISSES.PDE_CACHE_MISS",
1839146af44SZhengjun Xing        "SampleAfterValue": "2000003",
1849146af44SZhengjun Xing        "UMask": "0x80"
1859146af44SZhengjun Xing    },
1869146af44SZhengjun Xing    {
187b43a5442SZhengjun Xing        "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.",
188*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1899146af44SZhengjun Xing        "EventCode": "0x85",
1909146af44SZhengjun Xing        "EventName": "ITLB_MISSES.STLB_HIT",
1919146af44SZhengjun Xing        "SampleAfterValue": "2000003",
1929146af44SZhengjun Xing        "UMask": "0x20"
1939146af44SZhengjun Xing    },
1949146af44SZhengjun Xing    {
1959146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to any page size.",
196*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
1979146af44SZhengjun Xing        "EventCode": "0x85",
1989146af44SZhengjun Xing        "EventName": "ITLB_MISSES.WALK_COMPLETED",
1999146af44SZhengjun 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.",
2009146af44SZhengjun Xing        "SampleAfterValue": "200003",
2019146af44SZhengjun Xing        "UMask": "0xe"
2029146af44SZhengjun Xing    },
2039146af44SZhengjun Xing    {
2049146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 1G page.",
205*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
2069146af44SZhengjun Xing        "EventCode": "0x85",
2079146af44SZhengjun Xing        "EventName": "ITLB_MISSES.WALK_COMPLETED_1G",
2089146af44SZhengjun 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 1G pages.  Includes page walks that page fault.",
2099146af44SZhengjun Xing        "SampleAfterValue": "200003",
2109146af44SZhengjun Xing        "UMask": "0x8"
2119146af44SZhengjun Xing    },
2129146af44SZhengjun Xing    {
2139146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 2M or 4M page.",
214*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
2159146af44SZhengjun Xing        "EventCode": "0x85",
2169146af44SZhengjun Xing        "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M",
2179146af44SZhengjun 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 2M or 4M pages.  Includes page walks that page fault.",
2189146af44SZhengjun Xing        "SampleAfterValue": "2000003",
2199146af44SZhengjun Xing        "UMask": "0x4"
2209146af44SZhengjun Xing    },
2219146af44SZhengjun Xing    {
2229146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks completed due to instruction fetch misses to a 4K page.",
223*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
2249146af44SZhengjun Xing        "EventCode": "0x85",
2259146af44SZhengjun Xing        "EventName": "ITLB_MISSES.WALK_COMPLETED_4K",
2269146af44SZhengjun 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 4K pages.  Includes page walks that page fault.",
2279146af44SZhengjun Xing        "SampleAfterValue": "2000003",
2289146af44SZhengjun Xing        "UMask": "0x2"
2299146af44SZhengjun Xing    },
2309146af44SZhengjun Xing    {
2319146af44SZhengjun Xing        "BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for instruction fetches every cycle.",
232*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
2339146af44SZhengjun Xing        "EventCode": "0x85",
2349146af44SZhengjun Xing        "EventName": "ITLB_MISSES.WALK_PENDING",
2359146af44SZhengjun Xing        "PublicDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) for instruction fetches every cycle.  A page walk is outstanding from start till PMH becomes idle again (ready to serve next walk).",
2369146af44SZhengjun Xing        "SampleAfterValue": "200003",
2379146af44SZhengjun Xing        "UMask": "0x10"
2389146af44SZhengjun Xing    },
2399146af44SZhengjun Xing    {
2409146af44SZhengjun Xing        "BriefDescription": "Counts the number of retired loads that are blocked due to a first level TLB miss.",
241*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
2429146af44SZhengjun Xing        "EventCode": "0x03",
2439146af44SZhengjun Xing        "EventName": "LD_BLOCKS.DTLB_MISS",
2449146af44SZhengjun Xing        "PEBS": "1",
2459146af44SZhengjun Xing        "SampleAfterValue": "1000003",
2469146af44SZhengjun Xing        "UMask": "0x8"
2479146af44SZhengjun Xing    },
2489146af44SZhengjun Xing    {
249b43a5442SZhengjun Xing        "BriefDescription": "Counts the number of memory uops retired that missed in the second level TLB.",
250*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
2519146af44SZhengjun Xing        "Data_LA": "1",
2529146af44SZhengjun Xing        "EventCode": "0xd0",
2539146af44SZhengjun Xing        "EventName": "MEM_UOPS_RETIRED.DTLB_MISS",
2549146af44SZhengjun Xing        "PEBS": "1",
2559146af44SZhengjun Xing        "SampleAfterValue": "200003",
2569146af44SZhengjun Xing        "UMask": "0x13"
2579146af44SZhengjun Xing    },
2589146af44SZhengjun Xing    {
259b43a5442SZhengjun Xing        "BriefDescription": "Counts the number of load uops retired that miss in the second Level TLB.",
260*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
2619146af44SZhengjun Xing        "Data_LA": "1",
2629146af44SZhengjun Xing        "EventCode": "0xd0",
2639146af44SZhengjun Xing        "EventName": "MEM_UOPS_RETIRED.DTLB_MISS_LOADS",
2649146af44SZhengjun Xing        "PEBS": "1",
2659146af44SZhengjun Xing        "SampleAfterValue": "200003",
2669146af44SZhengjun Xing        "UMask": "0x11"
2679146af44SZhengjun Xing    },
2689146af44SZhengjun Xing    {
269b43a5442SZhengjun Xing        "BriefDescription": "Counts the number of store uops retired that miss in the second level TLB.",
270*7c79eb5cSIan Rogers        "Counter": "0,1,2,3",
2719146af44SZhengjun Xing        "Data_LA": "1",
2729146af44SZhengjun Xing        "EventCode": "0xd0",
2739146af44SZhengjun Xing        "EventName": "MEM_UOPS_RETIRED.DTLB_MISS_STORES",
2749146af44SZhengjun Xing        "PEBS": "1",
2759146af44SZhengjun Xing        "SampleAfterValue": "200003",
2769146af44SZhengjun Xing        "UMask": "0x12"
2779146af44SZhengjun Xing    }
2789146af44SZhengjun Xing]
279