cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

uncore-memory.json (9549B)


      1[
      2    {
      3        "BriefDescription": "2LM Tag Check : Hit in Near Memory Cache",
      4        "Counter": "0,1,2,3",
      5        "CounterType": "PGMABLE",
      6        "EventCode": "0xD3",
      7        "EventName": "UNC_M_TAGCHK.HIT",
      8        "PerPkg": "1",
      9        "UMask": "0x01",
     10        "Unit": "iMC"
     11    },
     12    {
     13        "BriefDescription": "2LM Tag Check : Miss, no data in this line",
     14        "Counter": "0,1,2,3",
     15        "CounterType": "PGMABLE",
     16        "EventCode": "0xD3",
     17        "EventName": "UNC_M_TAGCHK.MISS_CLEAN",
     18        "PerPkg": "1",
     19        "UMask": "0x02",
     20        "Unit": "iMC"
     21    },
     22    {
     23        "BriefDescription": "2LM Tag Check : Miss, existing data may be evicted to Far Memory",
     24        "Counter": "0,1,2,3",
     25        "CounterType": "PGMABLE",
     26        "EventCode": "0xD3",
     27        "EventName": "UNC_M_TAGCHK.MISS_DIRTY",
     28        "PerPkg": "1",
     29        "UMask": "0x04",
     30        "Unit": "iMC"
     31    },
     32    {
     33        "BriefDescription": "2LM Tag Check : Read Hit in Near Memory Cache",
     34        "Counter": "0,1,2,3",
     35        "CounterType": "PGMABLE",
     36        "EventCode": "0xD3",
     37        "EventName": "UNC_M_TAGCHK.NM_RD_HIT",
     38        "PerPkg": "1",
     39        "UMask": "0x08",
     40        "Unit": "iMC"
     41    },
     42    {
     43        "BriefDescription": "2LM Tag Check : Write Hit in Near Memory Cache",
     44        "Counter": "0,1,2,3",
     45        "CounterType": "PGMABLE",
     46        "EventCode": "0xD3",
     47        "EventName": "UNC_M_TAGCHK.NM_WR_HIT",
     48        "PerPkg": "1",
     49        "UMask": "0x10",
     50        "Unit": "iMC"
     51    },
     52    {
     53        "BriefDescription": "DRAM Precharge commands. : Precharge due to read",
     54        "Counter": "0,1,2,3",
     55        "CounterType": "PGMABLE",
     56        "EventCode": "0x02",
     57        "EventName": "UNC_M_PRE_COUNT.RD",
     58        "PerPkg": "1",
     59        "UMask": "0x04",
     60        "Unit": "iMC"
     61    },
     62    {
     63        "BriefDescription": "DRAM Precharge commands. : Precharge due to write",
     64        "Counter": "0,1,2,3",
     65        "CounterType": "PGMABLE",
     66        "EventCode": "0x02",
     67        "EventName": "UNC_M_PRE_COUNT.WR",
     68        "PerPkg": "1",
     69        "UMask": "0x08",
     70        "Unit": "iMC"
     71    },
     72    {
     73        "BriefDescription": "All DRAM read CAS commands issued (including underfills)",
     74        "Counter": "0,1,2,3",
     75        "CounterType": "PGMABLE",
     76        "EventCode": "0x04",
     77        "EventName": "UNC_M_CAS_COUNT.RD",
     78        "PerPkg": "1",
     79        "UMask": "0x0f",
     80        "Unit": "iMC"
     81    },
     82    {
     83        "BriefDescription": "All DRAM write CAS commands issued",
     84        "Counter": "0,1,2,3",
     85        "CounterType": "PGMABLE",
     86        "EventCode": "0x04",
     87        "EventName": "UNC_M_CAS_COUNT.WR",
     88        "PerPkg": "1",
     89        "UMask": "0x30",
     90        "Unit": "iMC"
     91    },
     92    {
     93        "BriefDescription": "All DRAM CAS commands issued",
     94        "Counter": "0,1,2,3",
     95        "CounterType": "PGMABLE",
     96        "EventCode": "0x04",
     97        "EventName": "UNC_M_CAS_COUNT.ALL",
     98        "PerPkg": "1",
     99        "UMask": "0x3f",
    100        "Unit": "iMC"
    101    },
    102    {
    103        "BriefDescription": "Number of DRAM Refreshes Issued",
    104        "Counter": "0,1,2,3",
    105        "CounterType": "PGMABLE",
    106        "EventCode": "0x45",
    107        "EventName": "UNC_M_DRAM_REFRESH.OPPORTUNISTIC",
    108        "PerPkg": "1",
    109        "UMask": "0x01",
    110        "Unit": "iMC"
    111    },
    112    {
    113        "BriefDescription": "Number of DRAM Refreshes Issued",
    114        "Counter": "0,1,2,3",
    115        "CounterType": "PGMABLE",
    116        "EventCode": "0x45",
    117        "EventName": "UNC_M_DRAM_REFRESH.PANIC",
    118        "PerPkg": "1",
    119        "UMask": "0x02",
    120        "Unit": "iMC"
    121    },
    122    {
    123        "BriefDescription": "Number of DRAM Refreshes Issued",
    124        "Counter": "0,1,2,3",
    125        "CounterType": "PGMABLE",
    126        "EventCode": "0x45",
    127        "EventName": "UNC_M_DRAM_REFRESH.HIGH",
    128        "PerPkg": "1",
    129        "UMask": "0x04",
    130        "Unit": "iMC"
    131    },
    132    {
    133        "BriefDescription": "Read Pending Queue Allocations",
    134        "Counter": "0,1,2,3",
    135        "CounterType": "PGMABLE",
    136        "EventCode": "0x10",
    137        "EventName": "UNC_M_RPQ_INSERTS.PCH0",
    138        "PerPkg": "1",
    139        "UMask": "0x01",
    140        "Unit": "iMC"
    141    },
    142    {
    143        "BriefDescription": "Read Pending Queue Allocations",
    144        "Counter": "0,1,2,3",
    145        "CounterType": "PGMABLE",
    146        "EventCode": "0x10",
    147        "EventName": "UNC_M_RPQ_INSERTS.PCH1",
    148        "PerPkg": "1",
    149        "UMask": "0x02",
    150        "Unit": "iMC"
    151    },
    152    {
    153        "BriefDescription": "Write Pending Queue Allocations",
    154        "Counter": "0,1,2,3",
    155        "CounterType": "PGMABLE",
    156        "EventCode": "0x20",
    157        "EventName": "UNC_M_WPQ_INSERTS.PCH0",
    158        "PerPkg": "1",
    159        "UMask": "0x01",
    160        "Unit": "iMC"
    161    },
    162    {
    163        "BriefDescription": "Write Pending Queue Allocations",
    164        "Counter": "0,1,2,3",
    165        "CounterType": "PGMABLE",
    166        "EventCode": "0x20",
    167        "EventName": "UNC_M_WPQ_INSERTS.PCH1",
    168        "PerPkg": "1",
    169        "UMask": "0x02",
    170        "Unit": "iMC"
    171    },
    172    {
    173        "BriefDescription": "DRAM Precharge commands. : Precharge due to page table",
    174        "Counter": "0,1,2,3",
    175        "CounterType": "PGMABLE",
    176        "EventCode": "0x02",
    177        "EventName": "UNC_M_PRE_COUNT.PGT",
    178        "PerPkg": "1",
    179        "UMask": "0x10",
    180        "Unit": "iMC"
    181    },
    182    {
    183        "BriefDescription": "DRAM Clockticks",
    184        "Counter": "0,1,2,3",
    185        "CounterType": "PGMABLE",
    186        "EventName": "UNC_M_CLOCKTICKS",
    187        "PerPkg": "1",
    188        "Unit": "iMC"
    189    },
    190    {
    191        "BriefDescription": "Half clockticks for IMC",
    192        "Counter": "FIXED",
    193        "CounterType": "FIXED",
    194        "EventCode": "0xff",
    195        "EventName": "UNC_M_HCLOCKTICKS",
    196        "PerPkg": "1",
    197        "Unit": "iMC"
    198    },
    199    {
    200        "BriefDescription": "Read Pending Queue Occupancy",
    201        "Counter": "0,1,2,3",
    202        "CounterType": "PGMABLE",
    203        "EventCode": "0x80",
    204        "EventName": "UNC_M_RPQ_OCCUPANCY_PCH0",
    205        "PerPkg": "1",
    206        "Unit": "iMC"
    207    },
    208    {
    209        "BriefDescription": "Read Pending Queue Occupancy",
    210        "Counter": "0,1,2,3",
    211        "CounterType": "PGMABLE",
    212        "EventCode": "0x81",
    213        "EventName": "UNC_M_RPQ_OCCUPANCY_PCH1",
    214        "PerPkg": "1",
    215        "Unit": "iMC"
    216    },
    217    {
    218        "BriefDescription": "Write Pending Queue Occupancy",
    219        "Counter": "0,1,2,3",
    220        "CounterType": "PGMABLE",
    221        "EventCode": "0x82",
    222        "EventName": "UNC_M_WPQ_OCCUPANCY_PCH0",
    223        "PerPkg": "1",
    224        "Unit": "iMC"
    225    },
    226    {
    227        "BriefDescription": "Write Pending Queue Occupancy",
    228        "Counter": "0,1,2,3",
    229        "CounterType": "PGMABLE",
    230        "EventCode": "0x83",
    231        "EventName": "UNC_M_WPQ_OCCUPANCY_PCH1",
    232        "PerPkg": "1",
    233        "Unit": "iMC"
    234    },
    235    {
    236        "BriefDescription": "DRAM Activate Count : All Activates",
    237        "Counter": "0,1,2,3",
    238        "CounterType": "PGMABLE",
    239        "EventCode": "0x01",
    240        "EventName": "UNC_M_ACT_COUNT.ALL",
    241        "PerPkg": "1",
    242        "UMask": "0x0B",
    243        "Unit": "iMC"
    244    },
    245    {
    246        "BriefDescription": "DRAM Precharge commands",
    247        "Counter": "0,1,2,3",
    248        "CounterType": "PGMABLE",
    249        "EventCode": "0x02",
    250        "EventName": "UNC_M_PRE_COUNT.ALL",
    251        "PerPkg": "1",
    252        "UMask": "0x1C",
    253        "Unit": "iMC"
    254    },
    255    {
    256        "BriefDescription": "PMM Read Pending Queue Occupancy",
    257        "Counter": "0,1,2,3",
    258        "CounterType": "PGMABLE",
    259        "EventCode": "0xE0",
    260        "EventName": "UNC_M_PMM_RPQ_OCCUPANCY.ALL",
    261        "PerPkg": "1",
    262        "UMask": "0x01",
    263        "Unit": "iMC"
    264    },
    265    {
    266        "BriefDescription": "PMM Read Queue Inserts",
    267        "Counter": "0,1,2,3",
    268        "CounterType": "PGMABLE",
    269        "EventCode": "0xE3",
    270        "EventName": "UNC_M_PMM_RPQ_INSERTS",
    271        "PerPkg": "1",
    272        "Unit": "iMC"
    273    },
    274    {
    275        "BriefDescription": "PMM Write Queue Inserts",
    276        "Counter": "0,1,2,3",
    277        "CounterType": "PGMABLE",
    278        "EventCode": "0xE7",
    279        "EventName": "UNC_M_PMM_WPQ_INSERTS",
    280        "PerPkg": "1",
    281        "Unit": "iMC"
    282    },
    283    {
    284        "BriefDescription": "PMM Commands : All",
    285        "Counter": "0,1,2,3",
    286        "CounterType": "PGMABLE",
    287        "EventCode": "0xEA",
    288        "EventName": "UNC_M_PMM_CMD1.ALL",
    289        "PerPkg": "1",
    290        "UMask": "0x01",
    291        "Unit": "iMC"
    292    },
    293    {
    294        "BriefDescription": "PMM Commands : Reads - RPQ",
    295        "Counter": "0,1,2,3",
    296        "CounterType": "PGMABLE",
    297        "EventCode": "0xEA",
    298        "EventName": "UNC_M_PMM_CMD1.RD",
    299        "PerPkg": "1",
    300        "UMask": "0x02",
    301        "Unit": "iMC"
    302    },
    303    {
    304        "BriefDescription": "PMM Commands : Writes",
    305        "Counter": "0,1,2,3",
    306        "CounterType": "PGMABLE",
    307        "EventCode": "0xEA",
    308        "EventName": "UNC_M_PMM_CMD1.WR",
    309        "PerPkg": "1",
    310        "UMask": "0x04",
    311        "Unit": "iMC"
    312    },
    313    {
    314        "BriefDescription": "PMM Commands : Underfill reads",
    315        "Counter": "0,1,2,3",
    316        "CounterType": "PGMABLE",
    317        "EventCode": "0xEA",
    318        "EventName": "UNC_M_PMM_CMD1.UFILL_RD",
    319        "PerPkg": "1",
    320        "UMask": "0x08",
    321        "Unit": "iMC"
    322    },
    323    {
    324        "BriefDescription": "PMM Write Pending Queue Occupancy",
    325        "Counter": "0,1,2,3",
    326        "CounterType": "PGMABLE",
    327        "EventCode": "0xE4",
    328        "EventName": "UNC_M_PMM_WPQ_OCCUPANCY.ALL",
    329        "PerPkg": "1",
    330        "UMask": "0x01",
    331        "Unit": "iMC"
    332    }
    333]