1630171d4SAndi Kleen[ 2630171d4SAndi Kleen { 3*2c72404eSJin Yao "BriefDescription": "Load misses in all DTLB levels that cause page walks", 4*2c72404eSJin Yao "EventCode": "0x08", 5*2c72404eSJin Yao "EventName": "DTLB_LOAD_MISSES.MISS_CAUSES_A_WALK", 6*2c72404eSJin Yao "PublicDescription": "Counts demand data loads that caused a page walk of any page size (4K/2M/4M/1G). This implies it missed in all TLB levels, but the walk need not have completed.", 7630171d4SAndi Kleen "SampleAfterValue": "100003", 8b5ff7f27SJin Yao "UMask": "0x1" 9630171d4SAndi Kleen }, 10630171d4SAndi Kleen { 11b5ff7f27SJin Yao "BriefDescription": "Loads that miss the DTLB and hit the STLB.", 12b5ff7f27SJin Yao "EventCode": "0x08", 13b5ff7f27SJin Yao "EventName": "DTLB_LOAD_MISSES.STLB_HIT", 14b5ff7f27SJin Yao "PublicDescription": "Counts loads that miss the DTLB (Data TLB) and hit the STLB (Second level TLB).", 15b5ff7f27SJin Yao "SampleAfterValue": "2000003", 16b5ff7f27SJin Yao "UMask": "0x20" 17b5ff7f27SJin Yao }, 18b5ff7f27SJin Yao { 19*2c72404eSJin Yao "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk duration are excluded in Skylake.", 20*2c72404eSJin Yao "CounterMask": "1", 21*2c72404eSJin Yao "EventCode": "0x08", 22*2c72404eSJin Yao "EventName": "DTLB_LOAD_MISSES.WALK_ACTIVE", 23*2c72404eSJin Yao "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a load.", 24*2c72404eSJin Yao "SampleAfterValue": "100003", 25b5ff7f27SJin Yao "UMask": "0x10" 26b5ff7f27SJin Yao }, 27b5ff7f27SJin Yao { 28*2c72404eSJin Yao "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page sizes)", 29*2c72404eSJin Yao "EventCode": "0x08", 30*2c72404eSJin Yao "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED", 31*2c72404eSJin Yao "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.", 32*2c72404eSJin Yao "SampleAfterValue": "100003", 33*2c72404eSJin Yao "UMask": "0xe" 34*2c72404eSJin Yao }, 35*2c72404eSJin Yao { 36*2c72404eSJin Yao "BriefDescription": "Page walk completed due to a demand data load to a 1G page", 37*2c72404eSJin Yao "EventCode": "0x08", 38*2c72404eSJin Yao "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_1G", 39*2c72404eSJin Yao "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.", 40*2c72404eSJin Yao "SampleAfterValue": "2000003", 41*2c72404eSJin Yao "UMask": "0x8" 42*2c72404eSJin Yao }, 43*2c72404eSJin Yao { 44*2c72404eSJin Yao "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page", 45*2c72404eSJin Yao "EventCode": "0x08", 46*2c72404eSJin Yao "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_2M_4M", 47*2c72404eSJin Yao "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.", 48*2c72404eSJin Yao "SampleAfterValue": "2000003", 49*2c72404eSJin Yao "UMask": "0x4" 50*2c72404eSJin Yao }, 51*2c72404eSJin Yao { 52*2c72404eSJin Yao "BriefDescription": "Page walk completed due to a demand data load to a 4K page", 53*2c72404eSJin Yao "EventCode": "0x08", 54*2c72404eSJin Yao "EventName": "DTLB_LOAD_MISSES.WALK_COMPLETED_4K", 55*2c72404eSJin 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.", 56*2c72404eSJin Yao "SampleAfterValue": "2000003", 57*2c72404eSJin Yao "UMask": "0x2" 58630171d4SAndi Kleen }, 59630171d4SAndi Kleen { 60b5ff7f27SJin Yao "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a load. EPT page walk duration are excluded in Skylake.", 61b5ff7f27SJin Yao "EventCode": "0x08", 62b5ff7f27SJin Yao "EventName": "DTLB_LOAD_MISSES.WALK_PENDING", 63b5ff7f27SJin Yao "PublicDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a load. EPT page walk duration are excluded in Skylake microarchitecture.", 64b5ff7f27SJin Yao "SampleAfterValue": "2000003", 65b5ff7f27SJin Yao "UMask": "0x10" 66b5ff7f27SJin Yao }, 67b5ff7f27SJin Yao { 68*2c72404eSJin Yao "BriefDescription": "Store misses in all DTLB levels that cause page walks", 69b5ff7f27SJin Yao "EventCode": "0x49", 70*2c72404eSJin Yao "EventName": "DTLB_STORE_MISSES.MISS_CAUSES_A_WALK", 71*2c72404eSJin Yao "PublicDescription": "Counts demand data stores that caused a page walk of any page size (4K/2M/4M/1G). This implies it missed in all TLB levels, but the walk need not have completed.", 72b5ff7f27SJin Yao "SampleAfterValue": "100003", 73b5ff7f27SJin Yao "UMask": "0x1" 74b5ff7f27SJin Yao }, 75b5ff7f27SJin Yao { 76b5ff7f27SJin Yao "BriefDescription": "Stores that miss the DTLB and hit the STLB.", 77b5ff7f27SJin Yao "EventCode": "0x49", 78b5ff7f27SJin Yao "EventName": "DTLB_STORE_MISSES.STLB_HIT", 79b5ff7f27SJin Yao "PublicDescription": "Stores that miss the DTLB (Data TLB) and hit the STLB (2nd Level TLB).", 80b5ff7f27SJin Yao "SampleAfterValue": "100003", 81b5ff7f27SJin Yao "UMask": "0x20" 82b5ff7f27SJin Yao }, 83b5ff7f27SJin Yao { 84*2c72404eSJin Yao "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a store. EPT page walk duration are excluded in Skylake.", 85*2c72404eSJin Yao "CounterMask": "1", 86*2c72404eSJin Yao "EventCode": "0x49", 87*2c72404eSJin Yao "EventName": "DTLB_STORE_MISSES.WALK_ACTIVE", 88*2c72404eSJin Yao "PublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page walk for a store.", 89*2c72404eSJin Yao "SampleAfterValue": "100003", 90*2c72404eSJin Yao "UMask": "0x10" 91*2c72404eSJin Yao }, 92*2c72404eSJin Yao { 93b5ff7f27SJin Yao "BriefDescription": "Store misses in all TLB levels causes a page walk that completes. (All page sizes)", 94b5ff7f27SJin Yao "EventCode": "0x49", 95b5ff7f27SJin Yao "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED", 96*2c72404eSJin 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.", 97b5ff7f27SJin Yao "SampleAfterValue": "100003", 98b5ff7f27SJin Yao "UMask": "0xe" 99b5ff7f27SJin Yao }, 100b5ff7f27SJin Yao { 101*2c72404eSJin Yao "BriefDescription": "Page walk completed due to a demand data store to a 1G page", 102*2c72404eSJin Yao "EventCode": "0x49", 103*2c72404eSJin Yao "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_1G", 104*2c72404eSJin Yao "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.", 105b5ff7f27SJin Yao "SampleAfterValue": "100003", 106*2c72404eSJin Yao "UMask": "0x8" 107*2c72404eSJin Yao }, 108*2c72404eSJin Yao { 109*2c72404eSJin Yao "BriefDescription": "Page walk completed due to a demand data store to a 2M/4M page", 110*2c72404eSJin Yao "EventCode": "0x49", 111*2c72404eSJin Yao "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_2M_4M", 112*2c72404eSJin Yao "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.", 113*2c72404eSJin Yao "SampleAfterValue": "100003", 114*2c72404eSJin Yao "UMask": "0x4" 115b5ff7f27SJin Yao }, 116b5ff7f27SJin Yao { 117b5ff7f27SJin Yao "BriefDescription": "Page walk completed due to a demand data store to a 4K page", 118b5ff7f27SJin Yao "EventCode": "0x49", 119b5ff7f27SJin Yao "EventName": "DTLB_STORE_MISSES.WALK_COMPLETED_4K", 120*2c72404eSJin 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.", 121b5ff7f27SJin Yao "SampleAfterValue": "100003", 122b5ff7f27SJin Yao "UMask": "0x2" 123b5ff7f27SJin Yao }, 124b5ff7f27SJin Yao { 125*2c72404eSJin Yao "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a store. EPT page walk duration are excluded in Skylake.", 126*2c72404eSJin Yao "EventCode": "0x49", 127*2c72404eSJin Yao "EventName": "DTLB_STORE_MISSES.WALK_PENDING", 128*2c72404eSJin Yao "PublicDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for a store. EPT page walk duration are excluded in Skylake microarchitecture.", 129*2c72404eSJin Yao "SampleAfterValue": "2000003", 130*2c72404eSJin Yao "UMask": "0x10" 131*2c72404eSJin Yao }, 132*2c72404eSJin Yao { 133*2c72404eSJin Yao "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a EPT (Extended Page Table) walk for any request type.", 134*2c72404eSJin Yao "EventCode": "0x4f", 135*2c72404eSJin Yao "EventName": "EPT.WALK_PENDING", 136*2c72404eSJin Yao "PublicDescription": "Counts cycles for each PMH (Page Miss Handler) that is busy with an EPT (Extended Page Table) walk for any request type.", 137*2c72404eSJin Yao "SampleAfterValue": "2000003", 138*2c72404eSJin Yao "UMask": "0x10" 139*2c72404eSJin Yao }, 140*2c72404eSJin Yao { 141*2c72404eSJin Yao "BriefDescription": "Flushing of the Instruction TLB (ITLB) pages, includes 4k/2M/4M pages.", 142*2c72404eSJin Yao "EventCode": "0xAE", 143*2c72404eSJin Yao "EventName": "ITLB.ITLB_FLUSH", 144*2c72404eSJin Yao "PublicDescription": "Counts the number of flushes of the big or small ITLB pages. Counting include both TLB Flush (covering all sets) and TLB Set Clear (set-specific).", 145*2c72404eSJin Yao "SampleAfterValue": "100007", 146*2c72404eSJin Yao "UMask": "0x1" 147*2c72404eSJin Yao }, 148*2c72404eSJin Yao { 149*2c72404eSJin Yao "BriefDescription": "Misses at all ITLB levels that cause page walks", 150b5ff7f27SJin Yao "EventCode": "0x85", 151*2c72404eSJin Yao "EventName": "ITLB_MISSES.MISS_CAUSES_A_WALK", 152*2c72404eSJin Yao "PublicDescription": "Counts page walks of any page size (4K/2M/4M/1G) caused by a code fetch. This implies it missed in the ITLB and further levels of TLB, but the walk need not have completed.", 153b5ff7f27SJin Yao "SampleAfterValue": "100003", 154*2c72404eSJin Yao "UMask": "0x1" 155*2c72404eSJin Yao }, 156*2c72404eSJin Yao { 157*2c72404eSJin Yao "BriefDescription": "Instruction fetch requests that miss the ITLB and hit the STLB.", 158*2c72404eSJin Yao "EventCode": "0x85", 159*2c72404eSJin Yao "EventName": "ITLB_MISSES.STLB_HIT", 160*2c72404eSJin Yao "SampleAfterValue": "100003", 161*2c72404eSJin Yao "UMask": "0x20" 162*2c72404eSJin Yao }, 163*2c72404eSJin Yao { 164*2c72404eSJin Yao "BriefDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request. EPT page walk duration are excluded in Skylake.", 165*2c72404eSJin Yao "CounterMask": "1", 166*2c72404eSJin Yao "EventCode": "0x85", 167*2c72404eSJin Yao "EventName": "ITLB_MISSES.WALK_ACTIVE", 168*2c72404eSJin Yao "PublicDescription": "Cycles when at least one PMH is busy with a page walk for code (instruction fetch) request. EPT page walk duration are excluded in Skylake microarchitecture.", 169*2c72404eSJin Yao "SampleAfterValue": "100003", 170*2c72404eSJin Yao "UMask": "0x10" 171b5ff7f27SJin Yao }, 172b5ff7f27SJin Yao { 173b5ff7f27SJin Yao "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (All page sizes)", 174b5ff7f27SJin Yao "EventCode": "0x85", 175b5ff7f27SJin Yao "EventName": "ITLB_MISSES.WALK_COMPLETED", 176*2c72404eSJin Yao "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.", 177b5ff7f27SJin Yao "SampleAfterValue": "100003", 178b5ff7f27SJin Yao "UMask": "0xe" 179b5ff7f27SJin Yao }, 180b5ff7f27SJin Yao { 181*2c72404eSJin Yao "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (1G)", 182*2c72404eSJin Yao "EventCode": "0x85", 183*2c72404eSJin Yao "EventName": "ITLB_MISSES.WALK_COMPLETED_1G", 184*2c72404eSJin Yao "PublicDescription": "Counts completed page walks (1G 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.", 185*2c72404eSJin Yao "SampleAfterValue": "100003", 186*2c72404eSJin Yao "UMask": "0x8" 187b5ff7f27SJin Yao }, 188b5ff7f27SJin Yao { 189*2c72404eSJin Yao "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (2M/4M)", 190*2c72404eSJin Yao "EventCode": "0x85", 191*2c72404eSJin Yao "EventName": "ITLB_MISSES.WALK_COMPLETED_2M_4M", 192*2c72404eSJin Yao "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.", 193*2c72404eSJin Yao "SampleAfterValue": "100003", 194b5ff7f27SJin Yao "UMask": "0x4" 195b5ff7f27SJin Yao }, 196b5ff7f27SJin Yao { 197*2c72404eSJin Yao "BriefDescription": "Code miss in all TLB levels causes a page walk that completes. (4K)", 198*2c72404eSJin Yao "EventCode": "0x85", 199*2c72404eSJin Yao "EventName": "ITLB_MISSES.WALK_COMPLETED_4K", 200*2c72404eSJin Yao "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.", 201b5ff7f27SJin Yao "SampleAfterValue": "100003", 202*2c72404eSJin Yao "UMask": "0x2" 203b5ff7f27SJin Yao }, 204b5ff7f27SJin Yao { 205*2c72404eSJin Yao "BriefDescription": "Counts 1 per cycle for each PMH that is busy with a page walk for an instruction fetch request. EPT page walk duration are excluded in Skylake.", 206*2c72404eSJin Yao "EventCode": "0x85", 207*2c72404eSJin Yao "EventName": "ITLB_MISSES.WALK_PENDING", 208*2c72404eSJin Yao "PublicDescription": "Counts 1 per cycle for each PMH (Page Miss Handler) that is busy with a page walk for an instruction fetch request. EPT page walk duration are excluded in Skylake michroarchitecture.", 209*2c72404eSJin Yao "SampleAfterValue": "100003", 210b5ff7f27SJin Yao "UMask": "0x10" 211b5ff7f27SJin Yao }, 212b5ff7f27SJin Yao { 213*2c72404eSJin Yao "BriefDescription": "DTLB flush attempts of the thread-specific entries", 214*2c72404eSJin Yao "EventCode": "0xBD", 215*2c72404eSJin Yao "EventName": "TLB_FLUSH.DTLB_THREAD", 216*2c72404eSJin Yao "PublicDescription": "Counts the number of DTLB flush attempts of the thread-specific entries.", 217*2c72404eSJin Yao "SampleAfterValue": "100007", 218*2c72404eSJin Yao "UMask": "0x1" 219*2c72404eSJin Yao }, 220*2c72404eSJin Yao { 221630171d4SAndi Kleen "BriefDescription": "STLB flush attempts", 222b5ff7f27SJin Yao "EventCode": "0xBD", 223630171d4SAndi Kleen "EventName": "TLB_FLUSH.STLB_ANY", 224630171d4SAndi Kleen "PublicDescription": "Counts the number of any STLB flush attempts (such as entire, VPID, PCID, InvPage, CR3 write, etc.).", 225630171d4SAndi Kleen "SampleAfterValue": "100007", 226b5ff7f27SJin Yao "UMask": "0x20" 227630171d4SAndi Kleen } 228630171d4SAndi Kleen] 229