# =======================================================================================
#
#      Filename:  perfmon_sapphirerapids_events.txt
#
#      Description:  Event list for Intel Sapphire Rapids
#
#      Version:   <VERSION>
#      Released:  <DATE>
#
#      Author:   Thomas Gruber (tr), thomas.roehl@googlemail.com
#      Project:  likwid
#
#      Copyright (C) 2016 RRZE, University Erlangen-Nuremberg
#
#      This program is free software: you can redistribute it and/or modify it under
#      the terms of the GNU General Public License as published by the Free Software
#      Foundation, either version 3 of the License, or (at your option) any later
#      version.
#
#      This program is distributed in the hope that it will be useful, but WITHOUT ANY
#      WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
#      PARTICULAR PURPOSE.  See the GNU General Public License for more details.
#
#      You should have received a copy of the GNU General Public License along with
#      this program.  If not, see <http://www.gnu.org/licenses/>.
#
# =======================================================================================

EVENT_TEMP_CORE          0x00   TMP0
UMASK_TEMP_CORE          0x00

EVENT_PWR_PKG_ENERGY          0x02   PWR0
UMASK_PWR_PKG_ENERGY          0x00

EVENT_PWR_PP0_ENERGY          0x01   PWR1
UMASK_PWR_PP0_ENERGY          0x00

EVENT_PWR_PP1_ENERGY          0x04   PWR2
UMASK_PWR_PP1_ENERGY          0x00

EVENT_PWR_DRAM_ENERGY          0x03   PWR3
UMASK_PWR_DRAM_ENERGY          0x00

EVENT_PWR_PLATFORM_ENERGY          0x05   PWR4
UMASK_PWR_PLATFORM_ENERGY          0x00

EVENT_VOLTAGE_CORE          0x00   VTG0
UMASK_VOLTAGE_CORE          0x00

EVENT_INSTR_RETIRED              0x00   FIXC0
UMASK_INSTR_RETIRED_ANY          0x01

EVENT_CPU_CLK_UNHALTED_CORE      0x00   FIXC1
UMASK_CPU_CLK_UNHALTED_CORE      0x02

EVENT_CPU_CLK_UNHALTED_REF       0x00   FIXC2
UMASK_CPU_CLK_UNHALTED_REF       0x03

EVENT_TOPDOWN_SLOTS                0x00   FIXC3
UMASK_TOPDOWN_SLOTS                0x04

EVENT_RETIRING                 0x00 TMA0
UMASK_RETIRING                 0x80

EVENT_BAD_SPECULATION          0x00 TMA1
UMASK_BAD_SPECULATION          0x81

EVENT_FRONTEND_BOUND           0x00 TMA2
UMASK_FRONTEND_BOUND           0x82

EVENT_BACKEND_BOUND            0x00 TMA3
UMASK_BACKEND_BOUND            0x83

EVENT_HEAVY_OPS                0x00 TMA4
UMASK_HEAVY_OPS                0x84

EVENT_BR_MISPREDICT            0x00 TMA5
UMASK_BR_MISPREDICT            0x85

EVENT_FETCH_LATENCY            0x00 TMA6
UMASK_FETCH_LATENCY            0x86

EVENT_MEM_BOUND                0x00 TMA7
UMASK_MEM_BOUND                0x87

EVENT_LD_BLOCKS                         0x03 PMC
UMASK_LD_BLOCKS_ADDRESS_ALIAS           0x04
UMASK_LD_BLOCKS_STORE_FORWARD           0x82
UMASK_LD_BLOCKS_NO_SR                   0x88

EVENT_ITLB_MISSES                       0x11 PMC
UMASK_ITLB_MISSES_WALK_COMPLETED_4K     0x02
UMASK_ITLB_MISSES_WALK_COMPLETED_2M_4M  0x04
#UMASK_ITLB_MISSES_WALK_COMPLETED_1G     0x08
UMASK_ITLB_MISSES_WALK_COMPLETED        0x0E
UMASK_ITLB_MISSES_WALK_PENDING          0x10
UMASK_ITLB_MISSES_STLB_HIT              0x20

EVENT_DTLB_LOAD_MISSES                      0x12 PMC
UMASK_DTLB_LOAD_MISSES_WALK_COMPLETED_4K    0x02
UMASK_DTLB_LOAD_MISSES_WALK_COMPLETED_2M_4M 0x04
UMASK_DTLB_LOAD_MISSES_WALK_COMPLETED_1G    0x08
UMASK_DTLB_LOAD_MISSES_WALK_COMPLETED       0x0E
DEFAULT_OPTIONS_DTLB_LOAD_MISSES_WALK_ACTIVE EVENT_OPTION_THRESHOLD=0x1
UMASK_DTLB_LOAD_MISSES_WALK_ACTIVE          0x10
UMASK_DTLB_LOAD_MISSES_WALK_PENDING         0x10
UMASK_DTLB_LOAD_MISSES_STLB_HIT             0x20

EVENT_DTLB_STORE_MISSES                      0x13 PMC
UMASK_DTLB_STORE_MISSES_WALK_COMPLETED_4K    0x02
UMASK_DTLB_STORE_MISSES_WALK_COMPLETED_2M_4M 0x04
UMASK_DTLB_STORE_MISSES_WALK_COMPLETED_1G    0x08
UMASK_DTLB_STORE_MISSES_WALK_COMPLETED       0x0E
DEFAULT_OPTIONS_DTLB_STORE_MISSES_WALK_ACTIVE EVENT_OPTION_THRESHOLD=0x1
UMASK_DTLB_STORE_MISSES_WALK_ACTIVE          0x10
UMASK_DTLB_STORE_MISSES_WALK_PENDING         0x10
UMASK_DTLB_STORE_MISSES_STLB_HIT             0x20

EVENT_OFFCORE_REQUESTS_OUTSTANDING                          0x20 PMC
DEFAULT_OPTIONS_OFFCORE_REQUESTS_OUTSTANDING_CYCLES_WITH_DEMAND_RFO EVENT_OPTION_THRESHOLD=0x1
UMASK_OFFCORE_REQUESTS_OUTSTANDING_CYCLES_WITH_DEMAND_RFO   0x04
DEFAULT_OPTIONS_OFFCORE_REQUESTS_OUTSTANDING_CYCLES_WITH_DATA_RD EVENT_OPTION_THRESHOLD=0x1
UMASK_OFFCORE_REQUESTS_OUTSTANDING_CYCLES_WITH_DATA_RD      0x08
UMASK_OFFCORE_REQUESTS_OUTSTANDING_DATA_RD                  0x08

EVENT_OFFCORE_REQUESTS                  0x21 PMC
UMASK_OFFCORE_REQUESTS_DEMAND_DATA_RD   0x01
UMASK_OFFCORE_REQUESTS_DATA_RD          0x08
UMASK_OFFCORE_REQUESTS_ALL_REQUESTS     0x80

EVENT_L2_RQSTS                          0x24 PMC
UMASK_L2_RQSTS_DEMAND_DATA_RD_MISS      0x21
UMASK_L2_RQSTS_RFO_MISS                 0x22
UMASK_L2_RQSTS_CODE_RD_MISS             0x24
UMASK_L2_RQSTS_ALL_DEMAND_MISS          0x27
UMASK_L2_RQSTS_SWPF_MISS                0x28
UMASK_L2_RQSTS_DEMAND_DATA_RD_HIT       0xC1
UMASK_L2_RQSTS_RFO_HIT                  0xC2
UMASK_L2_RQSTS_CODE_RD_HIT              0xC4
UMASK_L2_RQSTS_SWPF_HIT                 0xC8
UMASK_L2_RQSTS_ALL_DEMAND_DATA_RD       0xE1
UMASK_L2_RQSTS_ALL_RFO                  0xE2
UMASK_L2_RQSTS_ALL_CODE_RD              0xE4
UMASK_L2_RQSTS_ALL_DEMAND_REFERENCES    0xE7
UMASK_L2_RQSTS_MISS                     0x3F
UMASK_L2_RQSTS_REFERENCES               0xFF

EVENT_L2_REQUEST                        0x24 PMC
UMASK_L2_REQUEST_MISS                   0x3F
UMASK_L2_REQUEST_ALL                    0xFF

EVENT_L2_LINES_IN                       0x25 PMC
UMASK_L2_LINES_IN_ALL                   0x1F

EVENT_L2_LINES_OUT                      0x26 PMC
UMASK_L2_LINES_OUT_SILENT               0x01
UMASK_L2_LINES_OUT_NON_SILENT           0x02
#UMASK_L2_LINES_OUT_USELESS_HWPF         0x04

EVENT_XQ_FULL_CYCLES                    0x2D PMC
DEFAULT_OPTIONS_XQ_FULL_CYCLES EVENT_OPTION_THRESHOLD=0x1
UMASK_XQ_FULL_CYCLES                    0x01

EVENT_LONGEST_LAT_CACHE                 0x2E PMC
UMASK_LONGEST_LAT_CACHE_MISS            0x41
#UMASK_LONGEST_LAT_CACHE_REFERENCE      0x4F


EVENT_CPU_CLOCK_UNHALTED                    0x3C   PMC
UMASK_CPU_CLOCK_UNHALTED_THREAD_P           0x00
UMASK_CPU_CLOCK_UNHALTED_REF_XCLK           0x01
UMASK_CPU_CLOCK_UNHALTED_ONE_THREAD_ACTIVE  0x02
UMASK_CPU_CLOCK_UNHALTED_REF_DISTRIBUTED    0x08
# Added by Thomas Gruber: Idea is to count also in halted state
DEFAULT_OPTIONS_CPU_CLOCK_UNHALTED_TOTAL_CYCLES EVENT_OPTION_THRESHOLD=0xA,EVENT_OPTION_INVERT=1
UMASK_CPU_CLOCK_UNHALTED_TOTAL_CYCLES       0x00

EVENT_SW_PREFETCH_ACCESS                0x40 PMC
UMASK_SW_PREFETCH_ACCESS_NTA            0x01
UMASK_SW_PREFETCH_ACCESS_T0             0x02
UMASK_SW_PREFETCH_ACCESS_T1_T2          0x04
UMASK_SW_PREFETCH_ACCESS_PREFETCHW      0x08

EVENT_MEM_LOAD_COMPLETED                0x43 PMC
UMASK_MEM_LOAD_COMPLETED_L1_MISS_ANY    0xFD

EVENT_MEM_STORE_RETIRED                 0x44 PMC
UMASK_MEM_STORE_RETIRED_L2_HIT          0x01

EVENT_MEMORY_ACTIVITY                   0x47 PMC
DEFAULT_OPTIONS_MEMORY_ACTIVITY_CYCLES_L1D_MISS EVENT_OPTION_THRESHOLD=0x2
UMASK_MEMORY_ACTIVITY_CYCLES_L1D_MISS   0x02
DEFAULT_OPTIONS_MEMORY_ACTIVITY_STALLS_L1D_MISS EVENT_OPTION_THRESHOLD=0x3
UMASK_MEMORY_ACTIVITY_STALLS_L1D_MISS   0x03
DEFAULT_OPTIONS_MEMORY_ACTIVITY_STALLS_L2_MISS EVENT_OPTION_THRESHOLD=0x5
UMASK_MEMORY_ACTIVITY_STALLS_L2_MISS    0x05
DEFAULT_OPTIONS_MEMORY_ACTIVITY_STALLS_L3_MISS EVENT_OPTION_THRESHOLD=0x9
UMASK_MEMORY_ACTIVITY_STALLS_L3_MISS    0x09

EVENT_L1D_PEND_MISS                     0x48 PMC
UMASK_L1D_PEND_MISS_PENDING             0x01
DEFAULT_OPTIONS_L1D_PEND_MISS_PENDING_CYCLES EVENT_OPTION_THRESHOLD=0x1
UMASK_L1D_PEND_MISS_PENDING_CYCLES      0x01
UMASK_L1D_PEND_MISS_FB_FULL             0x02
DEFAULT_OPTIONS_L1D_PEND_MISS_FB_FULL_PERIODS EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=0x1
UMASK_L1D_PEND_MISS_FB_FULL_PERIODS     0x02
UMASK_L1D_PEND_MISS_L2_STALLS           0x04

EVENT_LOAD_HIT_PREFETCH                 0x4C PMC
UMASK_LOAD_HIT_PREFETCH_SWPF            0x01

EVENT_L1D_REPLACEMENT                   0x51 PMC
UMASK_L1D_REPLACEMENT                   0x01

EVENT_TX_MEM                                                0x54 PMC
UMASK_TX_MEM_ABORT_CONFLICT                                 0x01
UMASK_TX_MEM_ABORT_CAPACITY_WRITE                           0x02
UMASK_TX_MEM_ABORT_CAPACITY_READ                            0x80

EVENT_DSB2MITE_SWITCHES                 0x61 PMC
UMASK_DSB2MITE_SWITCHES_PENALTY_CYCLES  0x02

EVENT_INST_DECODED_DECODERS             0x75 PMC
UMASK_INST_DECODED_DECODERS             0x01

EVENT_UOPS_DECODED_DEC0_UOPS            0x76 PMC
UMASK_UOPS_DECODED_DEC0_UOPS            0x01

EVENT_IDQ                               0x79 PMC
UMASK_IDQ_MITE_UOPS                     0x04
DEFAULT_OPTIONS_IDQ_MITE_CYCLES_ANY EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_MITE_CYCLES_ANY               0x04
DEFAULT_OPTIONS_IDQ_MITE_CYCLES_OK EVENT_OPTION_THRESHOLD=0x6
UMASK_IDQ_MITE_CYCLES_OK                0x04
UMASK_IDQ_DSB_UOPS                      0x08
DEFAULT_OPTIONS_IDQ_DSB_CYCLES_ANY EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_DSB_CYCLES_ANY                0x08
DEFAULT_OPTIONS_IDQ_DSB_CYCLES_OK EVENT_OPTION_THRESHOLD=0x6
UMASK_IDQ_DSB_CYCLES_OK                 0x08
UMASK_IDQ_MS_UOPS                       0x20
DEFAULT_OPTIONS_IDQ_MS_CYCLES_ANY EVENT_OPTION_THRESHOLD=0x1
UMASK_IDQ_MS_CYCLES_ANY                 0x20
DEFAULT_OPTIONS_IDQ_MS_CYCLES_ANY EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=0x1
UMASK_IDQ_MS_SWITCHES                   0x20

EVENT_ICACHE_DATA                       0x80 PMC
UMASK_ICACHE_DATA_STALLS                0x04

EVENT_ICACHE_TAG                        0x83 PMC
UMASK_ICACHE_TAG_STALLS                 0x04

EVENT_DECODE_LCP                        0x87 PMC
UMASK_DECODE_LCP                        0x01

EVENT_IDQ_UOPS_NOT_DELIVERED            0x9C PMC
UMASK_IDQ_UOPS_NOT_DELIVERED_CORE       0x01
DEFAULT_OPTIONS_IDQ_UOPS_NOT_DELIVERED_CYCLES_0_UOPS_DELIV_CORE EVENT_OPTION_THRESHOLD=0x6
UMASK_IDQ_UOPS_NOT_DELIVERED_CYCLES_0_UOPS_DELIV_CORE 0x01
DEFAULT_OPTIONS_IDQ_UOPS_NOT_DELIVERED_CYCLES_FE_WAS_OK EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=0x1
UMASK_IDQ_UOPS_NOT_DELIVERED_CYCLES_FE_WAS_OK 0x01

EVENT_RESOURCE_STALLS                   0xA2 PMC
UMASK_RESOURCE_STALLS_SCOREBOARD        0x02
UMASK_RESOURCE_STALLS_SB                0x08

EVENT_CYCLE_ACTIVITY                    0xA3 PMC
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_L1D_MISS EVENT_OPTION_THRESHOLD=0x8
UMASK_CYCLE_ACTIVITY_CYCLES_L1D_MISS    0x08
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_L2_MISS EVENT_OPTION_THRESHOLD=0x1
UMASK_CYCLE_ACTIVITY_CYCLES_L2_MISS     0x01
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_L3_MISS EVENT_OPTION_THRESHOLD=0x2
UMASK_CYCLE_ACTIVITY_CYCLES_L3_MISS     0x02
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_MEM_ANY EVENT_OPTION_THRESHOLD=0x10
UMASK_CYCLE_ACTIVITY_CYCLES_MEM_ANY     0x10
DEFAULT_OPTIONS_CYCLE_ACTIVITY_CYCLES_NO_EXECUTE EVENT_OPTION_THRESHOLD=0x04
UMASK_CYCLE_ACTIVITY_CYCLES_NO_EXECUTE  0x04
DEFAULT_OPTIONS_CYCLE_ACTIVITY_STALLS_TOTAL EVENT_OPTION_THRESHOLD=0x4
UMASK_CYCLE_ACTIVITY_STALLS_TOTAL       0x04
DEFAULT_OPTIONS_CYCLE_ACTIVITY_STALLS_L1D_MISS EVENT_OPTION_THRESHOLD=0xC
UMASK_CYCLE_ACTIVITY_STALLS_L1D_MISS    0x0C
DEFAULT_OPTIONS_CYCLE_ACTIVITY_STALLS_L2_MISS EVENT_OPTION_THRESHOLD=0x5
UMASK_CYCLE_ACTIVITY_STALLS_L2_MISS     0x05
DEFAULT_OPTIONS_CYCLE_ACTIVITY_STALLS_L3_MISS EVENT_OPTION_THRESHOLD=0x6
UMASK_CYCLE_ACTIVITY_STALLS_L3_MISS     0x06
#DEFAULT_OPTIONS_CYCLE_ACTIVITY_STALLS_MEM_ANY EVENT_OPTION_THRESHOLD=0x14
#UMASK_CYCLE_ACTIVITY_STALLS_MEM_ANY     0x14

EVENT_TOPDOWN                           0xA4 PMC
UMASK_TOPDOWN_SLOTS_P                   0x01
UMASK_TOPDOWN_BACKEND_BOUND_SLOTS       0x02
UMASK_TOPDOWN_BAD_SPEC_SLOTS            0x04
UMASK_TOPDOWN_BR_MISPREDICT_SLOTS       0x08
UMASK_TOPDOWN_MEMORY_BOUND_SLOTS        0x10

EVENT_RS_EMPTY_CYCLES                   0xA5 PMC
UMASK_RS_EMPTY_CYCLES                   0x07

EVENT_EXE_ACTIVITY                      0xA6 PMC
UMASK_EXE_ACTIVITY_1_PORTS_UTIL         0x02
UMASK_EXE_ACTIVITY_2_PORTS_UTIL         0x04
UMASK_EXE_ACTIVITY_3_PORTS_UTIL         0x08
UMASK_EXE_ACTIVITY_4_PORTS_UTIL         0x10
DEFAULT_OPTIONS_EXE_ACTIVITY_BOUND_ON_LOADS EVENT_OPTION_THRESHOLD=0x5
UMASK_EXE_ACTIVITY_BOUND_ON_LOADS       0x21
DEFAULT_OPTIONS_EXE_ACTIVITY_BOUND_ON_STORES EVENT_OPTION_THRESHOLD=0x2
UMASK_EXE_ACTIVITY_BOUND_ON_STORES      0x40

EVENT_LSD                               0xA8 PMC
UMASK_LSD_UOPS                          0x01
DEFAULT_OPTIONS_LSD_CYCLES_ACTIVE EVENT_OPTION_THRESHOLD=0x1
UMASK_LSD_CYCLES_ACTIVE                 0x01
DEFAULT_OPTIONS_LSD_CYCLES_OK EVENT_OPTION_THRESHOLD=0x6
UMASK_LSD_CYCLES_OK                     0x01

EVENT_INT_MISC                          0xAD PMC
UMASK_INT_MISC_RECOVERY_CYCLES          0x01
UMASK_INT_MISC_UOP_DROPPING             0x10
UMASK_INT_MISC_MBA_STALLS               0x20
# Needs separate MSR 0x3F7 (content 0x7) and must be counted alone
#UMASK_INT_MISC_UNKNOWN_BRANCH_CYCLES    0x40
UMASK_INT_MISC_CLEAR_RESTEER_CYCLES     0x80

EVENT_UOPS_ISSUED_ANY                   0xAE PMC
UMASK_UOPS_ISSUED_ANY                   0x01

EVENT_ARITH                             0xB0 PMC
DEFAULT_OPTIONS_ARITH_FP_DIVIDER_ACTIVE EVENT_OPTION_THRESHOLD=0x1
UMASK_ARITH_FP_DIVIDER_ACTIVE           0x01
DEFAULT_OPTIONS_ARITH_FPDIV_ACTIVE EVENT_OPTION_THRESHOLD=0x1
UMASK_ARITH_FPDIV_ACTIVE                0x01
DEFAULT_OPTIONS_ARITH_INT_DIVIDER_ACTIVE EVENT_OPTION_THRESHOLD=0x1
UMASK_ARITH_INT_DIVIDER_ACTIVE          0x08
DEFAULT_OPTIONS_ARITH_IDIV_ACTIVE EVENT_OPTION_THRESHOLD=0x1
UMASK_ARITH_IDIV_ACTIVE                 0x08
DEFAULT_OPTIONS_ARITH_DIVIDER_ACTIVE EVENT_OPTION_THRESHOLD=0x1
UMASK_ARITH_DIVIDER_ACTIVE              0x09
DEFAULT_OPTIONS_ARITH_DIV_ACTIVE EVENT_OPTION_THRESHOLD=0x1
UMASK_ARITH_DIV_ACTIVE                  0x09
# Added by Thomas Gruber to count instructions
DEFAULT_OPTIONS_ARITH_FPDIV_COUNT EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=0x1
UMASK_ARITH_FPDIV_COUNT                 0x01
DEFAULT_OPTIONS_ARITH_IDIV_COUNT EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=0x1
UMASK_ARITH_IDIV_COUNT                  0x08
DEFAULT_OPTIONS_ARITH_DIV_COUNT EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_EDGE=0x1
UMASK_ARITH_DIV_COUNT                   0x09

EVENT_UOPS_EXECUTED                         0xB1   PMC
UMASK_UOPS_EXECUTED_THREAD                  0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_STALL_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1
UMASK_UOPS_EXECUTED_STALL_CYCLES            0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_STALLS EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1
UMASK_UOPS_EXECUTED_STALLS                  0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_CYCLES_GE_1 EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_EXECUTED_CYCLES_GE_1             0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_CYCLES_GE_2 EVENT_OPTION_THRESHOLD=0x2
UMASK_UOPS_EXECUTED_CYCLES_GE_2             0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_CYCLES_GE_3 EVENT_OPTION_THRESHOLD=0x3
UMASK_UOPS_EXECUTED_CYCLES_GE_3             0x01
DEFAULT_OPTIONS_UOPS_EXECUTED_CYCLES_GE_4 EVENT_OPTION_THRESHOLD=0x4
UMASK_UOPS_EXECUTED_CYCLES_GE_4             0x01
UMASK_UOPS_EXECUTED_CORE                    0x02
#DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_STALL_CYCLES EVENT_OPTION_THRESHOLD=0x1,EVENT_OPTION_INVERT=1
#UMASK_UOPS_EXECUTED_CORE_STALL_CYCLES      0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_CYCLES_GE_1 EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_EXECUTED_CORE_CYCLES_GE_1        0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_CYCLES_GE_2 EVENT_OPTION_THRESHOLD=0x2
UMASK_UOPS_EXECUTED_CORE_CYCLES_GE_2        0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_CYCLES_GE_3 EVENT_OPTION_THRESHOLD=0x3
UMASK_UOPS_EXECUTED_CORE_CYCLES_GE_3        0x02
DEFAULT_OPTIONS_UOPS_EXECUTED_CORE_CYCLES_GE_4 EVENT_OPTION_THRESHOLD=0x4
UMASK_UOPS_EXECUTED_CORE_CYCLES_GE_4        0x02
UMASK_UOPS_EXECUTED_X87                     0x10

EVENT_UOPS_DISPATCHED                   0xB2 PMC
UMASK_UOPS_DISPATCHED_PORT_PORT_0       0x01
UMASK_UOPS_DISPATCHED_PORT_PORT_1       0x02
UMASK_UOPS_DISPATCHED_PORT_PORT_2_3_10  0x04
UMASK_UOPS_DISPATCHED_PORT_PORT_4_9     0x10
UMASK_UOPS_DISPATCHED_PORT_PORT_5_11    0x20
UMASK_UOPS_DISPATCHED_PORT_PORT_6       0x40
UMASK_UOPS_DISPATCHED_PORT_PORT_7_8     0x80

EVENT_FP_ARITH_DISPATCHED               0xB3 PMC
UMASK_FP_ARITH_DISPATCHED_PORT_0        0x01
UMASK_FP_ARITH_DISPATCHED_PORT_1        0x02
UMASK_FP_ARITH_DISPATCHED_PORT_5        0x04

EVENT_EXE_AMX_BUSY                      0xB7 PMC
UMASK_EXE_AMX_BUSY                      0x02

EVENT_INST_RETIRED                      0xC0 PMC
UMASK_INST_RETIRED_ANY                  0x00
UMASK_INST_RETIRED_ANY_P                0x00
UMASK_INST_RETIRED_NOP                  0x02
UMASK_INST_RETIRED_REP_ITERATION        0x08
UMASK_INST_RETIRED_MACRO_FUSED          0x10

EVENT_ASSISTS                           0xC1 PMC
UMASK_ASSISTS_FP                        0x02
UMASK_ASSISTS_PAGE_FAULT                0x08
UMASK_ASSISTS_SSE_AVX_MIX               0x10
UMASK_ASSISTS_ANY                       0x1F

EVENT_UOPS_RETIRED                      0xC2 PMC
UMASK_UOPS_RETIRED_HEAVY                0x01
UMASK_UOPS_RETIRED_SLOTS                0x02
DEFAULT_OPTIONS_UOPS_RETIRED_STALL_CYCLES EVENT_OPTION_INVERT=0x1,EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_RETIRED_STALL_CYCLES         0x02
DEFAULT_OPTIONS_UOPS_RETIRED_STALLS EVENT_OPTION_INVERT=0x1,EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_RETIRED_STALLS               0x02
DEFAULT_OPTIONS_UOPS_RETIRED_CYCLES EVENT_OPTION_THRESHOLD=0x1
UMASK_UOPS_RETIRED_CYCLES               0x02
# Has to be measured as only event. There is currently no logic for that in LIKWID
#UMASK_UOPS_RETIRED_MS                   0x04

EVENT_MACHINE_CLEARS                    0xC3 PMC
DEFAULT_OPTIONS_MACHINE_CLEARS_COUNT EVENT_OPTION_EDGE=0x1,EVENT_OPTION_THRESHOLD=0x1
UMASK_MACHINE_CLEARS_COUNT              0x01
UMASK_MACHINE_CLEARS_MEMORY_ORDERING    0x02
UMASK_MACHINE_CLEARS_SMC                0x04

EVENT_BR_INST_RETIRED                   0xC4 PMC
UMASK_BR_INST_RETIRED_ALL_BRANCHES      0x00
UMASK_BR_INST_RETIRED_COND_TAKEN        0x01
UMASK_BR_INST_RETIRED_NEAR_CALL         0x02
UMASK_BR_INST_RETIRED_NEAR_RETURN       0x08
UMASK_BR_INST_RETIRED_COND_NTAKEN       0x10
UMASK_BR_INST_RETIRED_COND              0x11
UMASK_BR_INST_RETIRED_NEAR_TAKEN        0x20
UMASK_BR_INST_RETIRED_FAR_BRANCH        0x40
UMASK_BR_INST_RETIRED_INDIRECT          0x80

EVENT_BR_MISP_RETIRED                   0xC5 PMC
UMASK_BR_MISP_RETIRED_ALL_BRANCHES      0x00
UMASK_BR_MISP_RETIRED_COND_TAKEN        0x01
UMASK_BR_MISP_RETIRED_INDIRECT_CALL     0x02
UMASK_BR_MISP_RETIRED_RET               0x08
UMASK_BR_MISP_RETIRED_COND_NTAKEN       0x10
UMASK_BR_MISP_RETIRED_COND              0x11
UMASK_BR_MISP_RETIRED_NEAR_TAKEN        0x20
UMASK_BR_MISP_RETIRED_INDIRECT          0x80


# Requires register 0x3F7 (assuming match0) and all must be taken as alone measurement
#EVENT_FRONTEND_RETIRED                  0xC6 PMC
#DEFAULT_OPTIONS_FRONTEND_RETIRED_DSB_MISS  EVENT_OPTION_MATCH0=0x11
#UMASK_FRONTEND_RETIRED_DSB_MISS         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_ITLB_MISS  EVENT_OPTION_MATCH0=0x14
#UMASK_FRONTEND_RETIRED_ITLB_MISS         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_L1I_MISS  EVENT_OPTION_MATCH0=0x12
#UMASK_FRONTEND_RETIRED_L1I_MISS         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_L2_MISS  EVENT_OPTION_MATCH0=0x13
#UMASK_FRONTEND_RETIRED_L2_MISS         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_STLB_MISS  EVENT_OPTION_MATCH0=0x15
#UMASK_FRONTEND_RETIRED_STLB_MISS         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_UNKNOWN_BRANCH  EVENT_OPTION_MATCH0=0x17
#UMASK_FRONTEND_RETIRED_UNKNOWN_BRANCH         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_MS_FLOWS  EVENT_OPTION_MATCH0=0x8
#UMASK_FRONTEND_RETIRED_MS_FLOWS         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_ANY_DSB_MISS  EVENT_OPTION_MATCH0=0x1
#UMASK_FRONTEND_RETIRED_ANY_DSB_MISS         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_1  EVENT_OPTION_MATCH0=0x600106
#UMASK_FRONTEND_RETIRED_LATENCY_GE_1         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_2  EVENT_OPTION_MATCH0=0x600206
#UMASK_FRONTEND_RETIRED_LATENCY_GE_2         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_2_BUBBLES_GE_1  EVENT_OPTION_MATCH0=0x100206
#UMASK_FRONTEND_RETIRED_LATENCY_GE_2_BUBBLES_GE_1         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_4  EVENT_OPTION_MATCH0=0x600406
#UMASK_FRONTEND_RETIRED_LATENCY_GE_4         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_16  EVENT_OPTION_MATCH0=0x601006
#UMASK_FRONTEND_RETIRED_LATENCY_GE_8         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_8  EVENT_OPTION_MATCH0=0x600806
#UMASK_FRONTEND_RETIRED_LATENCY_GE_16         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_32  EVENT_OPTION_MATCH0=0x602006
#UMASK_FRONTEND_RETIRED_LATENCY_GE_32         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_64  EVENT_OPTION_MATCH0=0x604006
#UMASK_FRONTEND_RETIRED_LATENCY_GE_64         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_128  EVENT_OPTION_MATCH0=0x608006
#UMASK_FRONTEND_RETIRED_LATENCY_GE_128         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_256  EVENT_OPTION_MATCH0=0x610006
#UMASK_FRONTEND_RETIRED_LATENCY_GE_256         0x01
#DEFAULT_OPTIONS_FRONTEND_RETIRED_LATENCY_GE_512  EVENT_OPTION_MATCH0=0x620006
#UMASK_FRONTEND_RETIRED_LATENCY_GE_512         0x01

EVENT_FP_ARITH_INST_RETIRED                     0xC7 PMC
#DESC_FP_ARITH_INST_RETIRED_SCALAR_DOUBLE "Number of SSE/AVX computational scalar double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 1 computational operation. Applies to SSE* and AVX* scalar double precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT FM(N)ADD/SUB.  FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events."
UMASK_FP_ARITH_INST_RETIRED_SCALAR_DOUBLE       0x01
#DESC_FP_ARITH_INST_RETIRED_SCALAR_SINGLE "Number of SSE/AVX computational scalar single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 1 computational operation. Applies to SSE* and AVX* scalar single precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT RCP FM(N)ADD/SUB.  FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events."
UMASK_FP_ARITH_INST_RETIRED_SCALAR_SINGLE       0x02
#DESC_FP_ARITH_INST_RETIRED_128B_PACKED_DOUBLE "Number of SSE/AVX computational 128-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 2 computation operations, one for each element.  Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events."
UMASK_FP_ARITH_INST_RETIRED_128B_PACKED_DOUBLE  0x04
#DESC_FP_ARITH_INST_RETIRED_128B_PACKED_SINGLE "Number of SSE/AVX computational 128-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 4 computation operations, one for each element.  Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT RSQRT RCP DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events."
UMASK_FP_ARITH_INST_RETIRED_128B_PACKED_SINGLE  0x08
#DESC_FP_ARITH_INST_RETIRED_256B_PACKED_DOUBLE "Number of SSE/AVX computational 256-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 4 computation operations, one for each element.  Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT FM(N)ADD/SUB.  FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events."
UMASK_FP_ARITH_INST_RETIRED_256B_PACKED_DOUBLE  0x10
#DESC_FP_ARITH_INST_RETIRED_256B_PACKED_SINGLE  "Number of SSE/AVX computational 256-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 8 computation operations, one for each element.  Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB HADD HSUB SUBADD MUL DIV MIN MAX SQRT RSQRT RCP DPP FM(N)ADD/SUB.  DPP and FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events."
UMASK_FP_ARITH_INST_RETIRED_256B_PACKED_SINGLE  0x20
#DESC_FP_ARITH_INST_RETIRED_512B_PACKED_DOUBLE "Number of SSE/AVX computational 512-bit packed double precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 8 computation operations, one for each element.  Applies to SSE* and AVX* packed double precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT14 RCP14 FM(N)ADD/SUB. FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events."
UMASK_FP_ARITH_INST_RETIRED_512B_PACKED_DOUBLE  0x40
#DESC_FP_ARITH_INST_RETIRED_512B_PACKED_SINGLE "Number of SSE/AVX computational 512-bit packed single precision floating-point instructions retired; some instructions will count twice as noted below.  Each count represents 16 computation operations, one for each element.  Applies to SSE* and AVX* packed single precision floating-point instructions: ADD SUB MUL DIV MIN MAX SQRT RSQRT14 RCP14 FM(N)ADD/SUB. FM(N)ADD/SUB instructions count twice as they perform 2 calculations per element. The DAZ and FTZ flags in the MXCSR register need to be set when using these events."
UMASK_FP_ARITH_INST_RETIRED_512B_PACKED_SINGLE  0x80


EVENT_FP_ARITH_INST_RETIRED2                        0xCF PMC
UMASK_FP_ARITH_INST_RETIRED2_SCALAR_HALF            0x01
UMASK_FP_ARITH_INST_RETIRED2_COMPLEX_SCALAR_HALF    0x02
#DESC_FP_ARITH_INST_RETIRED2_SCALAR "Number of all Scalar Half-Precision FP arithmetic instructions(1) retired - regular and complex."
UMASK_FP_ARITH_INST_RETIRED2_SCALAR                 0x03
UMASK_FP_ARITH_INST_RETIRED2_128B_PACKED_HALF       0x04
UMASK_FP_ARITH_INST_RETIRED2_256B_PACKED_HALF       0x08
UMASK_FP_ARITH_INST_RETIRED2_512B_PACKED_HALF       0x10
#DESC_FP_ARITH_INST_RETIRED2_VECTOR "Number of all Vector (also called packed) Half-Precision FP arithmetic instructions(1) retired."
UMASK_FP_ARITH_INST_RETIRED2_VECTOR                 0x1C

EVENT_RTM_RETIRED                       0xC9 PMC
UMASK_RTM_RETIRED_START                 0x01
UMASK_RTM_RETIRED_COMMIT                0x02
UMASK_RTM_RETIRED_ABORTED               0x04
UMASK_RTM_RETIRED_ABORTED_MEM           0x08
UMASK_RTM_RETIRED_ABORTED_UNFRIENDLY    0x20
UMASK_RTM_RETIRED_ABORTED_MEMTYPE       0x40
UMASK_RTM_RETIRED_ABORTED_EVENTS        0x80

EVENT_MISC_RETIRED                      0xCC PMC
UMASK_MISC_RETIRED_LBR_INSERTS          0x20

# Register 0x3F6 and partly "TakenAlone"
# MEM_TRANS_RETIRED 0xCD

EVENT_AMX_OPS_RETIRED                   0xCE PMC
UMASK_AMX_OPS_RETIRED_INT8              0x01
UMASK_AMX_OPS_RETIRED_BF16              0x02

EVENT_MEM_INST_RETIRED                  0xD0 PMC
UMASK_MEM_INST_RETIRED_STLB_MISS_LOADS  0x11
UMASK_MEM_INST_RETIRED_STLB_MISS_STORES 0x12
UMASK_MEM_INST_RETIRED_LOCK_LOADS       0x21
UMASK_MEM_INST_RETIRED_SPLIT_LOADS      0x41
UMASK_MEM_INST_RETIRED_SPLIT_STORES     0x42
UMASK_MEM_INST_RETIRED_ALL_LOADS        0x81
UMASK_MEM_INST_RETIRED_ALL_STORES       0x82
UMASK_MEM_INST_RETIRED_ALL              0x83

EVENT_MEM_LOAD_RETIRED                  0xD1 PMC
UMASK_MEM_LOAD_RETIRED_L1_HIT           0x01
UMASK_MEM_LOAD_RETIRED_L2_HIT           0x02
UMASK_MEM_LOAD_RETIRED_L3_HIT           0x04
UMASK_MEM_LOAD_RETIRED_L1_MISS          0x08
UMASK_MEM_LOAD_RETIRED_L2_MISS          0x10
UMASK_MEM_LOAD_RETIRED_L3_MISS          0x20
UMASK_MEM_LOAD_RETIRED_FB_HIT           0x40
UMASK_MEM_LOAD_RETIRED_LOCAL_PMM        0x80

EVENT_MEM_LOAD_L3_HIT_RETIRED               0xD2 PMC
UMASK_MEM_LOAD_L3_HIT_RETIRED_XSNP_MISS     0x01
UMASK_MEM_LOAD_L3_HIT_RETIRED_XSNP_NO_FWD   0x02
UMASK_MEM_LOAD_L3_HIT_RETIRED_XSNP_FWD      0x04
UMASK_MEM_LOAD_L3_HIT_RETIRED_XSNP_NONE     0x08

EVENT_MEM_LOAD_L3_MISS_RETIRED              0xD3 PMC
UMASK_MEM_LOAD_L3_MISS_RETIRED_LOCAL_DRAM   0x01
UMASK_MEM_LOAD_L3_MISS_RETIRED_REMOTE_DRAM  0x02
UMASK_MEM_LOAD_L3_MISS_RETIRED_REMOTE_HITM  0x04
UMASK_MEM_LOAD_L3_MISS_RETIRED_REMOTE_FWD   0x08
UMASK_MEM_LOAD_L3_MISS_RETIRED_REMOTE_PMM   0x10

EVENT_MEM_LOAD_MISC_RETIRED     0xD4 PMC
UMASK_MEM_LOAD_MISC_RETIRED_UC  0x04

EVENT_MISC2_RETIRED_LFENCE      0xE0 PMC
UMASK_MISC2_RETIRED_LFENCE      0x20

EVENT_MEM_UOP_RETIRED_ANY       0xE5 PMC
UMASK_MEM_UOP_RETIRED_ANY       0x03

EVENT_INT_VEC_RETIRED           0xE7 PMC
#DESC_INT_VEC_RETIRED_ADD_128 "Number of retired integer ADD/SUB (regular or horizontal), SAD 128-bit vector instructions."
UMASK_INT_VEC_RETIRED_ADD_128   0x03
#DESC_INT_VEC_RETIRED_ADD_256 "Number of retired integer ADD/SUB (regular or horizontal), SAD 256-bit vector instructions."
UMASK_INT_VEC_RETIRED_ADD_256   0x0C
UMASK_INT_VEC_RETIRED_VNNI_128  0x10
UMASK_INT_VEC_RETIRED_VNNI_256  0x20
UMASK_INT_VEC_RETIRED_SHUFFLES  0x40
UMASK_INT_VEC_RETIRED_MUL_256   0x80
UMASK_INT_VEC_RETIRED_128BIT    0x13
UMASK_INT_VEC_RETIRED_256BIT    0xAC

EVENT_CPU_CLK_UNHALTED              0xEC PMC
UMASK_CPU_CLK_UNHALTED_DISTRIBUTED  0x02
UMASK_CPU_CLK_UNHALTED_C01          0x10
UMASK_CPU_CLK_UNHALTED_C02          0x20
UMASK_CPU_CLK_UNHALTED_PAUSE        0x40
DEFAULT_OPTIONS_CPU_CLK_UNHALTED_PAUSE_INST EVENT_OPTION_EDGE=0x1,EVENT_OPTION_THRESHOLD=0x1
UMASK_CPU_CLK_UNHALTED_PAUSE_INST   0x40
UMASK_CPU_CLK_UNHALTED_C0_WAIT      0x70


EVENT_OFFCORE_RESPONSE_0                            0x2A PMC
OPTIONS_OFFCORE_RESPONSE_0_OPTIONS                  EVENT_OPTION_MATCH0_MASK|EVENT_OPTION_MATCH1_MASK
UMASK_OFFCORE_RESPONSE_0_OPTIONS                    0x01 0xFF 0xFF

EVENT_OFFCORE_RESPONSE_1                            0x2B PMC
OPTIONS_OFFCORE_RESPONSE_1_OPTIONS                  EVENT_OPTION_MATCH0_MASK|EVENT_OPTION_MATCH1_MASK
UMASK_OFFCORE_RESPONSE_1_OPTIONS                    0x01 0xFF 0xFF



# Uncore events based on version 1.15 of sapphirerapids_uncore_experimental.json
#######################################################
#              UBOX == UBOX                           #
#######################################################
EVENT_EVENT_MSG                                    0x42 UBOX
UMASK_EVENT_MSG_VLW_RCVD                           0x01
UMASK_EVENT_MSG_MSI_RCVD                           0x02
UMASK_EVENT_MSG_IPI_RCVD                           0x04
UMASK_EVENT_MSG_DOORBELL_RCVD                      0x08
UMASK_EVENT_MSG_INT_PRIO                           0x10

EVENT_PHOLD_CYCLES_ASSERT_TO_ACK        0x45 UBOX
UMASK_PHOLD_CYCLES_ASSERT_TO_ACK        0x01

EVENT_RACU_REQUESTS                                0x46 UBOX
UMASK_RACU_REQUESTS                                0x00

EVENT_RACU_DRNG                         0x4C UBOX0
UMASK_RACU_DRNG_RDRAND                  0x01
UMASK_RACU_DRNG_RDSEED                  0x02
UMASK_RACU_DRNG_PFTCH_BUF_EMPTY         0x04

EVENT_M2U_MISC1                         0x4D UBOX0
UMASK_M2U_MISC1_RXC_CYCLES_NE_CBO_NCB   0x01
UMASK_M2U_MISC1_RXC_CYCLES_NE_CBO_NCS   0x02
UMASK_M2U_MISC1_RXC_CYCLES_NE_UPI_NCB   0x04
UMASK_M2U_MISC1_RXC_CYCLES_NE_UPI_NCS   0x08
UMASK_M2U_MISC1_TXC_CYCLES_CRD_OVF_CBO_NCB   0x10
UMASK_M2U_MISC1_TXC_CYCLES_CRD_OVF_CBO_NCS   0x20
UMASK_M2U_MISC1_TXC_CYCLES_CRD_OVF_UPI_NCB   0x40
UMASK_M2U_MISC1_TXC_CYCLES_CRD_OVF_UPI_NCS   0x80

EVENT_M2U_MISC2                             0x4E UBOX0
UMASK_M2U_MISC2_RXC_CYCLES_FULL_BL          0x01
UMASK_M2U_MISC2_RXC_CYCLES_EMPTY_BL         0x02
UMASK_M2U_MISC2_TXC_CYCLES_CRD_OVF_VN0_NCB  0x04
UMASK_M2U_MISC2_TXC_CYCLES_CRD_OVF_VN0_NCS  0x08
UMASK_M2U_MISC2_TXC_CYCLES_EMPTY_BL         0x10
UMASK_M2U_MISC2_TXC_CYCLES_EMPTY_AK         0x20
UMASK_M2U_MISC2_TXC_CYCLES_EMPTY_AKC        0x40
UMASK_M2U_MISC2_TXC_CYCLES_FULL_BL          0x80

EVENT_M2U_MISC3                             0x4F UBOX0
UMASK_M2U_MISC3_TXC_CYCLES_FULL_AK          0x01
UMASK_M2U_MISC3_TXC_CYCLES_FULL_AKC         0x02

#######################################################
#              IRP == IRP                             #
#######################################################
EVENT_IRP_CLOCKTICKS                               0x01 IRP
UMASK_IRP_CLOCKTICKS                               0x00

EVENT_MISC0                                        0x1E IRP
UMASK_MISC0_2ND_ATOMIC_INSERT                      0x10
UMASK_MISC0_2ND_RD_INSERT                          0x04
UMASK_MISC0_2ND_WR_INSERT                          0x08
UMASK_MISC0_FAST_REJ                               0x02
UMASK_MISC0_FAST_REQ                               0x01
UMASK_MISC0_FAST_XFER                              0x20
UMASK_MISC0_PF_ACK_HINT                            0x40
UMASK_MISC0_SLOWPATH_FWPF_NO_PRF                   0x80

EVENT_MISC1                                        0x1F IRP
UMASK_MISC1_SLOW_I                                 0x01
UMASK_MISC1_SLOW_S                                 0x02
UMASK_MISC1_SLOW_E                                 0x04
UMASK_MISC1_SLOW_M                                 0x08
UMASK_MISC1_SEC_RCVD_INVLD                         0x20
UMASK_MISC1_SEC_RCVD_VLD                           0x40

EVENT_IRP_ALL                                      0x20 IRP
UMASK_IRP_ALL_OUTBOUND_INSERTS                     0x02
UMASK_IRP_ALL_EVICTS                               0x04

EVENT_TXC_AK_INSERTS                               0x0B IRP
UMASK_TXC_AK_INSERTS                               0x00

EVENT_TXC_BL_DRS_CYCLES_FULL                       0x05 IRP
UMASK_TXC_BL_DRS_CYCLES_FULL                       0x00

EVENT_TXC_BL_DRS_INSERTS                           0x02 IRP
UMASK_TXC_BL_DRS_INSERTS                           0x00

EVENT_TXC_BL_DRS_OCCUPANCY                         0x08 IRP
UMASK_TXC_BL_DRS_OCCUPANCY                         0x00

EVENT_TXC_BL_NCB_CYCLES_FULL                       0x06 IRP
UMASK_TXC_BL_NCB_CYCLES_FULL                       0x00

EVENT_TXC_BL_NCB_INSERTS                           0x03 IRP
UMASK_TXC_BL_NCB_INSERTS                           0x00

EVENT_TXC_BL_NCB_OCCUPANCY                         0x09 IRP
UMASK_TXC_BL_NCB_OCCUPANCY                         0x00

EVENT_TXC_BL_NCS_CYCLES_FULL                       0x07 IRP
UMASK_TXC_BL_NCS_CYCLES_FULL                       0x00

EVENT_TXC_BL_NCS_INSERTS                           0x04 IRP
UMASK_TXC_BL_NCS_INSERTS                           0x00

EVENT_TXC_BL_NCS_OCCUPANCY                         0x0A IRP
UMASK_TXC_BL_NCS_OCCUPANCY                         0x00

EVENT_TXR2_AD0_STALL_CREDIT_CYCLES                 0x1A IRP
UMASK_TXR2_AD0_STALL_CREDIT_CYCLES                 0x00

EVENT_TXR2_AD01_STALL_CREDIT_CYCLES                0x1C IRP
UMASK_TXR2_AD01_STALL_CREDIT_CYCLES                0x00

EVENT_TXR2_AD1_STALL_CREDIT_CYCLES                 0x1B IRP
UMASK_TXR2_AD1_STALL_CREDIT_CYCLES                 0x00

EVENT_TXR2_BL_STALL_CREDIT_CYCLES                  0x1D IRP
UMASK_TXR2_BL_STALL_CREDIT_CYCLES                  0x00

EVENT_TXS_DATA_INSERTS_NCB                         0x0D IRP
UMASK_TXS_DATA_INSERTS_NCB                         0x00

EVENT_TXS_DATA_INSERTS_NCS                         0x0E IRP
UMASK_TXS_DATA_INSERTS_NCS                         0x00

EVENT_TXS_REQUEST_OCCUPANCY                        0x0C IRP
UMASK_TXS_REQUEST_OCCUPANCY                        0x00

EVENT_CACHE_TOTAL_OCCUPANCY                        0x0F IRP
UMASK_CACHE_TOTAL_OCCUPANCY_MEM                    0x04

EVENT_SNOOP_RESP                                   0x12 IRP
UMASK_SNOOP_RESP_ALL_HIT                           0x7E
UMASK_SNOOP_RESP_ALL_HIT_ES                        0x74
UMASK_SNOOP_RESP_ALL_HIT_I                         0x72
UMASK_SNOOP_RESP_ALL_MISS                          0x71
UMASK_SNOOP_RESP_HIT_ES                            0x04
UMASK_SNOOP_RESP_HIT_I                             0x02
UMASK_SNOOP_RESP_HIT_M                             0x08
UMASK_SNOOP_RESP_MISS                              0x01
UMASK_SNOOP_RESP_SNPCODE                           0x10
UMASK_SNOOP_RESP_SNPDATA                           0x20
UMASK_SNOOP_RESP_SNPINV                            0x40

#######################################################
#              IIO == IIO                             #
#######################################################
EVENT_IIO_CLOCKTICKS                    0x01 IIO
UMASK_IIO_CLOCKTICKS                    0x00

EVENT_MASK_MATCH_AND                               0x02 IIO
UMASK_MASK_MATCH_AND_BUS0                          0x01
UMASK_MASK_MATCH_AND_BUS1                          0x02
UMASK_MASK_MATCH_AND_BUS0_NOT_BUS1                 0x04
UMASK_MASK_MATCH_AND_BUS0_BUS1                     0x08
UMASK_MASK_MATCH_AND_NOT_BUS0_BUS1                 0x10
UMASK_MASK_MATCH_AND_NOT_BUS0_NOT_BUS1             0x20

EVENT_MASK_MATCH_OR                                0x03 IIO
UMASK_MASK_MATCH_OR_BUS0                           0x01
UMASK_MASK_MATCH_OR_BUS1                           0x02
UMASK_MASK_MATCH_OR_BUS0_NOT_BUS1                  0x04
UMASK_MASK_MATCH_OR_BUS0_BUS1                      0x08
UMASK_MASK_MATCH_OR_NOT_BUS0_BUS1                  0x10
UMASK_MASK_MATCH_OR_NOT_BUS0_NOT_BUS1              0x20


EVENT_IIO_IOMMU0                        0x40 IIO0C0|IIO1C0|IIO2C0|IIO3C0|IIO4C0|IIO5C0|IIO6C0|IIO7C0|IIO8C0|IIO9C0|IIO10C0|IIO11C0|IIO12C0|IIO13C0|IIO14C0|IIO15C0
UMASK_IIO_IOMMU0_MISSES                 0x20

EVENT_IIO_PWT_OCCUPANCY                 0x42 IIO
UMASK_IIO_PWT_OCCUPANCY                 0xFF

EVENT_PWT_OCCUPANCY                                0x42 IIO
UMASK_PWT_OCCUPANCY                                0xFF

EVENT_COMP_BUF_INSERTS                             0xC2 IIO
UMASK_COMP_BUF_INSERTS_CMPD_ALL_PARTS              0x04

EVENT_COMP_BUF_OCCUPANCY                           0xD5 IIO
UMASK_COMP_BUF_OCCUPANCY_CMPD_ALL_PARTS            0xFF

EVENT_IOMMU1                                       0x41 IIO
UMASK_IOMMU1_SLPWC_1G_HITS                         0x04
UMASK_IOMMU1_SLPWC_256T_HITS                       0x10
UMASK_IOMMU1_SLPWC_512G_HITS                       0x08
UMASK_IOMMU1_PWT_CACHE_LOOKUPS                     0x01
UMASK_IOMMU1_PWC_2M_HITS                           0x02
UMASK_IOMMU1_PWC_1G_HITS                           0x04
UMASK_IOMMU1_PWC_512G_HITS                         0x08
UMASK_IOMMU1_PWC_256T_HITS                         0x10
UMASK_IOMMU1_PWC_CACHE_FILLS                       0x20

EVENT_IOMMU3                                       0x43 IIO
UMASK_IOMMU3_PWT_OCCUPANCY_MSB                     0x01

EVENT_IIO_DATA_REQ_OF_CPU                   0x83 IIO
OPTIONS_IIO_DATA_REQ_OF_CPU                         EVENT_OPTION_MATCH0_MASK
DEFAULT_OPTIONS_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART0 EVENT_OPTION_MATCH0=0x00070010
UMASK_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART0  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART1 EVENT_OPTION_MATCH0=0x00070020
UMASK_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART1  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART2 EVENT_OPTION_MATCH0=0x00070040
UMASK_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART2  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART3 EVENT_OPTION_MATCH0=0x00070080
UMASK_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART3  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART4 EVENT_OPTION_MATCH0=0x00070100
UMASK_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART4  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART5 EVENT_OPTION_MATCH0=0x00070200
UMASK_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART5  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART6 EVENT_OPTION_MATCH0=0x00070400
UMASK_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART6  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART7 EVENT_OPTION_MATCH0=0x00070800
UMASK_IIO_DATA_REQ_OF_CPU_PEER_WRITE_PART7  0x02

EVENT_IIO_DATA_REQ_BY_CPU                   0xC2 IIO
OPTIONS_IIO_DATA_REQ_BY_CPU                         EVENT_OPTION_MATCH0_MASK
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART0 EVENT_OPTION_MATCH0=0x00070010
UMASK_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART0  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART1 EVENT_OPTION_MATCH0=0x00070020
UMASK_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART1  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART2 EVENT_OPTION_MATCH0=0x00070040
UMASK_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART2  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART3 EVENT_OPTION_MATCH0=0x00070080
UMASK_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART3  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART4 EVENT_OPTION_MATCH0=0x00070100
UMASK_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART4  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART5 EVENT_OPTION_MATCH0=0x00070200
UMASK_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART5  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART6 EVENT_OPTION_MATCH0=0x00070400
UMASK_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART6  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART7 EVENT_OPTION_MATCH0=0x00070800
UMASK_IIO_DATA_REQ_BY_CPU_PEER_WRITE_PART7  0x02
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_READ_PART0 EVENT_OPTION_MATCH0=0x00070010
UMASK_IIO_DATA_REQ_BY_CPU_PEER_READ_PART0   0x08
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_READ_PART1 EVENT_OPTION_MATCH0=0x00070020
UMASK_IIO_DATA_REQ_BY_CPU_PEER_READ_PART1   0x08
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_READ_PART2 EVENT_OPTION_MATCH0=0x00070040
UMASK_IIO_DATA_REQ_BY_CPU_PEER_READ_PART2   0x08
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_READ_PART3 EVENT_OPTION_MATCH0=0x00070080
UMASK_IIO_DATA_REQ_BY_CPU_PEER_READ_PART3   0x08
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_READ_PART4 EVENT_OPTION_MATCH0=0x00070100
UMASK_IIO_DATA_REQ_BY_CPU_PEER_READ_PART4   0x08
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_READ_PART5 EVENT_OPTION_MATCH0=0x00070200
UMASK_IIO_DATA_REQ_BY_CPU_PEER_READ_PART5   0x08
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_READ_PART6 EVENT_OPTION_MATCH0=0x00070400
UMASK_IIO_DATA_REQ_BY_CPU_PEER_READ_PART6   0x08
DEFAULT_OPTIONS_IIO_DATA_REQ_BY_CPU_PEER_READ_PART7 EVENT_OPTION_MATCH0=0x00070800
UMASK_IIO_DATA_REQ_BY_CPU_PEER_READ_PART7   0x08

#EVENT_DATA_REQ_OF_CPU                              0x83 IIO
#UMASK_DATA_REQ_OF_CPU_PEER_WRITE_PART0            0x02
#UMASK_DATA_REQ_OF_CPU_PEER_WRITE_PART1            0x02
#UMASK_DATA_REQ_OF_CPU_PEER_WRITE_PART2            0x02
#UMASK_DATA_REQ_OF_CPU_PEER_WRITE_PART3            0x02
#UMASK_DATA_REQ_OF_CPU_PEER_WRITE_PART4            0x02
#UMASK_DATA_REQ_OF_CPU_PEER_WRITE_PART5            0x02
#UMASK_DATA_REQ_OF_CPU_PEER_WRITE_PART6            0x02
#UMASK_DATA_REQ_OF_CPU_PEER_WRITE_PART7            0x02

EVENT_INBOUND_ARB_REQ                              0x86 IIO
OPTIONS_INBOUND_ARB_REQ                            EVENT_OPTION_MATCH0_MASK
UMASK_INBOUND_ARB_REQ_IOMMU_REQ                    0x01
UMASK_INBOUND_ARB_REQ_IOMMU_HIT                    0x02
DEFAULT_OPTIONS_INBOUND_ARB_REQ_REQ_OWN            EVENT_OPTION_MATCH0=0x00070FF0
UMASK_INBOUND_ARB_REQ_REQ_OWN                      0x04
UMASK_INBOUND_ARB_REQ_FINAL_RD_WR                  0x08
DEFAULT_OPTIONS_INBOUND_ARB_REQ_WR                 EVENT_OPTION_MATCH0=0x00070FF0
UMASK_INBOUND_ARB_REQ_WR                           0x10
DEFAULT_OPTIONS_INBOUND_ARB_REQ_DATA               EVENT_OPTION_MATCH0=0x00070FF0
UMASK_INBOUND_ARB_REQ_DATA                         0x20

EVENT_INBOUND_ARB_WON                              0x87 IIO
OPTIONS_INBOUND_ARB_WON                            EVENT_OPTION_MATCH0_MASK
DEFAULT_OPTIONS_INBOUND_ARB_WON_IOMMU_REQ          EVENT_OPTION_MATCH0=0x00070FF0
UMASK_INBOUND_ARB_WON_IOMMU_REQ                    0x01
DEFAULT_OPTIONS_INBOUND_ARB_WON_IOMMU_HIT          EVENT_OPTION_MATCH0=0x00070FF0
UMASK_INBOUND_ARB_WON_IOMMU_HIT                    0x02
DEFAULT_OPTIONS_INBOUND_ARB_WON_REQ_OWN            EVENT_OPTION_MATCH0=0x00070FF0
UMASK_INBOUND_ARB_WON_REQ_OWN                      0x04
DEFAULT_OPTIONS_INBOUND_ARB_WON_FINAL_RD_WR        EVENT_OPTION_MATCH0=0x00070FF0
UMASK_INBOUND_ARB_WON_FINAL_RD_WR                  0x08
DEFAULT_OPTIONS_INBOUND_ARB_WON_WR                 EVENT_OPTION_MATCH0=0x00070FF0
UMASK_INBOUND_ARB_WON_WR                           0x10
DEFAULT_OPTIONS_INBOUND_ARB_WON_DATA               EVENT_OPTION_MATCH0=0x00070FF0
UMASK_INBOUND_ARB_WON_DATA                         0x20

EVENT_NUM_REQ_OF_CPU_BY_TGT                        0x8E IIO
UMASK_NUM_REQ_OF_CPU_BY_TGT_MSGB                   0x01
UMASK_NUM_REQ_OF_CPU_BY_TGT_MCAST                  0x02
UMASK_NUM_REQ_OF_CPU_BY_TGT_UBOX                   0x04
UMASK_NUM_REQ_OF_CPU_BY_TGT_MEM                    0x08
UMASK_NUM_REQ_OF_CPU_BY_TGT_REM_P2P                0x10
UMASK_NUM_REQ_OF_CPU_BY_TGT_LOC_P2P                0x20
UMASK_NUM_REQ_OF_CPU_BY_TGT_CONFINED_P2P           0x40
UMASK_NUM_REQ_OF_CPU_BY_TGT_ABORT                  0x80

EVENT_REQ_FROM_PCIE_PASS_CMPL                      0x90 IIO
OPTIONS_REQ_FROM_PCIE_PASS_CMPL                    EVENT_OPTION_MATCH0_MASK
DEFAULT_OPTIONS_REQ_FROM_PCIE_PASS_CMPL_REQ_OWN    EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_PASS_CMPL_REQ_OWN              0x04
UMASK_REQ_FROM_PCIE_PASS_CMPL_FINAL_RD_WR          0x08
DEFAULT_OPTIONS_REQ_FROM_PCIE_PASS_CMPL_WR         EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_PASS_CMPL_WR                   0x10
DEFAULT_OPTIONS_REQ_FROM_PCIE_PASS_CMPL_DATA       EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_PASS_CMPL_DATA                 0x20

EVENT_REQ_FROM_PCIE_CL_CMPL                        0x91 IIO
OPTIONS_REQ_FROM_PCIE_CL_CMPL                      EVENT_OPTION_MATCH0_MASK
DEFAULT_OPTIONS_REQ_FROM_PCIE_CL_CMPL_REQ_OWN      EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_CL_CMPL_REQ_OWN                0x04
DEFAULT_OPTIONS_REQ_FROM_PCIE_CL_CMPL_FINAL_RD_WR  EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_CL_CMPL_FINAL_RD_WR            0x08
DEFAULT_OPTIONS_REQ_FROM_PCIE_CL_CMPL_WR           EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_CL_CMPL_WR                     0x10
DEFAULT_OPTIONS_REQ_FROM_PCIE_CL_CMPL_DATA         EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_CL_CMPL_DATA                   0x20

EVENT_REQ_FROM_PCIE_CMPL                           0x92 IIO
OPTIONS_REQ_FROM_PCIE_CMPL                         EVENT_OPTION_MATCH0_MASK
DEFAULT_OPTIONS_REQ_FROM_PCIE_CMPL_IOMMU_REQ       EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_CMPL_IOMMU_REQ                 0x01
DEFAULT_OPTIONS_REQ_FROM_PCIE_CMPL_IOMMU_HIT       EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_CMPL_IOMMU_HIT                 0x02
DEFAULT_OPTIONS_REQ_FROM_PCIE_CMPL_REQ_OWN         EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_CMPL_REQ_OWN                   0x04
DEFAULT_OPTIONS_REQ_FROM_PCIE_CMPL_FINAL_RD_WR     EVENT_OPTION_MATCH0=0x00070FF0
UMASK_REQ_FROM_PCIE_CMPL_FINAL_RD_WR               0x08

EVENT_OUTBOUND_CL_REQS_ISSUED                      0xD0 IIO
UMASK_OUTBOUND_CL_REQS_ISSUED_TO_IO                0x08

EVENT_OUTBOUND_TLP_REQS_ISSUED                     0xD1 IIO
UMASK_OUTBOUND_TLP_REQS_ISSUED_TO_IO               0x08

#######################################################
#              CBOX == CHA                            #
#######################################################
EVENT_CBOX_CLOCKTICKS                   0x01 CBOX
UMASK_CBOX_CLOCKTICKS                   0x00

EVENT_CHA_REQUESTS                      0x50 CBOX
UMASK_CHA_REQUESTS_READS_LOCAL          0x01
UMASK_CHA_REQUESTS_READS_REMOTE         0x02
UMASK_CHA_REQUESTS_READS                0x03
UMASK_CHA_REQUESTS_WRITES_LOCAL         0x04
UMASK_CHA_REQUESTS_WRITES_REMOTE        0x08
UMASK_CHA_REQUESTS_WRITES               0x0C
UMASK_CHA_REQUESTS_INVITOE              0x30

EVENT_SNOOPS_SENT                                  0x51 CBOX
UMASK_SNOOPS_SENT_ALL                              0x01
UMASK_SNOOPS_SENT_LOCAL                            0x04
UMASK_SNOOPS_SENT_REMOTE                           0x08
UMASK_SNOOPS_SENT_BCST_LOCAL                       0x10
UMASK_SNOOPS_SENT_BCST_REMOTE                      0x20
UMASK_SNOOPS_SENT_DIRECT_LOCAL                     0x40
UMASK_SNOOPS_SENT_DIRECT_REMOTE                    0x80

EVENT_DIR_LOOKUP                                   0x53 CBOX
UMASK_DIR_LOOKUP_NO_SNP                            0x02
UMASK_DIR_LOOKUP_SNP                               0x01

EVENT_DIR_UPDATE                        0x54 CBOX
UMASK_DIR_UPDATE_HA                     0x01
UMASK_DIR_UPDATE_TOR                    0x02

EVENT_OSB                                          0x55 CBOX
UMASK_OSB_LOCAL_INVITOE                            0x01
UMASK_OSB_LOCAL_READ                               0x02
UMASK_OSB_REMOTE_READ                              0x04
UMASK_OSB_REMOTE_READINVITOE                       0x08
UMASK_OSB_RFO_HITS_SNP_BCAST                       0x10
UMASK_OSB_OFF_PWRHEURISTIC                         0x20

EVENT_WB_PUSH_MTOI                                 0x56 CBOX
UMASK_WB_PUSH_MTOI_LLC                             0x01
UMASK_WB_PUSH_MTOI_MEM                             0x02

EVENT_BYPASS_CHA_IMC                               0x57 CBOX
UMASK_BYPASS_CHA_IMC_TAKEN                         0x01
UMASK_BYPASS_CHA_IMC_INTERMEDIATE                  0x02
UMASK_BYPASS_CHA_IMC_NOT_TAKEN                     0x04

EVENT_READ_NO_CREDITS                              0x58 CBOX
UMASK_READ_NO_CREDITS_MC0                          0x01
UMASK_READ_NO_CREDITS_MC1                          0x02
UMASK_READ_NO_CREDITS_MC2                          0x04
UMASK_READ_NO_CREDITS_MC3                          0x08
UMASK_READ_NO_CREDITS_MC4                          0x10
UMASK_READ_NO_CREDITS_MC5                          0x20

EVENT_IMC_READS_COUNT                              0x59 CBOX
UMASK_IMC_READS_COUNT_PRIORITY                     0x02

EVENT_WRITE_NO_CREDITS                             0x5A CBOX
UMASK_WRITE_NO_CREDITS_MC0                         0x01
UMASK_WRITE_NO_CREDITS_MC1                         0x02
UMASK_WRITE_NO_CREDITS_MC2                         0x04
UMASK_WRITE_NO_CREDITS_MC3                         0x08
UMASK_WRITE_NO_CREDITS_MC4                         0x10
UMASK_WRITE_NO_CREDITS_MC5                         0x20

EVENT_IMC_WRITES_COUNT                             0x5B CBOX
UMASK_IMC_WRITES_COUNT_PARTIAL                     0x02
UMASK_IMC_WRITES_COUNT_FULL_PRIORITY               0x04
UMASK_IMC_WRITES_COUNT_PARTIAL_PRIORITY            0x08

EVENT_SNOOP_RESP                                   0x5C CBOX
UMASK_SNOOP_RESP_RSPI                              0x01
UMASK_SNOOP_RESP_RSPIFWD                           0x04
UMASK_SNOOP_RESP_RSPS                              0x02
UMASK_SNOOP_RESP_RSPSFWD                           0x08
UMASK_SNOOP_RESP_RSPWB                             0x10
UMASK_SNOOP_RESP_RSPFWDWB                          0x20
UMASK_SNOOP_RESP_RSPCNFLCT                         0x40
UMASK_SNOOP_RESP_RSPFWD                            0x80

EVENT_SNOOP_RESP_LOCAL                             0x5D CBOX
UMASK_SNOOP_RESP_LOCAL_RSPI                        0x01
UMASK_SNOOP_RESP_LOCAL_RSPS                        0x02
UMASK_SNOOP_RESP_LOCAL_RSPIFWD                     0x04
UMASK_SNOOP_RESP_LOCAL_RSPSFWD                     0x08
UMASK_SNOOP_RESP_LOCAL_RSPWB                       0x10
UMASK_SNOOP_RESP_LOCAL_RSPFWDWB                    0x20
UMASK_SNOOP_RESP_LOCAL_RSPCNFLCT                   0x40
UMASK_SNOOP_RESP_LOCAL_RSPFWD                      0x80

EVENT_HITME_LOOKUP                                 0x5E CBOX
UMASK_HITME_LOOKUP_READ                            0x01
UMASK_HITME_LOOKUP_WRITE                           0x02

EVENT_HITME_HIT                                    0x5F CBOX
UMASK_HITME_HIT_EX_RDS                             0x01
UMASK_HITME_HIT_SHARED_OWNREQ                      0x04
UMASK_HITME_HIT_WBMTOE                             0x08
UMASK_HITME_HIT_WBMTOI_OR_S                        0x10

EVENT_HITME_MISS                                   0x60 CBOX
UMASK_HITME_MISS_SHARED_RDINVOWN                   0x20
UMASK_HITME_MISS_NOTSHARED_RDINVOWN                0x40
UMASK_HITME_MISS_READ_OR_INV                       0x80

EVENT_HITME_UPDATE                                 0x61 CBOX
UMASK_HITME_UPDATE_DEALLOCATE_RSPFWDI_LOC          0x01
UMASK_HITME_UPDATE_RSPFWDI_REM                     0x02
UMASK_HITME_UPDATE_SHARED                          0x04
UMASK_HITME_UPDATE_RDINVOWN                        0x08
UMASK_HITME_UPDATE_DEALLOCATE                      0x10

EVENT_SNOOP_RSP_MISC                               0x6B CBOX
UMASK_SNOOP_RSP_MISC_MTOI_RSPIFWDM                 0x01
UMASK_SNOOP_RSP_MISC_MTOI_RSPDATAM                 0x02
UMASK_SNOOP_RSP_MISC_RSPIFWDMPTL_HITSF             0x04
UMASK_SNOOP_RSP_MISC_RSPIFWDMPTL_HITLLC            0x08
UMASK_SNOOP_RSP_MISC_PULLDATAPTL_HITSF             0x10
UMASK_SNOOP_RSP_MISC_PULLDATAPTL_HITLLC            0x20

EVENT_DIRECT_GO_OPC                                0x6D CBOX
UMASK_DIRECT_GO_OPC_EXTCMP                         0x01
UMASK_DIRECT_GO_OPC_PULL                           0x02
UMASK_DIRECT_GO_OPC_GO                             0x04
UMASK_DIRECT_GO_OPC_GO_PULL                        0x08
UMASK_DIRECT_GO_OPC_FAST_GO                        0x10
UMASK_DIRECT_GO_OPC_FAST_GO_PULL                   0x20
UMASK_DIRECT_GO_OPC_NOP                            0x40
UMASK_DIRECT_GO_OPC_IDLE_DUE_SUPPRESS              0x80

EVENT_DIRECT_GO                                    0x6E CBOX
UMASK_DIRECT_GO_HA_TOR_DEALLOC                     0x01
UMASK_DIRECT_GO_HA_SUPPRESS_NO_D2C                 0x02
UMASK_DIRECT_GO_HA_SUPPRESS_DRD                    0x04

EVENT_XPT_PREF                                     0x6F CBOX
UMASK_XPT_PREF_SENT0                               0x01
UMASK_XPT_PREF_DROP0_NOCRD                         0x04
UMASK_XPT_PREF_DROP0_CONFLICT                      0x08
UMASK_XPT_PREF_SENT1                               0x10
UMASK_XPT_PREF_DROP1_NOCRD                         0x40
UMASK_XPT_PREF_DROP1_CONFLICT                      0x80

EVENT_EGRESS_ORDERING                              0xBA CBOX
UMASK_EGRESS_ORDERING_IV_SNOOPGO_UP                0x01
UMASK_EGRESS_ORDERING_IV_SNOOPGO_DN                0x04

EVENT_RXC_INSERTS                                  0x13 CBOX
UMASK_RXC_INSERTS_IRQ                              0x01
UMASK_RXC_INSERTS_IRQ_REJ                          0x02
UMASK_RXC_INSERTS_IPQ                              0x04
UMASK_RXC_INSERTS_PRQ                              0x10
UMASK_RXC_INSERTS_PRQ_REJ                          0x20
UMASK_RXC_INSERTS_RRQ                              0x40
UMASK_RXC_INSERTS_WBQ                              0x80

EVENT_RXC_IRQ0_REJECT                              0x18 CBOX
UMASK_RXC_IRQ0_REJECT_AD_REQ_VN0                   0x01
UMASK_RXC_IRQ0_REJECT_AD_RSP_VN0                   0x02
UMASK_RXC_IRQ0_REJECT_BL_RSP_VN0                   0x04
UMASK_RXC_IRQ0_REJECT_BL_WB_VN0                    0x08
UMASK_RXC_IRQ0_REJECT_BL_NCB_VN0                   0x10
UMASK_RXC_IRQ0_REJECT_BL_NCS_VN0                   0x20
UMASK_RXC_IRQ0_REJECT_AK_NON_UPI                   0x40
UMASK_RXC_IRQ0_REJECT_IV_NON_UPI                   0x80

EVENT_RXC_IRQ1_REJECT                              0x19 CBOX
UMASK_RXC_IRQ1_REJECT_PA_MATCH                     0x80
UMASK_RXC_IRQ1_REJECT_ANY0                         0x01
UMASK_RXC_IRQ1_REJECT_HA                           0x02
UMASK_RXC_IRQ1_REJECT_LLC_VICTIM                   0x04
UMASK_RXC_IRQ1_REJECT_SF_VICTIM                    0x08
UMASK_RXC_IRQ1_REJECT_VICTIM                       0x10
UMASK_RXC_IRQ1_REJECT_LLC_OR_SF_WAY                0x20
UMASK_RXC_IRQ1_REJECT_ALLOW_SNP                    0x40

EVENT_RXC_PRQ0_REJECT                              0x20 CBOX
UMASK_RXC_PRQ0_REJECT_AD_REQ_VN0                   0x01
UMASK_RXC_PRQ0_REJECT_AD_RSP_VN0                   0x02
UMASK_RXC_PRQ0_REJECT_BL_RSP_VN0                   0x04
UMASK_RXC_PRQ0_REJECT_BL_WB_VN0                    0x08
UMASK_RXC_PRQ0_REJECT_BL_NCB_VN0                   0x10
UMASK_RXC_PRQ0_REJECT_BL_NCS_VN0                   0x20
UMASK_RXC_PRQ0_REJECT_AK_NON_UPI                   0x40
UMASK_RXC_PRQ0_REJECT_IV_NON_UPI                   0x80

EVENT_RXC_PRQ1_REJECT                              0x21 CBOX
UMASK_RXC_PRQ1_REJECT_ANY0                         0x01
UMASK_RXC_PRQ1_REJECT_HA                           0x02
UMASK_RXC_PRQ1_REJECT_LLC_VICTIM                   0x04
UMASK_RXC_PRQ1_REJECT_SF_VICTIM                    0x08
UMASK_RXC_PRQ1_REJECT_VICTIM                       0x10
UMASK_RXC_PRQ1_REJECT_LLC_OR_SF_WAY                0x20
UMASK_RXC_PRQ1_REJECT_ALLOW_SNP                    0x40
UMASK_RXC_PRQ1_REJECT_PA_MATCH                     0x80

EVENT_RXC_IPQ0_REJECT                              0x22 CBOX
UMASK_RXC_IPQ0_REJECT_AD_REQ_VN0                   0x01
UMASK_RXC_IPQ0_REJECT_AD_RSP_VN0                   0x02
UMASK_RXC_IPQ0_REJECT_BL_RSP_VN0                   0x04
UMASK_RXC_IPQ0_REJECT_BL_WB_VN0                    0x08
UMASK_RXC_IPQ0_REJECT_BL_NCB_VN0                   0x10
UMASK_RXC_IPQ0_REJECT_BL_NCS_VN0                   0x20
UMASK_RXC_IPQ0_REJECT_AK_NON_UPI                   0x40
UMASK_RXC_IPQ0_REJECT_IV_NON_UPI                   0x80

EVENT_RXC_IPQ1_REJECT                              0x23 CBOX
UMASK_RXC_IPQ1_REJECT_ANY0                         0x01
UMASK_RXC_IPQ1_REJECT_HA                           0x02
UMASK_RXC_IPQ1_REJECT_LLC_VICTIM                   0x04
UMASK_RXC_IPQ1_REJECT_SF_VICTIM                    0x08
UMASK_RXC_IPQ1_REJECT_VICTIM                       0x10
UMASK_RXC_IPQ1_REJECT_LLC_OR_SF_WAY                0x20
UMASK_RXC_IPQ1_REJECT_ALLOW_SNP                    0x40
UMASK_RXC_IPQ1_REJECT_PA_MATCH                     0x80

EVENT_RXC_ISMQ0_REJECT                             0x24 CBOX
UMASK_RXC_ISMQ0_REJECT_AD_REQ_VN0                  0x01
UMASK_RXC_ISMQ0_REJECT_AD_RSP_VN0                  0x02
UMASK_RXC_ISMQ0_REJECT_BL_RSP_VN0                  0x04
UMASK_RXC_ISMQ0_REJECT_BL_WB_VN0                   0x08
UMASK_RXC_ISMQ0_REJECT_BL_NCB_VN0                  0x10
UMASK_RXC_ISMQ0_REJECT_BL_NCS_VN0                  0x20
UMASK_RXC_ISMQ0_REJECT_AK_NON_UPI                  0x40
UMASK_RXC_ISMQ0_REJECT_IV_NON_UPI                  0x80

EVENT_RXC_ISMQ1_REJECT                             0x25 CBOX
UMASK_RXC_ISMQ1_REJECT_ANY0                        0x01
UMASK_RXC_ISMQ1_REJECT_HA                          0x02

EVENT_RXC_RRQ0_REJECT                              0x26 CBOX
UMASK_RXC_RRQ0_REJECT_AD_REQ_VN0                   0x01
UMASK_RXC_RRQ0_REJECT_AD_RSP_VN0                   0x02
UMASK_RXC_RRQ0_REJECT_BL_RSP_VN0                   0x04
UMASK_RXC_RRQ0_REJECT_BL_WB_VN0                    0x08
UMASK_RXC_RRQ0_REJECT_BL_NCB_VN0                   0x10
UMASK_RXC_RRQ0_REJECT_BL_NCS_VN0                   0x20
UMASK_RXC_RRQ0_REJECT_AK_NON_UPI                   0x40
UMASK_RXC_RRQ0_REJECT_IV_NON_UPI                   0x80

EVENT_RXC_RRQ1_REJECT                              0x27 CBOX
UMASK_RXC_RRQ1_REJECT_ANY0                         0x01
UMASK_RXC_RRQ1_REJECT_HA                           0x02
UMASK_RXC_RRQ1_REJECT_LLC_VICTIM                   0x04
UMASK_RXC_RRQ1_REJECT_SF_VICTIM                    0x08
UMASK_RXC_RRQ1_REJECT_VICTIM                       0x10
UMASK_RXC_RRQ1_REJECT_LLC_OR_SF_WAY                0x20
UMASK_RXC_RRQ1_REJECT_ALLOW_SNP                    0x40
UMASK_RXC_RRQ1_REJECT_PA_MATCH                     0x80

EVENT_RXC_WBQ0_REJECT                              0x28 CBOX
UMASK_RXC_WBQ0_REJECT_AD_REQ_VN0                   0x01
UMASK_RXC_WBQ0_REJECT_AD_RSP_VN0                   0x02
UMASK_RXC_WBQ0_REJECT_BL_RSP_VN0                   0x04
UMASK_RXC_WBQ0_REJECT_BL_WB_VN0                    0x08
UMASK_RXC_WBQ0_REJECT_BL_NCB_VN0                   0x10
UMASK_RXC_WBQ0_REJECT_BL_NCS_VN0                   0x20
UMASK_RXC_WBQ0_REJECT_AK_NON_UPI                   0x40
UMASK_RXC_WBQ0_REJECT_IV_NON_UPI                   0x80

EVENT_RXC_WBQ1_REJECT                              0x29 CBOX
UMASK_RXC_WBQ1_REJECT_ANY0                         0x01
UMASK_RXC_WBQ1_REJECT_HA                           0x02
UMASK_RXC_WBQ1_REJECT_LLC_VICTIM                   0x04
UMASK_RXC_WBQ1_REJECT_SF_VICTIM                    0x08
UMASK_RXC_WBQ1_REJECT_VICTIM                       0x10
UMASK_RXC_WBQ1_REJECT_LLC_OR_SF_WAY                0x20
UMASK_RXC_WBQ1_REJECT_ALLOW_SNP                    0x40
UMASK_RXC_WBQ1_REJECT_PA_MATCH                     0x80

EVENT_RXC_REQ_Q0_RETRY                             0x2A CBOX
UMASK_RXC_REQ_Q0_RETRY_AD_REQ_VN0                  0x01
UMASK_RXC_REQ_Q0_RETRY_AD_RSP_VN0                  0x02
UMASK_RXC_REQ_Q0_RETRY_BL_RSP_VN0                  0x04
UMASK_RXC_REQ_Q0_RETRY_BL_WB_VN0                   0x08
UMASK_RXC_REQ_Q0_RETRY_BL_NCB_VN0                  0x10
UMASK_RXC_REQ_Q0_RETRY_BL_NCS_VN0                  0x20
UMASK_RXC_REQ_Q0_RETRY_AK_NON_UPI                  0x40
UMASK_RXC_REQ_Q0_RETRY_IV_NON_UPI                  0x80

EVENT_RXC_REQ_Q1_RETRY                             0x2B CBOX
UMASK_RXC_REQ_Q1_RETRY_ANY0                        0x01
UMASK_RXC_REQ_Q1_RETRY_HA                          0x02
UMASK_RXC_REQ_Q1_RETRY_LLC_VICTIM                  0x04
UMASK_RXC_REQ_Q1_RETRY_SF_VICTIM                   0x08
UMASK_RXC_REQ_Q1_RETRY_VICTIM                      0x10
UMASK_RXC_REQ_Q1_RETRY_LLC_OR_SF_WAY               0x20
UMASK_RXC_REQ_Q1_RETRY_ALLOW_SNP                   0x40
UMASK_RXC_REQ_Q1_RETRY_PA_MATCH                    0x80

EVENT_RXC_ISMQ0_RETRY                              0x2C CBOX
UMASK_RXC_ISMQ0_RETRY_AD_REQ_VN0                   0x01
UMASK_RXC_ISMQ0_RETRY_AD_RSP_VN0                   0x02
UMASK_RXC_ISMQ0_RETRY_BL_RSP_VN0                   0x04
UMASK_RXC_ISMQ0_RETRY_BL_WB_VN0                    0x08
UMASK_RXC_ISMQ0_RETRY_BL_NCB_VN0                   0x10
UMASK_RXC_ISMQ0_RETRY_BL_NCS_VN0                   0x20
UMASK_RXC_ISMQ0_RETRY_AK_NON_UPI                   0x40
UMASK_RXC_ISMQ0_RETRY_IV_NON_UPI                   0x80

EVENT_RXC_ISMQ1_RETRY                              0x2D CBOX
UMASK_RXC_ISMQ1_RETRY_ANY0                         0x01
UMASK_RXC_ISMQ1_RETRY_HA                           0x02

EVENT_RXC_OTHER0_RETRY                             0x2E CBOX
UMASK_RXC_OTHER0_RETRY_AD_REQ_VN0                  0x01
UMASK_RXC_OTHER0_RETRY_AD_RSP_VN0                  0x02
UMASK_RXC_OTHER0_RETRY_BL_RSP_VN0                  0x04
UMASK_RXC_OTHER0_RETRY_BL_WB_VN0                   0x08
UMASK_RXC_OTHER0_RETRY_BL_NCB_VN0                  0x10
UMASK_RXC_OTHER0_RETRY_BL_NCS_VN0                  0x20
UMASK_RXC_OTHER0_RETRY_AK_NON_UPI                  0x40
UMASK_RXC_OTHER0_RETRY_IV_NON_UPI                  0x80

EVENT_RXC_OTHER1_RETRY                             0x2F CBOX
UMASK_RXC_OTHER1_RETRY_ANY0                        0x01
UMASK_RXC_OTHER1_RETRY_HA                          0x02
UMASK_RXC_OTHER1_RETRY_LLC_VICTIM                  0x04
UMASK_RXC_OTHER1_RETRY_SF_VICTIM                   0x08
UMASK_RXC_OTHER1_RETRY_VICTIM                      0x10
UMASK_RXC_OTHER1_RETRY_LLC_OR_SF_WAY               0x20
UMASK_RXC_OTHER1_RETRY_ALLOW_SNP                   0x40
UMASK_RXC_OTHER1_RETRY_PA_MATCH                    0x80

EVENT_CORE_SNP                                     0x33 CBOX
UMASK_CORE_SNP_REMOTE_ONE                          0x11
UMASK_CORE_SNP_EXT_ONE                             0x21
UMASK_CORE_SNP_CORE_ONE                            0x41
UMASK_CORE_SNP_EVICT_ONE                           0x81
UMASK_CORE_SNP_ANY_ONE                             0xF1
UMASK_CORE_SNP_REMOTE_GTONE                        0x12
UMASK_CORE_SNP_EXT_GTONE                           0x22
UMASK_CORE_SNP_CORE_GTONE                          0x42
UMASK_CORE_SNP_EVICT_GTONE                         0x82
UMASK_CORE_SNP_ANY_GTONE                           0xF2

EVENT_LLC_LOOKUP                                   0x34 CBOX
OPTIONS_LLC_LOOKUP                                 EVENT_OPTION_MATCH0_MASK
UMASK_LLC_LOOKUP_I                                 0x01
UMASK_LLC_LOOKUP_SF_S                              0x02
UMASK_LLC_LOOKUP_SF_E                              0x04
UMASK_LLC_LOOKUP_SF_H                              0x08
UMASK_LLC_LOOKUP_S                                 0x10
UMASK_LLC_LOOKUP_E                                 0x20
UMASK_LLC_LOOKUP_M                                 0x40
UMASK_LLC_LOOKUP_F                                 0x80
DEFAULT_OPTIONS_LLC_LOOKUP_RFO                     EVENT_OPTION_MATCH0=0x00001BC8
UMASK_LLC_LOOKUP_RFO                               0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_ALL                     EVENT_OPTION_MATCH0=0x00001FFF
UMASK_LLC_LOOKUP_ALL                               0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_DATA_RD                 EVENT_OPTION_MATCH0=0x00001BC1
UMASK_LLC_LOOKUP_DATA_RD                           0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_FLUSH_INV               EVENT_OPTION_MATCH0=0x00001A44
UMASK_LLC_LOOKUP_FLUSH_INV                         0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_CODE                    EVENT_OPTION_MATCH0=0x00001BD0
UMASK_LLC_LOOKUP_CODE                              0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCALLY_HOMED_ADDRESS   EVENT_OPTION_MATCH0=0x00000BDF
UMASK_LLC_LOOKUP_LOCALLY_HOMED_ADDRESS             0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_REMOTELY_HOMED_ADDRESS  EVENT_OPTION_MATCH0=0x000015DF
UMASK_LLC_LOOKUP_REMOTELY_HOMED_ADDRESS            0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_REMOTE_OTHER            EVENT_OPTION_MATCH0=0x00001A02
UMASK_LLC_LOOKUP_REMOTE_OTHER                      0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_REMOTE_FLUSH_INV        EVENT_OPTION_MATCH0=0x00001A04
UMASK_LLC_LOOKUP_REMOTE_FLUSH_INV                  0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_REMOTE_DATA_RD          EVENT_OPTION_MATCH0=0x00001A01
UMASK_LLC_LOOKUP_REMOTE_DATA_RD                    0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_REMOTE_RFO              EVENT_OPTION_MATCH0=0x00001A08
UMASK_LLC_LOOKUP_REMOTE_RFO                        0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_REMOTE_CODE             EVENT_OPTION_MATCH0=0x00001A10
UMASK_LLC_LOOKUP_REMOTE_CODE                       0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_REMOTE_SNP              EVENT_OPTION_MATCH0=0x00001C19
UMASK_LLC_LOOKUP_REMOTE_SNP                        0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_FLUSH_INV         EVENT_OPTION_MATCH0=0x00001844
UMASK_LLC_LOOKUP_LOCAL_FLUSH_INV                   0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_DATA_RD           EVENT_OPTION_MATCH0=0x000019C1
UMASK_LLC_LOOKUP_LOCAL_DATA_RD                     0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_RFO               EVENT_OPTION_MATCH0=0x000019C8
UMASK_LLC_LOOKUP_LOCAL_RFO                         0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_CODE              EVENT_OPTION_MATCH0=0x000019D0
UMASK_LLC_LOOKUP_LOCAL_CODE                        0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_DMND_DATA_RD      EVENT_OPTION_MATCH0=0x00001841
UMASK_LLC_LOOKUP_LOCAL_DMND_DATA_RD                0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_DMND_RFO          EVENT_OPTION_MATCH0=0x00001848
UMASK_LLC_LOOKUP_LOCAL_DMND_RFO                    0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_DMND_CODE         EVENT_OPTION_MATCH0=0x00001850
UMASK_LLC_LOOKUP_LOCAL_DMND_CODE                   0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_PF_DATA_RD        EVENT_OPTION_MATCH0=0x00001981
UMASK_LLC_LOOKUP_LOCAL_PF_DATA_RD                  0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_PF_RFO            EVENT_OPTION_MATCH0=0x00001908
UMASK_LLC_LOOKUP_LOCAL_PF_RFO                      0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_PF_CODE           EVENT_OPTION_MATCH0=0x00001910
UMASK_LLC_LOOKUP_LOCAL_PF_CODE                     0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_LLC_PF            EVENT_OPTION_MATCH0=0x0000189D
UMASK_LLC_LOOKUP_LOCAL_LLC_PF                      0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_PF                EVENT_OPTION_MATCH0=0x0000199D
UMASK_LLC_LOOKUP_LOCAL_PF                          0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_LOCAL_F                 EVENT_OPTION_MATCH0=0x00000800
UMASK_LLC_LOOKUP_LOCAL_F                           0x00
DEFAULT_OPTIONS_LLC_LOOKUP_REMOTE_F                EVENT_OPTION_MATCH0=0x00001000
UMASK_LLC_LOOKUP_REMOTE_F                          0x00
DEFAULT_OPTIONS_LLC_LOOKUP_REMOTE_SNOOP_F          EVENT_OPTION_MATCH0=0x00000400
UMASK_LLC_LOOKUP_REMOTE_SNOOP_F                    0x00
DEFAULT_OPTIONS_LLC_LOOKUP_DATA_READ_F             EVENT_OPTION_MATCH0=0x00000001
UMASK_LLC_LOOKUP_DATA_READ_F                       0x00
DEFAULT_OPTIONS_LLC_LOOKUP_ANY_F                   EVENT_OPTION_MATCH0=0x00000020
UMASK_LLC_LOOKUP_ANY_F                             0x00
DEFAULT_OPTIONS_LLC_LOOKUP_OTHER_REQ_F             EVENT_OPTION_MATCH0=0x00000002
UMASK_LLC_LOOKUP_OTHER_REQ_F                       0x00
DEFAULT_OPTIONS_LLC_LOOKUP_FLUSH_OR_INV_F          EVENT_OPTION_MATCH0=0x00000004
UMASK_LLC_LOOKUP_FLUSH_OR_INV_F                    0x00
DEFAULT_OPTIONS_LLC_LOOKUP_CODE_READ_F             EVENT_OPTION_MATCH0=0x00000010
UMASK_LLC_LOOKUP_CODE_READ_F                       0x00
DEFAULT_OPTIONS_LLC_LOOKUP_LLCPREF_LOCAL_F         EVENT_OPTION_MATCH0=0x00000080
UMASK_LLC_LOOKUP_LLCPREF_LOCAL_F                   0x00
DEFAULT_OPTIONS_LLC_LOOKUP_PREF_OR_DMND_REMOTE_F   EVENT_OPTION_MATCH0=0x00000200
UMASK_LLC_LOOKUP_PREF_OR_DMND_REMOTE_F             0x00
DEFAULT_OPTIONS_LLC_LOOKUP_RFO_F                   EVENT_OPTION_MATCH0=0x00000008
UMASK_LLC_LOOKUP_RFO_F                             0x00
DEFAULT_OPTIONS_LLC_LOOKUP_MISS_ALL                EVENT_OPTION_MATCH0=0x00001FE0
UMASK_LLC_LOOKUP_MISS_ALL                          0x01
DEFAULT_OPTIONS_LLC_LOOKUP_DATA_READ_ALL           EVENT_OPTION_MATCH0=0x00001FC1
UMASK_LLC_LOOKUP_DATA_READ_ALL                     0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_DATA_READ_MISS          EVENT_OPTION_MATCH0=0x00001FC1
UMASK_LLC_LOOKUP_DATA_READ_MISS                    0x01
DEFAULT_OPTIONS_LLC_LOOKUP_DATA_READ_LOCAL         EVENT_OPTION_MATCH0=0x00000841
UMASK_LLC_LOOKUP_DATA_READ_LOCAL                   0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_WRITE_LOCAL             EVENT_OPTION_MATCH0=0x00000842
UMASK_LLC_LOOKUP_WRITE_LOCAL                       0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_RFO_LOCAL               EVENT_OPTION_MATCH0=0x000009C8
UMASK_LLC_LOOKUP_RFO_LOCAL                         0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_WRITE_REMOTE            EVENT_OPTION_MATCH0=0x000017C2
UMASK_LLC_LOOKUP_WRITE_REMOTE                      0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_ALL_REMOTE              EVENT_OPTION_MATCH0=0x000017E0
UMASK_LLC_LOOKUP_ALL_REMOTE                        0xFF
DEFAULT_OPTIONS_LLC_LOOKUP_COREPREF_OR_DMND_LOCAL_F      EVENT_OPTION_MATCH0=0x00000040
UMASK_LLC_LOOKUP_COREPREF_OR_DMND_LOCAL_F                0x00


EVENT_LLC_VICTIMS                                  0x37 CBOX
OPTIONS_LLC_VICTIMS                                EVENT_OPTION_MATCH0_MASK
UMASK_LLC_VICTIMS_TOTAL_E                          0x02
UMASK_LLC_VICTIMS_TOTAL_M                          0x01
UMASK_LLC_VICTIMS_TOTAL_S                          0x04
UMASK_LLC_VICTIMS_M_STATE                          0x01
UMASK_LLC_VICTIMS_E_STATE                          0x02
UMASK_LLC_VICTIMS_S_STATE                          0x04
UMASK_LLC_VICTIMS_IO                               0x10
UMASK_LLC_VICTIMS_IA                               0x20
UMASK_LLC_VICTIMS_IO_MESF                          0x1F
UMASK_LLC_VICTIMS_IO_E                             0x12
UMASK_LLC_VICTIMS_IO_FS                            0x1C
UMASK_LLC_VICTIMS_IO_M                             0x11
DEFAULT_OPTIONS_LLC_VICTIMS_LOCAL_ALL              EVENT_OPTION_MATCH0=0x00000020
UMASK_LLC_VICTIMS_LOCAL_ALL                        0x0F
DEFAULT_OPTIONS_LLC_VICTIMS_REMOTE_ALL             EVENT_OPTION_MATCH0=0x00000080
UMASK_LLC_VICTIMS_REMOTE_ALL                       0x0F
DEFAULT_OPTIONS_LLC_VICTIMS_LOCAL_ONLY             EVENT_OPTION_MATCH0=0x00000020
UMASK_LLC_VICTIMS_LOCAL_ONLY                       0x00
DEFAULT_OPTIONS_LLC_VICTIMS_REMOTE_ONLY            EVENT_OPTION_MATCH0=0x00000080
UMASK_LLC_VICTIMS_REMOTE_ONLY                      0x00
DEFAULT_OPTIONS_LLC_VICTIMS_LOCAL_M                EVENT_OPTION_MATCH0=0x00000020
UMASK_LLC_VICTIMS_LOCAL_M                          0x01
DEFAULT_OPTIONS_LLC_VICTIMS_LOCAL_E                EVENT_OPTION_MATCH0=0x00000020
UMASK_LLC_VICTIMS_LOCAL_E                          0x02
DEFAULT_OPTIONS_LLC_VICTIMS_LOCAL_S                EVENT_OPTION_MATCH0=0x00000020
UMASK_LLC_VICTIMS_LOCAL_S                          0x04
DEFAULT_OPTIONS_LLC_VICTIMS_REMOTE_M               EVENT_OPTION_MATCH0=0x00000080
UMASK_LLC_VICTIMS_REMOTE_M                         0x01
DEFAULT_OPTIONS_LLC_VICTIMS_REMOTE_E               EVENT_OPTION_MATCH0=0x00000080
UMASK_LLC_VICTIMS_REMOTE_E                         0x02
DEFAULT_OPTIONS_LLC_VICTIMS_REMOTE_S               EVENT_OPTION_MATCH0=0x00000080
UMASK_LLC_VICTIMS_REMOTE_S                         0x04


EVENT_TOR_INSERTS                                  0x35 CBOX
OPTIONS_TOR_INSERTS                                EVENT_OPTION_MATCH0_MASK
UMASK_TOR_INSERTS_IRQ_IA                           0x01
UMASK_TOR_INSERTS_EVICT                            0x02
UMASK_TOR_INSERTS_PRQ_IOSF                         0x04
UMASK_TOR_INSERTS_IPQ                              0x08
UMASK_TOR_INSERTS_IRQ_NON_IA                       0x10
UMASK_TOR_INSERTS_PRQ_NON_IOSF                     0x20
UMASK_TOR_INSERTS_RRQ                              0x40
UMASK_TOR_INSERTS_WBQ                              0x80
DEFAULT_OPTIONS_TOR_INSERTS_SNPS_FROM_REM          EVENT_OPTION_MATCH0=0x00C001FF
UMASK_TOR_INSERTS_SNPS_FROM_REM                    0x08
DEFAULT_OPTIONS_TOR_INSERTS_ALL                    EVENT_OPTION_MATCH0=0x00C001FF
UMASK_TOR_INSERTS_ALL                              0xFF
DEFAULT_OPTIONS_TOR_INSERTS_IO_MISS_RFO            EVENT_OPTION_MATCH0=0x00C803FE
UMASK_TOR_INSERTS_IO_MISS_RFO                      0x04
DEFAULT_OPTIONS_TOR_INSERTS_LOC_IO                 EVENT_OPTION_MATCH0=0x00C000FF
UMASK_TOR_INSERTS_LOC_IO                           0x04
DEFAULT_OPTIONS_TOR_INSERTS_LOC_IA                 EVENT_OPTION_MATCH0=0x00C000FF
UMASK_TOR_INSERTS_LOC_IA                           0x01
DEFAULT_OPTIONS_TOR_INSERTS_LOC_ALL                EVENT_OPTION_MATCH0=0x00C000FF
UMASK_TOR_INSERTS_LOC_ALL                          0x05
DEFAULT_OPTIONS_TOR_INSERTS_REM_SNPS               EVENT_OPTION_MATCH0=0x00C001FF
UMASK_TOR_INSERTS_REM_SNPS                         0x08
DEFAULT_OPTIONS_TOR_INSERTS_REM_ALL                EVENT_OPTION_MATCH0=0x00C001FF
UMASK_TOR_INSERTS_REM_ALL                          0xC8
DEFAULT_OPTIONS_TOR_INSERTS_HIT                    EVENT_OPTION_MATCH0=0x00000001
UMASK_TOR_INSERTS_HIT                              0x00
DEFAULT_OPTIONS_TOR_INSERTS_MISS                   EVENT_OPTION_MATCH0=0x00000002
UMASK_TOR_INSERTS_MISS                             0x00
DEFAULT_OPTIONS_TOR_INSERTS_MMCFG                  EVENT_OPTION_MATCH0=0x00000020
UMASK_TOR_INSERTS_MMCFG                            0x00
DEFAULT_OPTIONS_TOR_INSERTS_MMIO                   EVENT_OPTION_MATCH0=0x00000040
UMASK_TOR_INSERTS_MMIO                             0x00
DEFAULT_OPTIONS_TOR_INSERTS_LOCAL_TGT              EVENT_OPTION_MATCH0=0x00000080
UMASK_TOR_INSERTS_LOCAL_TGT                        0x00
DEFAULT_OPTIONS_TOR_INSERTS_REMOTE_TGT             EVENT_OPTION_MATCH0=0x00000100
UMASK_TOR_INSERTS_REMOTE_TGT                       0x00
DEFAULT_OPTIONS_TOR_INSERTS_MATCH_OPC              EVENT_OPTION_MATCH0=0x00000200
UMASK_TOR_INSERTS_MATCH_OPC                        0x00
DEFAULT_OPTIONS_TOR_INSERTS_PREMORPH_OPC           EVENT_OPTION_MATCH0=0x00000400
UMASK_TOR_INSERTS_PREMORPH_OPC                     0x00
DEFAULT_OPTIONS_TOR_INSERTS_NEARMEM                EVENT_OPTION_MATCH0=0x00400000
UMASK_TOR_INSERTS_NEARMEM                          0x00
DEFAULT_OPTIONS_TOR_INSERTS_NOT_NEARMEM            EVENT_OPTION_MATCH0=0x00800000
UMASK_TOR_INSERTS_NOT_NEARMEM                      0x00
DEFAULT_OPTIONS_TOR_INSERTS_NONCOH                 EVENT_OPTION_MATCH0=0x01000000
UMASK_TOR_INSERTS_NONCOH                           0x00
DEFAULT_OPTIONS_TOR_INSERTS_ISOC                   EVENT_OPTION_MATCH0=0x02000000
UMASK_TOR_INSERTS_ISOC                             0x00
DEFAULT_OPTIONS_TOR_INSERTS_IA_HIT_DRD_OPT         EVENT_OPTION_MATCH0=0x00C827FD
UMASK_TOR_INSERTS_IA_HIT_DRD_OPT                   0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_HIT_DRD_OPT_PREF    EVENT_OPTION_MATCH0=0x00C8A7FD
UMASK_TOR_INSERTS_IA_HIT_DRD_OPT_PREF              0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_OPT        EVENT_OPTION_MATCH0=0x00C827FE
UMASK_TOR_INSERTS_IA_MISS_DRD_OPT                  0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_OPT_PREF   EVENT_OPTION_MATCH0=0x00C8A7FE
UMASK_TOR_INSERTS_IA_MISS_DRD_OPT_PREF             0x01
DEFAULT_OPTIONS_TOR_INSERTS_IO_HIT_RFO             EVENT_OPTION_MATCH0=0x00C803FD
UMASK_TOR_INSERTS_IO_HIT_RFO                       0x04
DEFAULT_OPTIONS_TOR_INSERTS_IO_RFO                 EVENT_OPTION_MATCH0=0x00C803FF
UMASK_TOR_INSERTS_IO_RFO                           0x04
DEFAULT_OPTIONS_TOR_INSERTS_IA_DRD                 EVENT_OPTION_MATCH0=0x00C817FF
UMASK_TOR_INSERTS_IA_DRD                           0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_DRD_OPT             EVENT_OPTION_MATCH0=0x00C827FF
UMASK_TOR_INSERTS_IA_DRD_OPT                       0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_DRD_OPT_PREF        EVENT_OPTION_MATCH0=0x00C8A7FF
UMASK_TOR_INSERTS_IA_DRD_OPT_PREF                  0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_CRD_PREF            EVENT_OPTION_MATCH0=0x00C88FFF
UMASK_TOR_INSERTS_IA_CRD_PREF                      0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_CLFLUSHOPT          EVENT_OPTION_MATCH0=0x00C8D7FF
UMASK_TOR_INSERTS_IA_CLFLUSHOPT                    0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_ITOM                EVENT_OPTION_MATCH0=0x00CC47FF
UMASK_TOR_INSERTS_IA_ITOM                          0x01
DEFAULT_OPTIONS_TOR_INSERTS_IO_ITOM                EVENT_OPTION_MATCH0=0x00CC43FF
UMASK_TOR_INSERTS_IO_ITOM                          0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRDPTE         EVENT_OPTION_MATCH0=0x00C837FE
UMASK_TOR_INSERTS_IA_MISS_DRDPTE                   0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_HIT_DRDPTE          EVENT_OPTION_MATCH0=0x00C837FD
UMASK_TOR_INSERTS_IA_HIT_DRDPTE                    0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_DRDPTE              EVENT_OPTION_MATCH0=0x00C837FF
UMASK_TOR_INSERTS_IA_DRDPTE                        0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_WBEFTOE             EVENT_OPTION_MATCH0=0xCC3FFF
UMASK_TOR_INSERTS_IA_WBEFTOE                       0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_HIT_LLCPREFCODE     EVENT_OPTION_MATCH0=0x00CCCFFD
UMASK_TOR_INSERTS_IA_HIT_LLCPREFCODE               0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_HIT_LLCPREFDATA     EVENT_OPTION_MATCH0=0x00CCD7FD
UMASK_TOR_INSERTS_IA_HIT_LLCPREFDATA               0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_LLCPREFCODE    EVENT_OPTION_MATCH0=0x00CCCFFE
UMASK_TOR_INSERTS_IA_MISS_LLCPREFCODE              0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_LLCPREFCODE         EVENT_OPTION_MATCH0=0x00CCCFFF
UMASK_TOR_INSERTS_IA_LLCPREFCODE                   0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_PREF_PMM   EVENT_OPTION_MATCH0=0x00C8978A
UMASK_TOR_INSERTS_IA_MISS_DRD_PREF_PMM             0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_PREF_LOCAL_PMM      EVENT_OPTION_MATCH0=0x00C8968A
UMASK_TOR_INSERTS_IA_MISS_DRD_PREF_LOCAL_PMM                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_PREF_REMOTE_PMM      EVENT_OPTION_MATCH0=0x00C8970A
UMASK_TOR_INSERTS_IA_MISS_DRD_PREF_REMOTE_PMM                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_PREF_DDR   EVENT_OPTION_MATCH0=0x00C89786
UMASK_TOR_INSERTS_IA_MISS_DRD_PREF_DDR             0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_PREF_LOCAL_DDR      EVENT_OPTION_MATCH0=0x00C89686
UMASK_TOR_INSERTS_IA_MISS_DRD_PREF_LOCAL_DDR                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_PREF_REMOTE_DDR      EVENT_OPTION_MATCH0=0x00C89706
UMASK_TOR_INSERTS_IA_MISS_DRD_PREF_REMOTE_DDR                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_CRD_LOCAL      EVENT_OPTION_MATCH0=0x00C80EFE
UMASK_TOR_INSERTS_IA_MISS_CRD_LOCAL                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_CRD_REMOTE     EVENT_OPTION_MATCH0=0x00C80F7E
UMASK_TOR_INSERTS_IA_MISS_CRD_REMOTE               0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_CRD_PREF_LOCAL EVENT_OPTION_MATCH0=0x00C88EFE
UMASK_TOR_INSERTS_IA_MISS_CRD_PREF_LOCAL           0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_CRD_PREF_REMOTE      EVENT_OPTION_MATCH0=0x00C88F7E
UMASK_TOR_INSERTS_IA_MISS_CRD_PREF_REMOTE                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_ITOMCACHENEAR       EVENT_OPTION_MATCH0=0x00CD47FF
UMASK_TOR_INSERTS_IA_ITOMCACHENEAR                 0x01
DEFAULT_OPTIONS_TOR_INSERTS_IO_ITOMCACHENEAR       EVENT_OPTION_MATCH0=0x00CD43FF
UMASK_TOR_INSERTS_IA_ITOMCACHENEAR                 0x01
DEFAULT_OPTIONS_TOR_INSERTS_IO_ITOM_REMOTE         EVENT_OPTION_MATCH0=0x00CC437F
UMASK_TOR_INSERTS_IO_ITOM_REMOTE                   0x01
DEFAULT_OPTIONS_TOR_INSERTS_IO_ITOM_LOCAL          EVENT_OPTION_MATCH0=0x00CC42FF
UMASK_TOR_INSERTS_IO_ITOM_LOCAL                    0x01
DEFAULT_OPTIONS_TOR_INSERTS_IO_ITOMCACHENEAR_REMOTE       EVENT_OPTION_MATCH0=0x00CD437F
UMASK_TOR_INSERTS_IA_ITOMCACHENEAR_REMOTE                 0x01
DEFAULT_OPTIONS_TOR_INSERTS_IO_ITOMCACHENEAR_LOCAL        EVENT_OPTION_MATCH0=0x00CD42FF
UMASK_TOR_INSERTS_IA_ITOMCACHENEAR_LOCAL                  0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_WBMTOI              EVENT_OPTION_MATCH0=0x00CC27FF
UMASK_TOR_INSERTS_IA_WBMTOI                        0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_HIT_ITOM            EVENT_OPTION_MATCH0=0x00CC47FD
UMASK_TOR_INSERTS_IA_HIT_ITOM                      0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_ITOM           EVENT_OPTION_MATCH0=0x00CC47FE
UMASK_TOR_INSERTS_IA_MISS_ITOM                     0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_UCRDF          EVENT_OPTION_MATCH0=0x00C877DE
UMASK_TOR_INSERTS_IA_MISS_UCRDF                    0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_WIL            EVENT_OPTION_MATCH0=0x00C87FDE
UMASK_TOR_INSERTS_IA_MISS_WIL                      0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_WCILF               EVENT_OPTION_MATCH0=0x00C867FF
UMASK_TOR_INSERTS_IA_WCILF                         0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_WCILF          EVENT_OPTION_MATCH0=0x00C867FE
UMASK_TOR_INSERTS_IA_MISS_WCILF                    0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_WCILF_PMM      EVENT_OPTION_MATCH0=0x00C8678A
UMASK_TOR_INSERTS_IA_MISS_WCILF_PMM                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_LOCAL_WCILF_PMM      EVENT_OPTION_MATCH0=0x00C8668A
UMASK_TOR_INSERTS_IA_MISS_LOCAL_WCILF_PMM                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_REMOTE_WCILF_PMM      EVENT_OPTION_MATCH0=0x00C8670A
UMASK_TOR_INSERTS_IA_MISS_REMOTE_WCILF_PMM                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_WCILF_DDR      EVENT_OPTION_MATCH0=0x00C86786
UMASK_TOR_INSERTS_IA_MISS_WCILF_DDR                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_LOCAL_WCILF_DDR      EVENT_OPTION_MATCH0=0x00C86686
UMASK_TOR_INSERTS_IA_MISS_LOCAL_WCILF_DDR                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_REMOTE_WCILF_DDR      EVENT_OPTION_MATCH0=0x00C86706
UMASK_TOR_INSERTS_IA_MISS_REMOTE_WCILF_DDR                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_WCIL                EVENT_OPTION_MATCH0=0x00C86FFF
UMASK_TOR_INSERTS_IA_WCIL                          0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_WCIL           EVENT_OPTION_MATCH0=0x00C86FFE
UMASK_TOR_INSERTS_IA_MISS_WCIL                     0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_WCIL_PMM       EVENT_OPTION_MATCH0=0x00C86F8A
UMASK_TOR_INSERTS_IA_MISS_WCIL_PMM                 0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_LOCAL_WCIL_PMM EVENT_OPTION_MATCH0=0x00C86E8A
UMASK_TOR_INSERTS_IA_MISS_LOCAL_WCIL_PMM           0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_REMOTE_WCIL_PMM      EVENT_OPTION_MATCH0=0x00C86F0A
UMASK_TOR_INSERTS_IA_MISS_REMOTE_WCIL_PMM                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_WCIL_DDR       EVENT_OPTION_MATCH0=0x00C86F86
UMASK_TOR_INSERTS_IA_MISS_WCIL_DDR                 0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_LOCAL_WCIL_DDR EVENT_OPTION_MATCH0=0x00C86E86
UMASK_TOR_INSERTS_IA_MISS_LOCAL_WCIL_DDR           0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_REMOTE_WCIL_DDR      EVENT_OPTION_MATCH0=0x00C86F06
UMASK_TOR_INSERTS_IA_MISS_REMOTE_WCIL_DDR                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IO_WBMTOI              EVENT_OPTION_MATCH0=0x00CC23FF
UMASK_TOR_INSERTS_IO_WBMTOI                        0x04
DEFAULT_OPTIONS_TOR_INSERTS_IO_CLFLUSH             EVENT_OPTION_MATCH0=0x00C8C3FF
UMASK_TOR_INSERTS_IO_CLFLUSH                       0x04
DEFAULT_OPTIONS_TOR_INSERTS_PMM                    EVENT_OPTION_MATCH0=0x00000008
UMASK_TOR_INSERTS_PMM                              0x00
DEFAULT_OPTIONS_TOR_INSERTS_DDR                    EVENT_OPTION_MATCH0=0x00000004
UMASK_TOR_INSERTS_DDR                              0x00
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_CXL_ACC_LOCAL      EVENT_OPTION_MATCH0=0x10C81682
UMASK_TOR_INSERTS_IA_MISS_DRD_CXL_ACC_LOCAL                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_PREF_CXL_ACC_LOCAL      EVENT_OPTION_MATCH0=0x10C89682
UMASK_TOR_INSERTS_IA_MISS_DRD_PREF_CXL_ACC_LOCAL                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_OPT_CXL_ACC_LOCAL      EVENT_OPTION_MATCH0=0x10C82682
UMASK_TOR_INSERTS_IA_MISS_DRD_OPT_CXL_ACC_LOCAL                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_OPT_PREF_CXL_ACC_LOCAL      EVENT_OPTION_MATCH0=0x10C8A682
UMASK_TOR_INSERTS_IA_MISS_DRD_OPT_PREF_CXL_ACC_LOCAL                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_LLCPREFDATA_CXL_ACC_LOCAL      EVENT_OPTION_MATCH0=0x10CCD682
UMASK_TOR_INSERTS_IA_MISS_LLCPREFDATA_CXL_ACC_LOCAL                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_RFO_CXL_ACC_LOCAL      EVENT_OPTION_MATCH0=0x10C80682
UMASK_TOR_INSERTS_IA_MISS_RFO_CXL_ACC_LOCAL                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_RFO_PREF_CXL_ACC_LOCAL      EVENT_OPTION_MATCH0=0x10CCC682
UMASK_TOR_INSERTS_IA_MISS_RFO_PREF_CXL_ACC_LOCAL                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_LLCPREFRFO_CXL_ACC_LOCAL      EVENT_OPTION_MATCH0=0x10C88682
UMASK_TOR_INSERTS_IA_MISS_LLCPREFRFO_CXL_ACC_LOCAL                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_CXL_ACC_LOCAL  EVENT_OPTION_MATCH0=0x10C00082
UMASK_TOR_INSERTS_IA_MISS_CXL_ACC_LOCAL            0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_HIT_CXL_ACC_LOCAL   EVENT_OPTION_MATCH0=0x10C00081
UMASK_TOR_INSERTS_IA_HIT_CXL_ACC_LOCAL             0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_CXL_ACC    EVENT_OPTION_MATCH0=0x10C81782
UMASK_TOR_INSERTS_IA_MISS_DRD_CXL_ACC              0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_RFO_CXL_ACC    EVENT_OPTION_MATCH0=0x10C80782
UMASK_TOR_INSERTS_IA_MISS_RFO_CXL_ACC              0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_LLCPREFRFO_CXL_ACC      EVENT_OPTION_MATCH0=0x10C88782
UMASK_TOR_INSERTS_IA_MISS_LLCPREFRFO_CXL_ACC                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_RFO_PREF_CXL_ACC      EVENT_OPTION_MATCH0=0x10CCC782
UMASK_TOR_INSERTS_IA_MISS_RFO_PREF_CXL_ACC                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRD_PREF_CXL_ACC      EVENT_OPTION_MATCH0=0x10C89782
UMASK_TOR_INSERTS_IA_MISS_DRD_PREF_CXL_ACC                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_LLCPREFDATA_CXL_ACC      EVENT_OPTION_MATCH0=0x10CCD782
UMASK_TOR_INSERTS_IA_MISS_LLCPREFDATA_CXL_ACC                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_CXL_ACC        EVENT_OPTION_MATCH0=0x10C00182
UMASK_TOR_INSERTS_IA_MISS_CXL_ACC                  0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_HIT_CXL_ACC         EVENT_OPTION_MATCH0=0x10C00181
UMASK_TOR_INSERTS_IA_HIT_CXL_ACC                   0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_RFOMORPH_CXL_ACC      EVENT_OPTION_MATCH0=0x10C80382
UMASK_TOR_INSERTS_IA_MISS_RFOMORPH_CXL_ACC                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_CRDMORPH_CXL_ACC      EVENT_OPTION_MATCH0=0x10C80B82
UMASK_TOR_INSERTS_IA_MISS_CRDMORPH_CXL_ACC                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_DRDMORPH_CXL_ACC      EVENT_OPTION_MATCH0=0x10C81382
UMASK_TOR_INSERTS_IA_MISS_DRDMORPH_CXL_ACC                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_MISS_LLCPREFCODE_CXL_ACC      EVENT_OPTION_MATCH0=0x10CCCF82
UMASK_TOR_INSERTS_IA_MISS_LLCPREFCODE_CXL_ACC                0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_WBMTOE              EVENT_OPTION_MATCH0=0xCC2FFF
UMASK_TOR_INSERTS_IA_WBMTOE                        0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_WBEFTOI             EVENT_OPTION_MATCH0=0xCC37FF
UMASK_TOR_INSERTS_IA_WBEFTOI                       0x01
DEFAULT_OPTIONS_TOR_INSERTS_IA_WBSTOI              EVENT_OPTION_MATCH0=0xCC67FF
UMASK_TOR_INSERTS_IA_WBSTOI                        0x01

EVENT_TOR_OCCUPANCY                                     0x35 CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX8C0|CBOX9C0|CBOX10C0|CBOX11C0|CBOX12C0|CBOX13C0|CBOX14C0|CBOX15C0|CBOX16C0|CBOX17C0|CBOX18C0|CBOX19C0|CBOX20C0|CBOX21C0|CBOX22C0|CBOX23C0|CBOX24C0|CBOX25C0|CBOX26C0|CBOX27C0|CBOX28C0|CBOX29C0|CBOX30C0|CBOX31C0|CBOX32C0|CBOX33C0|CBOX34C0|CBOX35C0|CBOX36C0|CBOX37C0|CBOX38C0|CBOX39C0|CBOX40C0|CBOX41C0|CBOX42C0|CBOX43C0|CBOX44C0|CBOX45C0|CBOX46C0|CBOX47C0|CBOX48C0|CBOX49C0|CBOX50C0|CBOX51C0|CBOX52C0|CBOX53C0|CBOX54C0|CBOX55C0
OPTIONS_TOR_OCCUPANCY                                   EVENT_OPTION_MATCH0_MASK
UMASK_TOR_OCCUPANCY_IRQ_IA                              0x01
UMASK_TOR_OCCUPANCY_EVICT                               0x02
UMASK_TOR_OCCUPANCY_PRQ                                 0x04
UMASK_TOR_OCCUPANCY_IPQ                                 0x08
UMASK_TOR_OCCUPANCY_IRQ_NON_IA                          0x10
UMASK_TOR_OCCUPANCY_PRQ_NON_IOSF                        0x20
UMASK_TOR_OCCUPANCY_RRQ                                 0x40
UMASK_TOR_OCCUPANCY_WBQ                                 0x80
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD               EVENT_OPTION_MATCH0=0xC817FE
UMASK_TOR_OCCUPANCY_IA_MISS_DRD                         0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_LOCAL         EVENT_OPTION_MATCH0=0xC816FE
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_LOCAL                   0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_REMOTE        EVENT_OPTION_MATCH0=0xC8177E
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_REMOTE                  0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PMM           EVENT_OPTION_MATCH0=0xC8178A
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PMM                     0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_DDR           EVENT_OPTION_MATCH0=0xC81786
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_DDR                     0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_SNPS_FROM_REM             EVENT_OPTION_MATCH0=0x00C001FF
UMASK_TOR_OCCUPANCY_SNPS_FROM_REM                       0x08
DEFAULT_OPTIONS_TOR_OCCUPANCY_ALL                       EVENT_OPTION_MATCH0=0x00C001FF
UMASK_TOR_OCCUPANCY_ALL                                 0xFF
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_CRD                EVENT_OPTION_MATCH0=0x00C80FFD
UMASK_TOR_OCCUPANCY_IA_HIT_CRD                          0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_DRD                EVENT_OPTION_MATCH0=0x00C817FD
UMASK_TOR_OCCUPANCY_IA_HIT_DRD                          0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_LLCPREFRFO         EVENT_OPTION_MATCH0=0x00CCC7FD
UMASK_TOR_OCCUPANCY_IA_HIT_LLCPREFRFO                   0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LLCPREFRFO        EVENT_OPTION_MATCH0=0x00CCC7FE
UMASK_TOR_OCCUPANCY_IA_MISS_LLCPREFRFO                  0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_RFO                EVENT_OPTION_MATCH0=0x00C807FD
UMASK_TOR_OCCUPANCY_IA_HIT_RFO                          0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_MISS_RFO               EVENT_OPTION_MATCH0=0x00C803FE
UMASK_TOR_OCCUPANCY_IO_MISS_RFO                         0x04
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_MISS_ITOM              EVENT_OPTION_MATCH0=0x00CC43FE
UMASK_TOR_OCCUPANCY_IO_MISS_ITOM                        0x04
DEFAULT_OPTIONS_TOR_OCCUPANCY_LOC_IO                 EVENT_OPTION_MATCH0=0x00C000FF
UMASK_TOR_OCCUPANCY_LOC_IO                           0x04
DEFAULT_OPTIONS_TOR_OCCUPANCY_LOC_IA                 EVENT_OPTION_MATCH0=0x00C000FF
UMASK_TOR_OCCUPANCY_LOC_IA                           0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_LOC_ALL                EVENT_OPTION_MATCH0=0x00C000FF
UMASK_TOR_OCCUPANCY_LOC_ALL                          0x05
DEFAULT_OPTIONS_TOR_OCCUPANCY_REM_SNPS               EVENT_OPTION_MATCH0=0x00C001FF
UMASK_TOR_OCCUPANCY_REM_SNPS                         0x08
DEFAULT_OPTIONS_TOR_OCCUPANCY_REM_ALL                EVENT_OPTION_MATCH0=0x00C001FF
UMASK_TOR_OCCUPANCY_REM_ALL                          0xC8
DEFAULT_OPTIONS_TOR_OCCUPANCY_HIT                    EVENT_OPTION_MATCH0=0x00000001
UMASK_TOR_OCCUPANCY_HIT                              0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_MISS                   EVENT_OPTION_MATCH0=0x00000002
UMASK_TOR_OCCUPANCY_MISS                             0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_MMCFG                  EVENT_OPTION_MATCH0=0x00000020
UMASK_TOR_OCCUPANCY_MMCFG                            0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_MMIO                   EVENT_OPTION_MATCH0=0x00000040
UMASK_TOR_OCCUPANCY_MMIO                             0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_LOCAL_TGT              EVENT_OPTION_MATCH0=0x00000080
UMASK_TOR_OCCUPANCY_LOCAL_TGT                        0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_REMOTE_TGT             EVENT_OPTION_MATCH0=0x00000100
UMASK_TOR_OCCUPANCY_REMOTE_TGT                       0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_MATCH_OPC              EVENT_OPTION_MATCH0=0x00000200
UMASK_TOR_OCCUPANCY_MATCH_OPC                        0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_PREMORPH_OPC           EVENT_OPTION_MATCH0=0x00000400
UMASK_TOR_OCCUPANCY_PREMORPH_OPC                     0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_NEARMEM                EVENT_OPTION_MATCH0=0x00400000
UMASK_TOR_OCCUPANCY_NEARMEM                          0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_NOT_NEARMEM            EVENT_OPTION_MATCH0=0x00800000
UMASK_TOR_OCCUPANCY_NOT_NEARMEM                      0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_NONCOH                 EVENT_OPTION_MATCH0=0x01000000
UMASK_TOR_OCCUPANCY_NONCOH                           0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_ISOC                   EVENT_OPTION_MATCH0=0x02000000
UMASK_TOR_OCCUPANCY_ISOC                             0x00
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_CRD_PREF        EVENT_OPTION_MATCH0=0x00C88FFD
UMASK_TOR_OCCUPANCY_IA_HIT_CRD_PREF                  0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_DRD_PREF        EVENT_OPTION_MATCH0=0x00C897FD
UMASK_TOR_OCCUPANCY_IA_HIT_DRD_PREF                  0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_DRD_OPT         EVENT_OPTION_MATCH0=0x00C827FD
UMASK_TOR_OCCUPANCY_IA_HIT_DRD_OPT                   0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_DRD_OPT_PREF    EVENT_OPTION_MATCH0=0x00C8A7FD
UMASK_TOR_OCCUPANCY_IA_HIT_DRD_OPT_PREF              0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_RFO_PREF        EVENT_OPTION_MATCH0=0x00C887FD
UMASK_TOR_OCCUPANCY_IA_HIT_RFO_PREF                  0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_CRD_PREF       EVENT_OPTION_MATCH0=0x00C88FFE
UMASK_TOR_OCCUPANCY_IA_MISS_CRD_PREF                 0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF       EVENT_OPTION_MATCH0=0x00C897FE
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF                 0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_OPT        EVENT_OPTION_MATCH0=0x00C827FE
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_OPT                  0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_OPT_PREF   EVENT_OPTION_MATCH0=0x00C8A7FE
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_OPT_PREF             0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_RFO_PREF       EVENT_OPTION_MATCH0=0x00C887FE
UMASK_TOR_OCCUPANCY_IA_MISS_RFO_PREF                 0x01
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_HIT_ITOM               EVENT_OPTION_MATCH0=0xCC43FD
UMASK_TOR_OCCUPANCY_IO_HIT_ITOM                         0x4
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_HIT_RFO                EVENT_OPTION_MATCH0=0xC803FD
UMASK_TOR_OCCUPANCY_IO_HIT_RFO                          0x4
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_RFO                    EVENT_OPTION_MATCH0=0xC803FF
UMASK_TOR_OCCUPANCY_IO_RFO                              0x4
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_ITOM                   EVENT_OPTION_MATCH0=0xCC43FF
UMASK_TOR_OCCUPANCY_IO_ITOM                             0x4
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_RFO_PREF               EVENT_OPTION_MATCH0=0xC887FF
UMASK_TOR_OCCUPANCY_IA_RFO_PREF                         0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_LLCPREFRFO             EVENT_OPTION_MATCH0=0xCCC7FF
UMASK_TOR_OCCUPANCY_IA_LLCPREFRFO                       0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_DRD_OPT                EVENT_OPTION_MATCH0=0xC827FF
UMASK_TOR_OCCUPANCY_IA_DRD_OPT                          0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_DRD_OPT_PREF           EVENT_OPTION_MATCH0=0xC8A7FF
UMASK_TOR_OCCUPANCY_IA_DRD_OPT_PREF                     0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_CRD_PREF               EVENT_OPTION_MATCH0=0xC88FFF
UMASK_TOR_OCCUPANCY_IA_CRD_PREF                         0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_DRD_PREF               EVENT_OPTION_MATCH0=0xC897FF
UMASK_TOR_OCCUPANCY_IA_DRD_PREF                         0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF_LOCAL    EVENT_OPTION_MATCH0=0xC896FE
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF_LOCAL              0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF_REMOTE   EVENT_OPTION_MATCH0=0xC8977E
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF_REMOTE             0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_RFO_LOCAL         EVENT_OPTION_MATCH0=0xC806FE
UMASK_TOR_OCCUPANCY_IA_MISS_RFO_LOCAL                   0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_RFO_REMOTE        EVENT_OPTION_MATCH0=0xC8077E
UMASK_TOR_OCCUPANCY_IA_MISS_RFO_REMOTE                  0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_RFO_PREF_LOCAL    EVENT_OPTION_MATCH0=0xC886FE
UMASK_TOR_OCCUPANCY_IA_MISS_RFO_PREF_LOCAL              0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_RFO_PREF_REMOTE   EVENT_OPTION_MATCH0=0xC8877E
UMASK_TOR_OCCUPANCY_IA_MISS_RFO_PREF_REMOTE             0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_HIT_PCIRDCUR           EVENT_OPTION_MATCH0=0xC8F3FD
UMASK_TOR_OCCUPANCY_IO_HIT_PCIRDCUR                     0x4
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_LLCPREFCODE        EVENT_OPTION_MATCH0=0xCCCFFD
UMASK_TOR_OCCUPANCY_IA_HIT_LLCPREFCODE                  0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_LLCPREFDATA        EVENT_OPTION_MATCH0=0xCCD7FD
UMASK_TOR_OCCUPANCY_IA_HIT_LLCPREFDATA                  0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_LLCPREFDATA            EVENT_OPTION_MATCH0=0xCCD7FF
UMASK_TOR_OCCUPANCY_IA_LLCPREFDATA                      0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LLCPREFCODE       EVENT_OPTION_MATCH0=0xCCCFFE
UMASK_TOR_OCCUPANCY_IA_MISS_LLCPREFCODE                 0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LLCPREFDATA       EVENT_OPTION_MATCH0=0xCCD7FE
UMASK_TOR_OCCUPANCY_IA_MISS_LLCPREFDATA                 0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_LLCPREFCODE            EVENT_OPTION_MATCH0=0xCCCFFF
UMASK_TOR_OCCUPANCY_IA_LLCPREFCODE                      0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_LOCAL_PMM     EVENT_OPTION_MATCH0=0xC8168A
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_LOCAL_PMM               0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_REMOTE_PMM    EVENT_OPTION_MATCH0=0xC8170A
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_REMOTE_PMM              0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_LOCAL_DDR     EVENT_OPTION_MATCH0=0xC81686
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_LOCAL_DDR               0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_REMOTE_DDR    EVENT_OPTION_MATCH0=0xC81706
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_REMOTE_DDR              0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF_PMM      EVENT_OPTION_MATCH0=0xC8978A
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF_PMM                0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF_LOCAL_PMM        EVENT_OPTION_MATCH0=0xC8968A
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF_LOCAL_PMM                  0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF_REMOTE_PMM       EVENT_OPTION_MATCH0=0xC8970A
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF_REMOTE_PMM                 0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF_DDR              EVENT_OPTION_MATCH0=0xC89786
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF_DDR                        0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF_LOCAL_DDR        EVENT_OPTION_MATCH0=0xC89686
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF_LOCAL_DDR                  0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF_REMOTE_DDR       EVENT_OPTION_MATCH0=0xC89706
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF_REMOTE_DDR                 0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_CRD_LOCAL         EVENT_OPTION_MATCH0=0xC80EFE
UMASK_TOR_OCCUPANCY_IA_MISS_CRD_LOCAL                   0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_CRD_REMOTE        EVENT_OPTION_MATCH0=0xC80F7E
UMASK_TOR_OCCUPANCY_IA_MISS_CRD_REMOTE                  0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_CRD_PREF_LOCAL    EVENT_OPTION_MATCH0=0xC88EFE
UMASK_TOR_OCCUPANCY_IA_MISS_CRD_PREF_LOCAL              0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_CRD_PREF_REMOTE   EVENT_OPTION_MATCH0=0xC88F7E
UMASK_TOR_OCCUPANCY_IA_MISS_CRD_PREF_REMOTE             0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_CLFLUSH                EVENT_OPTION_MATCH0=0xC8C7FF
UMASK_TOR_OCCUPANCY_IA_CLFLUSH                          0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_CLFLUSHOPT             EVENT_OPTION_MATCH0=0xC8D7FF
UMASK_TOR_OCCUPANCY_IA_CLFLUSHOPT                       0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_ITOMCACHENEAR          EVENT_OPTION_MATCH0=0xCD47FF
UMASK_TOR_OCCUPANCY_IA_ITOMCACHENEAR                    0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_SPECITOM               EVENT_OPTION_MATCH0=0xCC57FF
UMASK_TOR_OCCUPANCY_IA_SPECITOM                         0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_WBMTOI                 EVENT_OPTION_MATCH0=0xCC27FF
UMASK_TOR_OCCUPANCY_IA_WBMTOI                           0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_ITOM                   EVENT_OPTION_MATCH0=0xCC47FF
UMASK_TOR_OCCUPANCY_IA_ITOM                             0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_ITOM               EVENT_OPTION_MATCH0=0xCC47FD
UMASK_TOR_OCCUPANCY_IA_HIT_ITOM                         0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_ITOM              EVENT_OPTION_MATCH0=0xCC47FE
UMASK_TOR_OCCUPANCY_IA_MISS_ITOM                        0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_UCRDF             EVENT_OPTION_MATCH0=0xC877DE
UMASK_TOR_OCCUPANCY_IA_MISS_UCRDF                       0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_WIL               EVENT_OPTION_MATCH0=0xC87FDE
UMASK_TOR_OCCUPANCY_IA_MISS_WIL                         0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_WCILF                  EVENT_OPTION_MATCH0=0xC867FF
UMASK_TOR_OCCUPANCY_IA_WCILF                            0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_WCILF             EVENT_OPTION_MATCH0=0xC867FE
UMASK_TOR_OCCUPANCY_IA_MISS_WCILF                       0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_WCILF_PMM         EVENT_OPTION_MATCH0=0xC8678A
UMASK_TOR_OCCUPANCY_IA_MISS_WCILF_PMM                   0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LOCAL_WCILF_PMM   EVENT_OPTION_MATCH0=0xC8668A
UMASK_TOR_OCCUPANCY_IA_MISS_LOCAL_WCILF_PMM             0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_REMOTE_WCILF_PMM  EVENT_OPTION_MATCH0=0xC8670A
UMASK_TOR_OCCUPANCY_IA_MISS_REMOTE_WCILF_PMM            0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_WCILF_DDR         EVENT_OPTION_MATCH0=0xC86786
UMASK_TOR_OCCUPANCY_IA_MISS_WCILF_DDR                   0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LOCAL_WCILF_DDR   EVENT_OPTION_MATCH0=0xC86686
UMASK_TOR_OCCUPANCY_IA_MISS_LOCAL_WCILF_DDR             0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_REMOTE_WCILF_DDR  EVENT_OPTION_MATCH0=0xC86706
UMASK_TOR_OCCUPANCY_IA_MISS_REMOTE_WCILF_DDR            0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_WCIL                   EVENT_OPTION_MATCH0=0xC86FFF
UMASK_TOR_OCCUPANCY_IA_WCIL                             0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_WCIL              EVENT_OPTION_MATCH0=0xC86FFE
UMASK_TOR_OCCUPANCY_IA_MISS_WCIL                        0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_WCIL_PMM          EVENT_OPTION_MATCH0=0xC86F8A
UMASK_TOR_OCCUPANCY_IA_MISS_WCIL_PMM                    0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LOCAL_WCIL_PMM    EVENT_OPTION_MATCH0=0xC86E8A
UMASK_TOR_OCCUPANCY_IA_MISS_LOCAL_WCIL_PMM              0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_REMOTE_WCIL_PMM   EVENT_OPTION_MATCH0=0xC86F0A
UMASK_TOR_OCCUPANCY_IA_MISS_REMOTE_WCIL_PMM             0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_WCIL_DDR          EVENT_OPTION_MATCH0=0xC86F86
UMASK_TOR_OCCUPANCY_IA_MISS_WCIL_DDR                    0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LOCAL_WCIL_DDR    EVENT_OPTION_MATCH0=0xC86E86
UMASK_TOR_OCCUPANCY_IA_MISS_LOCAL_WCIL_DDR              0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_REMOTE_WCIL_DDR   EVENT_OPTION_MATCH0=0xC86F06
UMASK_TOR_OCCUPANCY_IA_MISS_REMOTE_WCIL_DDR             0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_WBMTOI                 EVENT_OPTION_MATCH0=0xCC23FF
UMASK_TOR_OCCUPANCY_IO_WBMTOI                           0x4
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_CLFLUSH                EVENT_OPTION_MATCH0=0xC8C3FF
UMASK_TOR_OCCUPANCY_IO_CLFLUSH                          0x4
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_HIT_ITOMCACHENEAR      EVENT_OPTION_MATCH0=0xCD43FD
UMASK_TOR_OCCUPANCY_IO_HIT_ITOMCACHENEAR                0x4
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_MISS_ITOMCACHENEAR     EVENT_OPTION_MATCH0=0xCD43FE
UMASK_TOR_OCCUPANCY_IO_MISS_ITOMCACHENEAR               0x4
DEFAULT_OPTIONS_TOR_OCCUPANCY_PMM                       EVENT_OPTION_MATCH0=0x8
UMASK_TOR_OCCUPANCY_PMM                                 0x0
DEFAULT_OPTIONS_TOR_OCCUPANCY_DDR                       EVENT_OPTION_MATCH0=0x4
UMASK_TOR_OCCUPANCY_DDR                                 0x0
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_DRDPTE                 EVENT_OPTION_MATCH0=0xC837FF
UMASK_TOR_OCCUPANCY_IA_DRDPTE                           0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_DRDPTE             EVENT_OPTION_MATCH0=0xC837FD
UMASK_TOR_OCCUPANCY_IA_HIT_DRDPTE                       0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRDPTE            EVENT_OPTION_MATCH0=0xC837FE
UMASK_TOR_OCCUPANCY_IA_MISS_DRDPTE                      0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IO_ITOMCACHENEAR          EVENT_OPTION_MATCH0=0xCD43FF
UMASK_TOR_OCCUPANCY_IO_ITOMCACHENEAR                    0x4
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_RFO_CXL_ACC       EVENT_OPTION_MATCH0=0x10C80782
UMASK_TOR_OCCUPANCY_IA_MISS_RFO_CXL_ACC                 0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_CXL_ACC       EVENT_OPTION_MATCH0=0x10C81782
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_CXL_ACC                 0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF_CXL_ACC  EVENT_OPTION_MATCH0=0x10C89782
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF_CXL_ACC            0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LLCPREFDATA_CXL_ACC       EVENT_OPTION_MATCH0=0x10CCD782
UMASK_TOR_OCCUPANCY_IA_MISS_LLCPREFDATA_CXL_ACC                 0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LLCPREFRFO_CXL_ACC        EVENT_OPTION_MATCH0=0x10C88782
UMASK_TOR_OCCUPANCY_IA_MISS_LLCPREFRFO_CXL_ACC                  0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_RFO_PREF_CXL_ACC          EVENT_OPTION_MATCH0=0x10CCC782
UMASK_TOR_OCCUPANCY_IA_MISS_RFO_PREF_CXL_ACC                    0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_CXL_ACC           EVENT_OPTION_MATCH0=0x10C00182
UMASK_TOR_OCCUPANCY_IA_MISS_CXL_ACC                     0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_CXL_ACC            EVENT_OPTION_MATCH0=0x10C00181
UMASK_TOR_OCCUPANCY_IA_HIT_CXL_ACC                      0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_RFOMORPH_CXL_ACC          EVENT_OPTION_MATCH0=0x10C80382
UMASK_TOR_OCCUPANCY_IA_MISS_RFOMORPH_CXL_ACC                    0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_CRDMORPH_CXL_ACC          EVENT_OPTION_MATCH0=0x10C80B82
UMASK_TOR_OCCUPANCY_IA_MISS_CRDMORPH_CXL_ACC                    0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRDMORPH_CXL_ACC          EVENT_OPTION_MATCH0=0x10C81382
UMASK_TOR_OCCUPANCY_IA_MISS_DRDMORPH_CXL_ACC                    0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LLCPREFCODE_CXL_ACC       EVENT_OPTION_MATCH0=0x10CCCF82
UMASK_TOR_OCCUPANCY_IA_MISS_LLCPREFCODE_CXL_ACC                 0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_CXL_ACC_LOCAL         EVENT_OPTION_MATCH0=0x10C81682
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_CXL_ACC_LOCAL                   0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_PREF_CXL_ACC_LOCAL    EVENT_OPTION_MATCH0=0x10C89682
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_PREF_CXL_ACC_LOCAL              0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_OPT_CXL_ACC_LOCAL     EVENT_OPTION_MATCH0=0x10C82682
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_OPT_CXL_ACC_LOCAL               0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_DRD_OPT_PREF_CXL_ACC_LOCAL    EVENT_OPTION_MATCH0=0x10C8A682
UMASK_TOR_OCCUPANCY_IA_MISS_DRD_OPT_PREF_CXL_ACC_LOCAL              0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LLCPREFDATA_CXL_ACC_LOCAL     EVENT_OPTION_MATCH0=0x10CCD682
UMASK_TOR_OCCUPANCY_IA_MISS_LLCPREFDATA_CXL_ACC_LOCAL               0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_RFO_CXL_ACC_LOCAL         EVENT_OPTION_MATCH0=0x10C80682
UMASK_TOR_OCCUPANCY_IA_MISS_RFO_CXL_ACC_LOCAL                   0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_RFO_PREF_CXL_ACC_LOCAL    EVENT_OPTION_MATCH0=0x10CCC682
UMASK_TOR_OCCUPANCY_IA_MISS_RFO_PREF_CXL_ACC_LOCAL              0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_LLCPREFRFO_CXL_ACC_LOCAL  EVENT_OPTION_MATCH0=0x10C88682
UMASK_TOR_OCCUPANCY_IA_MISS_LLCPREFRFO_CXL_ACC_LOCAL            0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_MISS_CXL_ACC_LOCAL             EVENT_OPTION_MATCH0=0x10C00082
UMASK_TOR_OCCUPANCY_IA_MISS_CXL_ACC_LOCAL                       0x1
DEFAULT_OPTIONS_TOR_OCCUPANCY_IA_HIT_CXL_ACC_LOCAL              EVENT_OPTION_MATCH0=0x10C00081
UMASK_TOR_OCCUPANCY_IA_HIT_CXL_ACC_LOCAL                        0x1



EVENT_MISC                                         0x39 CBOX
UMASK_MISC_RSPI_WAS_FSE                            0x01
UMASK_MISC_WC_ALIASING                             0x02
UMASK_MISC_RFO_HIT_S                               0x08
UMASK_MISC_CV0_PREF_VIC                            0x10
UMASK_MISC_CV0_PREF_MISS                           0x20

EVENT_PMM_QOS                                      0x66 CBOX
UMASK_PMM_QOS_SLOW_INSERT                          0x01
UMASK_PMM_QOS_DDR4_FAST_INSERT                     0x02
UMASK_PMM_QOS_THROTTLE                             0x04
UMASK_PMM_QOS_REJ_IRQ                              0x08
UMASK_PMM_QOS_THROTTLE_PRQ                         0x10
UMASK_PMM_QOS_THROTTLE_IRQ                         0x20
UMASK_PMM_QOS_SLOWTORQ_SKIP                        0x40

EVENT_PMM_QOS_OCCUPANCY                            0x67 CBOX
UMASK_PMM_QOS_OCCUPANCY_DDR_SLOW_FIFO              0x01
UMASK_PMM_QOS_OCCUPANCY_DDR_FAST_FIFO              0x02

EVENT_PMM_MEMMODE_NM_SETCONFLICTS2                 0x70 CBOX
UMASK_PMM_MEMMODE_NM_SETCONFLICTS2_MEMWRNI         0x04
UMASK_PMM_MEMMODE_NM_SETCONFLICTS2_MEMWR           0x02
UMASK_PMM_MEMMODE_NM_SETCONFLICTS2_IODC            0x01

EVENT_PMM_MEMMODE_NM_INVITOX                       0x65 CBOX
UMASK_PMM_MEMMODE_NM_INVITOX_SETCONFLICT           0x04
UMASK_PMM_MEMMODE_NM_INVITOX_REMOTE                0x02
UMASK_PMM_MEMMODE_NM_INVITOX_LOCAL                 0x01

EVENT_PMM_MEMMODE_NM_SETCONFLICTS                  0x64 CBOX
UMASK_PMM_MEMMODE_NM_SETCONFLICTS_LLC              0x02
UMASK_PMM_MEMMODE_NM_SETCONFLICTS_TOR              0x04
UMASK_PMM_MEMMODE_NM_SETCONFLICTS_SF               0x01

EVENT_RXC_OCCUPANCY                                 0x11 CBOX0C0|CBOX1C0|CBOX2C0|CBOX3C0|CBOX4C0|CBOX5C0|CBOX6C0|CBOX7C0|CBOX8C0|CBOX9C0|CBOX10C0|CBOX11C0|CBOX12C0|CBOX13C0|CBOX14C0|CBOX15C0|CBOX16C0|CBOX17C0|CBOX18C0|CBOX19C0|CBOX20C0|CBOX21C0|CBOX22C0|CBOX23C0|CBOX24C0|CBOX25C0|CBOX26C0|CBOX27C0|CBOX28C0|CBOX29C0|CBOX30C0|CBOX31C0|CBOX32C0|CBOX33C0|CBOX34C0|CBOX35C0|CBOX36C0|CBOX37C0|CBOX38C0|CBOX39C0|CBOX40C0|CBOX41C0|CBOX42C0|CBOX43C0|CBOX44C0|CBOX45C0|CBOX46C0|CBOX47C0|CBOX48C0|CBOX49C0|CBOX50C0|CBOX51C0|CBOX52C0|CBOX53C0|CBOX54C0|CBOX55C0
UMASK_RXC_OCCUPANCY_IPQ                             0x04
UMASK_RXC_OCCUPANCY_RRQ                             0x40
UMASK_RXC_OCCUPANCY_WBQ                             0x80

#######################################################
#         MBOX == iMC & HBM == HBM                    #
#######################################################

EVENT_MBOX_CLOCKTICKS                   0x01 MBOX|HBM
UMASK_MBOX_CLOCKTICKS_DCLK              0x00
UMASK_MBOX_CLOCKTICKS_HCLK              0x01

EVENT_ACT_COUNT                                    0x02 MBOX|HBM
UMASK_ACT_COUNT_RD                                 0x11
UMASK_ACT_COUNT_WR                                 0x22
UMASK_ACT_COUNT_ALL                                0xFF
UMASK_ACT_COUNT_RD_PCH0                            0x01
UMASK_ACT_COUNT_WR_PCH0                            0x02
UMASK_ACT_COUNT_UFILL_PCH0                         0x04
UMASK_ACT_COUNT_RD_PCH1                            0x10
UMASK_ACT_COUNT_WR_PCH1                            0x20
UMASK_ACT_COUNT_UFILL_PCH1                         0x40
UMASK_ACT_COUNT_UFILL                              0x44

EVENT_PRE_COUNT                                    0x03 MBOX|HBM
UMASK_PRE_COUNT_RD                                 0x11
UMASK_PRE_COUNT_WR                                 0x22
UMASK_PRE_COUNT_PGT                                0x88
UMASK_PRE_COUNT_ALL                                0xFF
UMASK_PRE_COUNT_RD_PCH0                            0x01
UMASK_PRE_COUNT_WR_PCH0                            0x02
UMASK_PRE_COUNT_UFILL_PCH0                         0x04
UMASK_PRE_COUNT_PGT_PCH0                           0x08
UMASK_PRE_COUNT_RD_PCH1                            0x10
UMASK_PRE_COUNT_WR_PCH1                            0x20
UMASK_PRE_COUNT_UFILL_PCH1                         0x40
UMASK_PRE_COUNT_PGT_PCH1                           0x80
UMASK_PRE_COUNT_UFILL                              0x44

EVENT_CAS_COUNT                         0x05 MBOX|HBM
UMASK_CAS_COUNT_RD_REG                  0xC1
UMASK_CAS_COUNT_RD_UNDERFILL            0xC4
UMASK_CAS_COUNT_RD_PRE_REG              0xC2
UMASK_CAS_COUNT_RD_PRE_UNDERFILL        0xC8
UMASK_CAS_COUNT_WR_PRE                  0xE0
UMASK_CAS_COUNT_RD                      0xCF
UMASK_CAS_COUNT_WR                      0xF0
UMASK_CAS_COUNT_WR_NONPRE               0xD0
UMASK_CAS_COUNT_PCH0                    0x40
UMASK_CAS_COUNT_PCH1                    0x80
UMASK_CAS_COUNT_ALL                     0xFF

EVENT_CAS_ISSUED_REQ_LEN                           0x06 MBOX|HBM
UMASK_CAS_ISSUED_REQ_LEN_RD_64B                    0xC1
UMASK_CAS_ISSUED_REQ_LEN_RD_UFILL_64B              0xC2
UMASK_CAS_ISSUED_REQ_LEN_WR_64B                    0xC4
UMASK_CAS_ISSUED_REQ_LEN_RD_32B                    0xC8
UMASK_CAS_ISSUED_REQ_LEN_RD_UFILL_32B              0xD0
UMASK_CAS_ISSUED_REQ_LEN_WR_32B                    0xE0
UMASK_CAS_ISSUED_REQ_LEN_PCH0                      0x40
UMASK_CAS_ISSUED_REQ_LEN_PCH1                      0x80

EVENT_RDB_INSERTS                       0x17 MBOX|HBM
UMASK_RDB_INSERTS                       0x03

EVENT_RDB_NOT_EMPTY                     0x18 MBOX
UMASK_RDB_NOT_EMPTY                     0x03

EVENT_RDB_NE                                       0x18 MBOX
UMASK_RDB_NE_PCH0                                  0x01
UMASK_RDB_NE_PCH1                                  0x02

# Use the umask to filter
EVENT_RDB_FULL                          0x19 MBOX|HBM
OPTIONS_RDB_FULL                        EVENT_OPTION_GENERIC_UMASK_MASK
#DESC_RDB_FULL "Counts the number of cycles where the read buffer has greater than UMASK elements.  This includes reads to both DDR and PMEM.  NOTE: Umask must be set to the maximum number of elements in the queue (24 entries for SPR)."
UMASK_RDB_FULL                          0x00

EVENT_RDB_OCCUPANCY                     0x1A MBOX|HBM
UMASK_RDB_OCCUPANCY                     0x00

EVENT_POWER_SELF_REFRESH                0x43 MBOX
UMASK_POWER_SELF_REFRESH                0x00

EVENT_DRAM_PRE_ALL                      0x44 MBOX
UMASK_DRAM_PRE_ALL                      0x03

EVENT_POWER_CKE_CYCLES                  0x47 MBOX
UMASK_POWER_CKE_CYCLES_LOW_0            0x01
UMASK_POWER_CKE_CYCLES_LOW_1            0x02
UMASK_POWER_CKE_CYCLES_LOW_2            0x04
UMASK_POWER_CKE_CYCLES_LOW_3            0x08

EVENT_POWER_CHANNEL_PPD                 0x85 MBOX
UMASK_POWER_CHANNEL_PPD                 0x00

EVENT_POWER_CRIT_THROTTLE_CYCLES        0x86 MBOX
UMASK_POWER_CRIT_THROTTLE_CYCLES_SLOT0  0x01
UMASK_POWER_CRIT_THROTTLE_CYCLES_SLOT1  0x02

EVENT_PCLS                              0xA0 MBOX
UMASK_PCLS_RD                           0x05
UMASK_PCLS_WR                           0x0A
UMASK_PCLS_TOTAL                        0x0F

EVENT_SB_CYCLES_NE                      0xD0 MBOX
UMASK_SB_CYCLES_NE                      0x00

EVENT_SB_CYCLES_FULL                    0xD1 MBOX
UMASK_SB_CYCLES_FULL                    0x00

EVENT_SB_ACCESSES                                  0xD2 MBOX
UMASK_SB_ACCESSES_ACCEPTS                          0x05
UMASK_SB_ACCESSES_REJECTS                          0x0A
UMASK_SB_ACCESSES_RD_ACCEPTS                       0x01
UMASK_SB_ACCESSES_RD_REJECTS                       0x02
UMASK_SB_ACCESSES_WR_ACCEPTS                       0x04
UMASK_SB_ACCESSES_WR_REJECTS                       0x08
UMASK_SB_ACCESSES_NM_RD_CMPS                       0x10
UMASK_SB_ACCESSES_NM_WR_CMPS                       0x20
UMASK_SB_ACCESSES_FM_RD_CMPS                       0x40
UMASK_SB_ACCESSES_FM_WR_CMPS                       0x80

EVENT_SB_REJECT                         0xD4 MBOX
UMASK_SB_REJECT_NM_SET_CNFLT            0x01
UMASK_SB_REJECT_FM_ADDR_CNFLT           0x02
UMASK_SB_REJECT_PATROL_SET_CNFLT        0x04
UMASK_SB_REJECT_CANARY                  0x08
UMASK_SB_REJECT_DDR_EARLY_CMP           0x20

EVENT_SB_OCCUPANCY                      0xD5 MBOX
UMASK_SB_OCCUPANCY_RDS                  0x01
UMASK_SB_OCCUPANCY_PMM_RDS              0x04
UMASK_SB_OCCUPANCY_PMM_WRS              0x08
UMASK_SB_OCCUPANCY_BLOCK_RDS            0x20
UMASK_SB_OCCUPANCY_BLOCK_WRS            0x40

EVENT_SB_INSERTS                        0xD6 MBOX
UMASK_SB_INSERTS_RDS                    0x01
UMASK_SB_INSERTS_WRS                    0x02
UMASK_SB_INSERTS_PMM_RDS                0x04
UMASK_SB_INSERTS_PMM_WRS                0x08
UMASK_SB_INSERTS_BLOCK_RDS              0x10
UMASK_SB_INSERTS_BLOCK_WRS              0x20

EVENT_SB_STRV_ALLOC                                0xD7 MBOX
UMASK_SB_STRV_ALLOC_NM_RD                          0x01
UMASK_SB_STRV_ALLOC_FM_RD                          0x02
UMASK_SB_STRV_ALLOC_NM_WR                          0x04
UMASK_SB_STRV_ALLOC_FM_WR                          0x08
UMASK_SB_STRV_ALLOC_FM_TGR                         0x10

EVENT_SB_STRV_OCC                                  0xD8 MBOX
UMASK_SB_STRV_OCC_NM_RD                            0x01
UMASK_SB_STRV_OCC_FM_RD                            0x02
UMASK_SB_STRV_OCC_NM_WR                            0x04
UMASK_SB_STRV_OCC_FM_WR                            0x08
UMASK_SB_STRV_OCC_FM_TGR                           0x10

EVENT_SB_CANARY                                     0xD9 MBOX
UMASK_SB_CANARY_ALLOC                               0x01
UMASK_SB_CANARY_DEALLOC                             0x02
UMASK_SB_CANARY_VLD                                 0x04
UMASK_SB_CANARY_NM_RD_STARVED                       0x08
UMASK_SB_CANARY_NM_WR_STARVED                       0x10
UMASK_SB_CANARY_FM_RD_STARVED                       0x20
UMASK_SB_CANARY_FM_WR_STARVED                       0x40
UMASK_SB_CANARY_FM_TGR_WR_STARVED                   0x80

EVENT_SB_PREF_INSERTS_ALL               0xDA MBOX
UMASK_SB_PREF_INSERTS_DDR               0x02
UMASK_SB_PREF_INSERTS_PMM               0x04
UMASK_SB_PREF_INSERTS_ALL               0x01

EVENT_SB_PREF_OCCUPANCY_ALL             0xDB MBOX
UMASK_SB_PREF_OCCUPANCY_ALL             0x01
UMASK_SB_PREF_OCCUPANCY_DDR                        0x02
UMASK_SB_PREF_OCCUPANCY_PMM                        0x04

EVENT_SB_TAGGED                         0xDD MBOX
UMASK_SB_TAGGED_NEW                     0x01
UMASK_SB_TAGGED_RD_HIT                  0x02
UMASK_SB_TAGGED_RD_MISS                 0x04
UMASK_SB_TAGGED_DDR4_CMP                0x08
UMASK_SB_TAGGED_PMM0_CMP                0x10
UMASK_SB_TAGGED_PMM1_CMP                0x20
UMASK_SB_TAGGED_PMM2_CMP                0x40
UMASK_SB_TAGGED_OCC                     0x80

EVENT_SB_STRV_DEALLOC                              0xDE MBOX
UMASK_SB_STRV_DEALLOC_NM_RD                        0x01
UMASK_SB_STRV_DEALLOC_FM_RD                        0x02
UMASK_SB_STRV_DEALLOC_NM_WR                        0x04
UMASK_SB_STRV_DEALLOC_FM_WR                        0x08
UMASK_SB_STRV_DEALLOC_FM_TGR                       0x10

EVENT_PMM_RPQ_OCCUPANCY                            0xE0 MBOX
UMASK_PMM_RPQ_OCCUPANCY_NO_GNT_SCH0                0x04
UMASK_PMM_RPQ_OCCUPANCY_NO_GNT_SCH1                0x08
UMASK_PMM_RPQ_OCCUPANCY_GNT_WAIT_SCH0              0x10
UMASK_PMM_RPQ_OCCUPANCY_GNT_WAIT_SCH1              0x20

EVENT_PMM_WPQ_OCCUPANCY                            0xE4 MBOX
UMASK_PMM_WPQ_OCCUPANCY_CAS                        0x0C
UMASK_PMM_WPQ_OCCUPANCY_PWR                        0x30

EVENT_PMM_WPQ_CYCLES_NE                            0xE5 MBOX
UMASK_PMM_WPQ_CYCLES_NE                            0x00

EVENT_WPQ_READ_HIT                                 0x23 MBOX|HBM
UMASK_WPQ_READ_HIT_PCH0                            0x01
UMASK_WPQ_READ_HIT_PCH1                            0x02
UMASK_WPQ_READ_HIT                                 0x00

EVENT_WPQ_WRITE_HIT                                0x24 MBOX|HBM
UMASK_WPQ_WRITE_HIT                                0x00
UMASK_WPQ_WRITE_HIT_PCH0                           0x01
UMASK_WPQ_WRITE_HIT_PCH1                           0x02

EVENT_RPQ_OCCUPANCY_PCH0                           0x80 MBOX|HBM
UMASK_RPQ_OCCUPANCY_PCH0                           0x00

EVENT_RPQ_OCCUPANCY_PCH1                           0x81 MBOX|HBM
UMASK_RPQ_OCCUPANCY_PCH1                           0x00

EVENT_WPQ_OCCUPANCY_PCH0                           0x82 MBOX|HBM
UMASK_WPQ_OCCUPANCY_PCH0                           0x00

EVENT_WPQ_OCCUPANCY_PCH1                           0x83 MBOX|HBM
UMASK_WPQ_OCCUPANCY_PCH1                           0x00

EVENT_HBM_PRE_ALL                                  0x44 HBM
UMASK_HBM_PRE_ALL_PCH0                             0x01
UMASK_HBM_PRE_ALL_PCH1                             0x02
UMASK_HBM_PRE_ALL                                  0x03

EVENT_RPQ_INSERTS                                  0x10 HBM
UMASK_RPQ_INSERTS_PCH0                             0x01
UMASK_RPQ_INSERTS_PCH1                             0x02

EVENT_RDB_INSERTS                                  0x17 HBM
UMASK_RDB_INSERTS_PCH0                             0x01
UMASK_RDB_INSERTS_PCH1                             0x02

EVENT_WPQ_INSERTS                                  0x20 HBM
UMASK_WPQ_INSERTS_PCH0                             0x01
UMASK_WPQ_INSERTS_PCH1                             0x02

#######################################################
#              iMC & HBM (fixed counters)             #
#######################################################

EVENT_MBOX_CLOCKTICKS_DCLK                   0x00 MBOX0FIX|MBOX1FIX|MBOX2FIX|MBOX3FIX|MBOX4FIX|MBOX5FIX|MBOX6FIX|MBOX7FIX
UMASK_MBOX_CLOCKTICKS_DCLK                   0x00

#######################################################
#                   MDF == MDF                        #
#######################################################

EVENT_MDF_CLOCKTICKS                   0x01 MDF
UMASK_MDF_CLOCKTICKS                   0x00

EVENT_FAST_ASSERTED                                0x15 MDF
UMASK_FAST_ASSERTED_AD_BNC                         0x01
UMASK_FAST_ASSERTED_BL_CRD                         0x02

EVENT_CRS_TXR_INSERTS                              0x47 MDF
UMASK_CRS_TXR_INSERTS_AD_BNC                       0x01
UMASK_CRS_TXR_INSERTS_AD_CRD                       0x02
UMASK_CRS_TXR_INSERTS_BL_BNC                       0x04
UMASK_CRS_TXR_INSERTS_BL_CRD                       0x08
UMASK_CRS_TXR_INSERTS_AK                           0x10
UMASK_CRS_TXR_INSERTS_IV                           0x20
UMASK_CRS_TXR_INSERTS_AKC                          0x40

EVENT_CRS_TXR_V_BOUNCES                            0x4B MDF
UMASK_CRS_TXR_V_BOUNCES_AD                         0x01
UMASK_CRS_TXR_V_BOUNCES_BL                         0x02
UMASK_CRS_TXR_V_BOUNCES_AK                         0x04
UMASK_CRS_TXR_V_BOUNCES_IV                         0x08
UMASK_CRS_TXR_V_BOUNCES_AKC                        0x10


#######################################################
#                   M2M == M2M                        #
#######################################################

EVENT_M2M_CLOCKTICKS                    0x01 M2M
UMASK_M2M_CLOCKTICKS                    0x00

EVENT_RXC_AD_INSERTS                    0x02 M2M
UMASK_RXC_AD_INSERTS                    0x01

EVENT_RXC_AD_OCCUPANCY                  0x03 M2M
UMASK_RXC_AD_OCCUPANCY                  0x00

EVENT_DIRECT2CORE_NOT_TAKEN_DIRSTATE    0x17 M2M
UMASK_DIRECT2CORE_NOT_TAKEN_DIRSTATE    0x07
UMASK_DIRECT2CORE_NOT_TAKEN_DIRSTATE_NON_CISGRESS  0x02

EVENT_DIRECT2CORE_NOT_TAKEN_NOTFORKED   0x4A M2M
UMASK_DIRECT2CORE_NOT_TAKEN_NOTFORKED   0x00

EVENT_DIRECT2CORE_TXN_OVERRIDE          0x18 M2M
UMASK_DIRECT2CORE_TXN_OVERRIDE_PMM_HIT             0x01
UMASK_DIRECT2CORE_TXN_OVERRIDE_CISGRESS            0x02
UMASK_DIRECT2CORE_TXN_OVERRIDE          0x03

EVENT_DIRECT2UPI_TAKEN                  0x19 M2M
UMASK_DIRECT2UPI_TAKEN                  0x07

EVENT_DIRECT2UPI_NOT_TAKEN_DIRSTATE     0x1A M2M
UMASK_DIRECT2UPI_NOT_TAKEN_DIRSTATE     0x07
UMASK_DIRECT2UPI_NOT_TAKEN_DIRSTATE_EGRESS         0x01
UMASK_DIRECT2UPI_NOT_TAKEN_DIRSTATE_NON_CISGRESS   0x02
UMASK_DIRECT2UPI_NOT_TAKEN_DIRSTATE_CISGRESS       0x04

EVENT_DIRECT2UPI_NOT_TAKEN_CREDITS      0x1B M2M
UMASK_DIRECT2UPI_NOT_TAKEN_CREDITS      0x07

EVENT_DIRECT2UPI_TXN_OVERRIDE           0x1C M2M
UMASK_DIRECT2UPI_TXN_OVERRIDE           0x03
UMASK_DIRECT2UPI_TXN_OVERRIDE_PMM_HIT   0x01
UMASK_DIRECT2UPI_TXN_OVERRIDE_CISGRESS  0x02

EVENT_DIRECTORY_HIT                     0x1D M2M
UMASK_DIRECTORY_HIT_DIRTY_I             0x01
UMASK_DIRECTORY_HIT_DIRTY_S             0x02
UMASK_DIRECTORY_HIT_DIRTY_P             0x04
UMASK_DIRECTORY_HIT_DIRTY_A             0x08
UMASK_DIRECTORY_HIT_CLEAN_I             0x10
UMASK_DIRECTORY_HIT_CLEAN_S             0x20
UMASK_DIRECTORY_HIT_CLEAN_P             0x40
UMASK_DIRECTORY_HIT_CLEAN_A             0x80

EVENT_DIRECTORY_MISS                    0x1E M2M
UMASK_DIRECTORY_MISS_DIRTY_I            0x01
UMASK_DIRECTORY_MISS_DIRTY_S            0x02
UMASK_DIRECTORY_MISS_DIRTY_P            0x04
UMASK_DIRECTORY_MISS_DIRTY_A            0x08
UMASK_DIRECTORY_MISS_CLEAN_I            0x10
UMASK_DIRECTORY_MISS_CLEAN_S            0x20
UMASK_DIRECTORY_MISS_CLEAN_P            0x40
UMASK_DIRECTORY_MISS_CLEAN_A            0x80

EVENT_TAG_HIT                                      0x1F M2M
UMASK_TAG_HIT_NM_UFILL_HIT_CLEAN                   0x04
UMASK_TAG_HIT_NM_UFILL_HIT_DIRTY                   0x08


EVENT_DIRECTORY_UPDATE                  0x21 M2M
OPTIONS_DIRECTORY_UPDATE                EVENT_OPTION_MATCH0_MASK
DEFAULT_OPTIONS_DIRECTORY_UPDATE_A2I    EVENT_OPTION_MATCH0=0x03
UMASK_DIRECTORY_UPDATE_A2I              0x20
DEFAULT_OPTIONS_DIRECTORY_UPDATE_A2S    EVENT_OPTION_MATCH0=0x03
UMASK_DIRECTORY_UPDATE_A2S              0x40
DEFAULT_OPTIONS_DIRECTORY_UPDATE_I2A    EVENT_OPTION_MATCH0=0x03
UMASK_DIRECTORY_UPDATE_I2A              0x04
DEFAULT_OPTIONS_DIRECTORY_UPDATE_I2S    EVENT_OPTION_MATCH0=0x03
UMASK_DIRECTORY_UPDATE_I2S              0x02
DEFAULT_OPTIONS_DIRECTORY_UPDATE_S2A    EVENT_OPTION_MATCH0=0x03
UMASK_DIRECTORY_UPDATE_S2A              0x10
DEFAULT_OPTIONS_DIRECTORY_UPDATE_S2I    EVENT_OPTION_MATCH0=0x03
UMASK_DIRECTORY_UPDATE_S2I              0x08
DEFAULT_OPTIONS_DIRECTORY_UPDATE_HIT_NON_PMM       EVENT_OPTION_MATCH0=0x00000001
UMASK_DIRECTORY_UPDATE_HIT_NON_PMM                 0x01
DEFAULT_OPTIONS_DIRECTORY_UPDATE_I_TO_S_HIT_NON_PMM      EVENT_OPTION_MATCH0=0x00000001
UMASK_DIRECTORY_UPDATE_I_TO_S_HIT_NON_PMM                0x02
DEFAULT_OPTIONS_DIRECTORY_UPDATE_I_TO_A_HIT_NON_PMM      EVENT_OPTION_MATCH0=0x00000001
UMASK_DIRECTORY_UPDATE_I_TO_A_HIT_NON_PMM                0x04
DEFAULT_OPTIONS_DIRECTORY_UPDATE_S_TO_I_HIT_NON_PMM      EVENT_OPTION_MATCH0=0x00000001
UMASK_DIRECTORY_UPDATE_S_TO_I_HIT_NON_PMM                0x08
DEFAULT_OPTIONS_DIRECTORY_UPDATE_S_TO_A_HIT_NON_PMM      EVENT_OPTION_MATCH0=0x00000001
UMASK_DIRECTORY_UPDATE_S_TO_A_HIT_NON_PMM                0x10
DEFAULT_OPTIONS_DIRECTORY_UPDATE_A_TO_I_HIT_NON_PMM      EVENT_OPTION_MATCH0=0x00000001
UMASK_DIRECTORY_UPDATE_A_TO_I_HIT_NON_PMM                0x20
DEFAULT_OPTIONS_DIRECTORY_UPDATE_A_TO_S_HIT_NON_PMM      EVENT_OPTION_MATCH0=0x00000001
UMASK_DIRECTORY_UPDATE_A_TO_S_HIT_NON_PMM                0x40
DEFAULT_OPTIONS_DIRECTORY_UPDATE_MISS_NON_PMM      EVENT_OPTION_MATCH0=0x00000002
UMASK_DIRECTORY_UPDATE_MISS_NON_PMM                0x01
DEFAULT_OPTIONS_DIRECTORY_UPDATE_I_TO_S_MISS_NON_PMM      EVENT_OPTION_MATCH0=0x00000002
UMASK_DIRECTORY_UPDATE_I_TO_S_MISS_NON_PMM                0x02
DEFAULT_OPTIONS_DIRECTORY_UPDATE_I_TO_A_MISS_NON_PMM      EVENT_OPTION_MATCH0=0x00000002
UMASK_DIRECTORY_UPDATE_I_TO_A_MISS_NON_PMM                0x04
DEFAULT_OPTIONS_DIRECTORY_UPDATE_S_TO_I_MISS_NON_PMM      EVENT_OPTION_MATCH0=0x00000002
UMASK_DIRECTORY_UPDATE_S_TO_I_MISS_NON_PMM                0x08
DEFAULT_OPTIONS_DIRECTORY_UPDATE_S_TO_A_MISS_NON_PMM      EVENT_OPTION_MATCH0=0x00000002
UMASK_DIRECTORY_UPDATE_S_TO_A_MISS_NON_PMM                0x10
DEFAULT_OPTIONS_DIRECTORY_UPDATE_A_TO_I_MISS_NON_PMM      EVENT_OPTION_MATCH0=0x00000002
UMASK_DIRECTORY_UPDATE_A_TO_I_MISS_NON_PMM                0x20
DEFAULT_OPTIONS_DIRECTORY_UPDATE_A_TO_S_MISS_NON_PMM      EVENT_OPTION_MATCH0=0x00000002
UMASK_DIRECTORY_UPDATE_A_TO_S_MISS_NON_PMM                0x40

EVENT_IMC_READS                             0x24 M2M
OPTIONS_IMC_READS                           EVENT_OPTION_MATCH0_MASK
DEFAULT_OPTIONS_IMC_READS_CH0_TO_NM1LM      EVENT_OPTION_MATCH0=0x01
UMASK_IMC_READS_CH0_TO_NM1LM                0x08
DEFAULT_OPTIONS_IMC_READS_CH0_TO_NMCACHE    EVENT_OPTION_MATCH0=0x01
UMASK_IMC_READS_CH0_TO_NMCACHE              0x10
DEFAULT_OPTIONS_IMC_READS_CH1_TO_NM1LM      EVENT_OPTION_MATCH0=0x02
UMASK_IMC_READS_CH1_TO_NM1LM                0x08
DEFAULT_OPTIONS_IMC_READS_CH1_TO_NMCACHE    EVENT_OPTION_MATCH0=0x02
UMASK_IMC_READS_CH1_TO_NMCACHE              0x10
DEFAULT_OPTIONS_IMC_READS_TO_NM1LM          EVENT_OPTION_MATCH0=0x03
UMASK_IMC_READS_TO_NM1LM                    0x08
DEFAULT_OPTIONS_IMC_READS_TO_NMCACHE        EVENT_OPTION_MATCH0=0x03
UMASK_IMC_READS_TO_NMCACHE                  0x10
DEFAULT_OPTIONS_IMC_READS_ALL               EVENT_OPTION_MATCH0=0x03
UMASK_IMC_READS_ALL                         0x04
DEFAULT_OPTIONS_IMC_READS_NORMAL            EVENT_OPTION_MATCH0=0x03
UMASK_IMC_READS_NORMAL                      0x01
DEFAULT_OPTIONS_IMC_READS_CH0_ISOCH                EVENT_OPTION_MATCH0=0x00000001
UMASK_IMC_READS_CH0_ISOCH                          0x02
DEFAULT_OPTIONS_IMC_READS_CH0_FROM_TGR             EVENT_OPTION_MATCH0=0x00000001
UMASK_IMC_READS_CH0_FROM_TGR                       0x40
DEFAULT_OPTIONS_IMC_READS_CH1_ISOCH                EVENT_OPTION_MATCH0=0x00000002
UMASK_IMC_READS_CH1_ISOCH                          0x02
DEFAULT_OPTIONS_IMC_READS_CH1_FROM_TGR             EVENT_OPTION_MATCH0=0x00000002
UMASK_IMC_READS_CH1_FROM_TGR                       0x40
DEFAULT_OPTIONS_IMC_READS_ISOCH                    EVENT_OPTION_MATCH0=0x00000003
UMASK_IMC_READS_ISOCH                              0x02
DEFAULT_OPTIONS_IMC_READS_FROM_TGR                 EVENT_OPTION_MATCH0=0x00000003
UMASK_IMC_READS_FROM_TGR                           0x40
DEFAULT_OPTIONS_IMC_READS_CH0_NORMAL               EVENT_OPTION_MATCH0=0x00000001
UMASK_IMC_READS_CH0_NORMAL                         0x01
DEFAULT_OPTIONS_IMC_READS_CH0_ALL                  EVENT_OPTION_MATCH0=0x00000001
UMASK_IMC_READS_CH0_ALL                            0x04
DEFAULT_OPTIONS_IMC_READS_CH0_TO_PMM               EVENT_OPTION_MATCH0=0x00000001
UMASK_IMC_READS_CH0_TO_PMM                         0x20
DEFAULT_OPTIONS_IMC_READS_CH1_NORMAL               EVENT_OPTION_MATCH0=0x00000002
UMASK_IMC_READS_CH1_NORMAL                         0x01
DEFAULT_OPTIONS_IMC_READS_CH1_ALL                  EVENT_OPTION_MATCH0=0x00000002
UMASK_IMC_READS_CH1_ALL                            0x04
DEFAULT_OPTIONS_IMC_READS_CH1_TO_PMM               EVENT_OPTION_MATCH0=0x00000002
UMASK_IMC_READS_CH1_TO_PMM                         0x20
DEFAULT_OPTIONS_IMC_READS_CH0_TO_DDR_AS_MEM        EVENT_OPTION_MATCH0=0x00000001
UMASK_IMC_READS_CH0_TO_DDR_AS_MEM                  0x08
DEFAULT_OPTIONS_IMC_READS_CH0_TO_DDR_AS_CACHE      EVENT_OPTION_MATCH0=0x00000001
UMASK_IMC_READS_CH0_TO_DDR_AS_CACHE                0x10
DEFAULT_OPTIONS_IMC_READS_CH1_TO_DDR_AS_MEM        EVENT_OPTION_MATCH0=0x00000002
UMASK_IMC_READS_CH1_TO_DDR_AS_MEM                  0x08
DEFAULT_OPTIONS_IMC_READS_CH1_TO_DDR_AS_CACHE      EVENT_OPTION_MATCH0=0x00000002
UMASK_IMC_READS_CH1_TO_DDR_AS_CACHE                0x10
DEFAULT_OPTIONS_IMC_READS_TO_DDR_AS_MEM            EVENT_OPTION_MATCH0=0x00000003
UMASK_IMC_READS_TO_DDR_AS_MEM                      0x08
DEFAULT_OPTIONS_IMC_READS_TO_DDR_AS_CACHE          EVENT_OPTION_MATCH0=0x00000003
UMASK_IMC_READS_TO_DDR_AS_CACHE                    0x10

EVENT_IMC_WRITES                        0x25 M2M
OPTIONS_IMC_WRITES                      EVENT_OPTION_MATCH0_MASK
DEFAULT_OPTIONS_IMC_WRITES_NI           EVENT_OPTION_MATCH0=0x1A
UMASK_IMC_WRITES_NI                     0x00
DEFAULT_OPTIONS_IMC_WRITES_ALL          EVENT_OPTION_MATCH0=0x18
UMASK_IMC_WRITES_ALL                    0x10
DEFAULT_OPTIONS_IMC_WRITES_FULL         EVENT_OPTION_MATCH0=0x18
UMASK_IMC_WRITES_FULL                   0x01
DEFAULT_OPTIONS_IMC_WRITES_PARTIAL      EVENT_OPTION_MATCH0=0x18
UMASK_IMC_WRITES_PARTIAL                0x02
DEFAULT_OPTIONS_IMC_WRITES_CH0_FULL_ISOCH          EVENT_OPTION_MATCH0=0x00000008
UMASK_IMC_WRITES_CH0_FULL_ISOCH                    0x04
DEFAULT_OPTIONS_IMC_WRITES_CH0_PARTIAL_ISOCH       EVENT_OPTION_MATCH0=0x00000008
UMASK_IMC_WRITES_CH0_PARTIAL_ISOCH                 0x08
DEFAULT_OPTIONS_IMC_WRITES_CH0_TO_DDR_AS_MEM       EVENT_OPTION_MATCH0=0x00000008
UMASK_IMC_WRITES_CH0_TO_DDR_AS_MEM                 0x20
DEFAULT_OPTIONS_IMC_WRITES_CH0_TO_DDR_AS_CACHE     EVENT_OPTION_MATCH0=0x00000008
UMASK_IMC_WRITES_CH0_TO_DDR_AS_CACHE               0x40
DEFAULT_OPTIONS_IMC_WRITES_CH0_FROM_TGR            EVENT_OPTION_MATCH0=0x00000009
UMASK_IMC_WRITES_CH0_FROM_TGR                      0x00
DEFAULT_OPTIONS_IMC_WRITES_CH0_NI_MISS             EVENT_OPTION_MATCH0=0x0000000C
UMASK_IMC_WRITES_CH0_NI_MISS                       0x00
DEFAULT_OPTIONS_IMC_WRITES_CH1_FULL_ISOCH          EVENT_OPTION_MATCH0=0x00000010
UMASK_IMC_WRITES_CH1_FULL_ISOCH                    0x04
DEFAULT_OPTIONS_IMC_WRITES_CH1_PARTIAL_ISOCH       EVENT_OPTION_MATCH0=0x00000010
UMASK_IMC_WRITES_CH1_PARTIAL_ISOCH                 0x08
DEFAULT_OPTIONS_IMC_WRITES_CH1_TO_DDR_AS_MEM       EVENT_OPTION_MATCH0=0x00000010
UMASK_IMC_WRITES_CH1_TO_DDR_AS_MEM                 0x20
DEFAULT_OPTIONS_IMC_WRITES_CH1_TO_DDR_AS_CACHE     EVENT_OPTION_MATCH0=0x00000010
UMASK_IMC_WRITES_CH1_TO_DDR_AS_CACHE               0x40
DEFAULT_OPTIONS_IMC_WRITES_CH1_FROM_TGR            EVENT_OPTION_MATCH0=0x00000011
UMASK_IMC_WRITES_CH1_FROM_TGR                      0x00
DEFAULT_OPTIONS_IMC_WRITES_CH1_NI_MISS             EVENT_OPTION_MATCH0=0x00000014
UMASK_IMC_WRITES_CH1_NI_MISS                       0x00
DEFAULT_OPTIONS_IMC_WRITES_FULL_ISOCH              EVENT_OPTION_MATCH0=0x00000018
UMASK_IMC_WRITES_FULL_ISOCH                        0x04
DEFAULT_OPTIONS_IMC_WRITES_PARTIAL_ISOCH           EVENT_OPTION_MATCH0=0x00000018
UMASK_IMC_WRITES_PARTIAL_ISOCH                     0x08
DEFAULT_OPTIONS_IMC_WRITES_FROM_TGR                EVENT_OPTION_MATCH0=0x00000019
UMASK_IMC_WRITES_FROM_TGR                          0x00
DEFAULT_OPTIONS_IMC_WRITES_NI_MISS                 EVENT_OPTION_MATCH0=0x0000001C
UMASK_IMC_WRITES_NI_MISS                           0x00
DEFAULT_OPTIONS_IMC_WRITES_CH0_FULL                EVENT_OPTION_MATCH0=0x00000008
UMASK_IMC_WRITES_CH0_FULL                          0x01
DEFAULT_OPTIONS_IMC_WRITES_CH0_PARTIAL             EVENT_OPTION_MATCH0=0x00000008
UMASK_IMC_WRITES_CH0_PARTIAL                       0x02
DEFAULT_OPTIONS_IMC_WRITES_CH0_ALL                 EVENT_OPTION_MATCH0=0x00000008
UMASK_IMC_WRITES_CH0_ALL                           0x10
DEFAULT_OPTIONS_IMC_WRITES_CH0_TO_PMM              EVENT_OPTION_MATCH0=0x00000008
UMASK_IMC_WRITES_CH0_TO_PMM                        0x80
DEFAULT_OPTIONS_IMC_WRITES_CH1_FULL                EVENT_OPTION_MATCH0=0x00000010
UMASK_IMC_WRITES_CH1_FULL                          0x01
DEFAULT_OPTIONS_IMC_WRITES_CH1_PARTIAL             EVENT_OPTION_MATCH0=0x00000010
UMASK_IMC_WRITES_CH1_PARTIAL                       0x02
DEFAULT_OPTIONS_IMC_WRITES_CH1_ALL                 EVENT_OPTION_MATCH0=0x00000010
UMASK_IMC_WRITES_CH1_ALL                           0x10
DEFAULT_OPTIONS_IMC_WRITES_CH1_TO_PMM              EVENT_OPTION_MATCH0=0x00000010
UMASK_IMC_WRITES_CH1_TO_PMM                        0x80
DEFAULT_OPTIONS_IMC_WRITES_TO_DDR_AS_MEM           EVENT_OPTION_MATCH0=0x00000018
UMASK_IMC_WRITES_TO_DDR_AS_MEM                     0x20
DEFAULT_OPTIONS_IMC_WRITES_TO_DDR_AS_CACHE         EVENT_OPTION_MATCH0=0x00000018
UMASK_IMC_WRITES_TO_DDR_AS_CACHE                   0x40
DEFAULT_OPTIONS_IMC_WRITES_CH0_NI                  EVENT_OPTION_MATCH0=0x0000000A
UMASK_IMC_WRITES_CH0_NI                            0x00
DEFAULT_OPTIONS_IMC_WRITES_CH1_NI                  EVENT_OPTION_MATCH0=0x00000012
UMASK_IMC_WRITES_CH1_NI                            0x00

EVENT_TGR_AD_CREDITS                    0x2E M2M
UMASK_TGR_AD_CREDITS                    0x00

EVENT_TGR_BL_CREDITS                    0x2F M2M
UMASK_TGR_BL_CREDITS                    0x00

EVENT_TRACKER_INSERTS                   0x32 M2M
OPTIONS_TRACKER_INSERTS                 EVENT_OPTION_MATCH0_MASK
DEFAULT_OPTIONS_TRACKER_INSERTS_CH0     EVENT_OPTION_MATCH0=0x01
UMASK_TRACKER_INSERTS_CH0               0x04
DEFAULT_OPTIONS_TRACKER_INSERTS_CH1     EVENT_OPTION_MATCH0=0x02
UMASK_TRACKER_INSERTS_CH1               0x04
# Added by T. Gruber
DEFAULT_OPTIONS_TRACKER_INSERTS_ANY     EVENT_OPTION_MATCH0=0x03
UMASK_TRACKER_INSERTS_ANY               0x04

EVENT_TRACKER_OCCUPANCY                 0x33 M2M
UMASK_TRACKER_OCCUPANCY_CH0             0x01
UMASK_TRACKER_OCCUPANCY_CH1             0x02
# Added by T. Gruber
UMASK_TRACKER_OCCUPANCY_ANY             0x03

EVENT_WR_TRACKER_NE                     0x35 M2M
UMASK_WR_TRACKER_NE_CH0                 0x01
UMASK_WR_TRACKER_NE_CH1                 0x02
# Added by T. Gruber
UMASK_WR_TRACKER_NE_ANY                 0x03
UMASK_WR_TRACKER_NE_MIRR                0x04
UMASK_WR_TRACKER_NE_MIRR_NONTGR         0x08
UMASK_WR_TRACKER_NE_MIRR_PWR            0x10

EVENT_WPQ_NO_REG_CRD                    0x37 M2M
UMASK_WPQ_NO_REG_CRD_CHN0               0x01
UMASK_WPQ_NO_REG_CRD_CHN1               0x02
# Added by T. Gruber
UMASK_WPQ_NO_REG_CRD_ANY                0x03
# Added by T. Gruber
UMASK_WPQ_NO_REG_CRD_CH0                0x01
# Added by T. Gruber
UMASK_WPQ_NO_REG_CRD_CH1                0x02

EVENT_WPQ_NO_SPEC_CRD                   0x38 M2M
UMASK_WPQ_NO_SPEC_CRD_CHN0              0x01
UMASK_WPQ_NO_SPEC_CRD_CHN1              0x02
# Added by T. Gruber
UMASK_WPQ_NO_SPEC_CRD_ANY               0x03
# Added by T. Gruber
UMASK_WPQ_NO_SPEC_CRD_CH0               0x01
# Added by T. Gruber
UMASK_WPQ_NO_SPEC_CRD_CH1               0x02

EVENT_WR_TRACKER_INSERTS                0x40 M2M
UMASK_WR_TRACKER_INSERTS_CH0            0x01
UMASK_WR_TRACKER_INSERTS_CH1            0x02
# Added by T. Gruber
UMASK_WR_TRACKER_INSERTS_ANY            0x03

EVENT_WPQ_FLUSH                         0x42 M2M
UMASK_WPQ_FLUSH_CH0                     0x01
UMASK_WPQ_FLUSH_CH1                     0x02
# Added by T. Gruber
UMASK_WPQ_FLUSH_ANY                     0x03

EVENT_IGR_STARVE_WINNER                            0x44 M2M
UMASK_IGR_STARVE_WINNER_MASK7                      0x80

EVENT_WR_TRACKER_POSTED_OCCUPANCY       0x47 M2M
UMASK_WR_TRACKER_POSTED_OCCUPANCY_CH0   0x01
UMASK_WR_TRACKER_POSTED_OCCUPANCY_CH1   0x02
# Added by T. Gruber
UMASK_WR_TRACKER_POSTED_OCCUPANCY_ANY   0x03

EVENT_WR_TRACKER_POSTED_INSERTS         0x48 M2M
UMASK_WR_TRACKER_POSTED_INSERTS_CH0     0x01
UMASK_WR_TRACKER_POSTED_INSERTS_CH1     0x02
# Added by T. Gruber
UMASK_WR_TRACKER_POSTED_INSERTS_ANY     0x03

EVENT_TAG_MISS                          0x4B M2M
UMASK_TAG_MISS                          0x03

EVENT_WR_TRACKER_NONPOSTED_OCCUPANCY       0x4C M2M
UMASK_WR_TRACKER_NONPOSTED_OCCUPANCY_CH0   0x01
UMASK_WR_TRACKER_NONPOSTED_OCCUPANCY_CH1   0x02
# Added by T. Gruber
UMASK_WR_TRACKER_NONPOSTED_OCCUPANCY_ANY   0x03

EVENT_WR_TRACKER_NONPOSTED_INSERTS         0x4D M2M
UMASK_WR_TRACKER_NONPOSTED_INSERTS_CH0     0x01
UMASK_WR_TRACKER_NONPOSTED_INSERTS_CH1     0x02
# Added by T. Gruber
UMASK_WR_TRACKER_NONPOSTED_INSERTS_ANY     0x03

EVENT_PREFCAM_OCCUPANCY                 0x54 M2M
UMASK_PREFCAM_OCCUPANCY_CH0             0x01
UMASK_PREFCAM_OCCUPANCY_CH1             0x02
UMASK_PREFCAM_OCCUPANCY_ALLCH           0x03

EVENT_PREFCAM_INSERTS                   0x56 M2M
UMASK_PREFCAM_INSERTS_CH0_XPT           0x01
UMASK_PREFCAM_INSERTS_CH0_UPI           0x02
UMASK_PREFCAM_INSERTS_CH1_XPT           0x04
UMASK_PREFCAM_INSERTS_CH1_UPI           0x08
UMASK_PREFCAM_INSERTS_UPI_ALLCH         0x0A
UMASK_PREFCAM_INSERTS_XPT_ALLCH         0x05


EVENT_PREFCAM_DEMAND_DROPS                   0x58 M2M
UMASK_PREFCAM_DEMAND_DROPS_CH0_XPT           0x01
UMASK_PREFCAM_DEMAND_DROPS_CH0_UPI           0x02
UMASK_PREFCAM_DEMAND_DROPS_CH1_XPT           0x04
UMASK_PREFCAM_DEMAND_DROPS_CH1_UPI           0x08
UMASK_PREFCAM_DEMAND_DROPS_XPT_ALLCH         0x05
UMASK_PREFCAM_DEMAND_DROPS_UPI_ALLCH         0x0A

EVENT_PREFCAM_CIS_DROPS                 0x5C M2M
UMASK_PREFCAM_CIS_DROPS                 0x00

EVENT_PREFCAM_RXC_DEALLOCS              0x62 M2M
UMASK_PREFCAM_RXC_DEALLOCS_SQUASHED     0x01
UMASK_PREFCAM_RXC_DEALLOCS_1LM_POSTED   0x02
UMASK_PREFCAM_RXC_DEALLOCS_PMM_MEMMODE_ACCEPT      0x04
UMASK_PREFCAM_RXC_DEALLOCS_CIS          0x08

EVENT_PREFCAM_RESP_MISS                 0x5F M2M
UMASK_PREFCAM_RESP_MISS_CH0             0x01
UMASK_PREFCAM_RESP_MISS_CH1             0x02
# Added by T. Gruber
UMASK_PREFCAM_RESP_MISS_ANY             0x03

EVENT_PREFCAM_RXC_OCCUPANCY                        0x60 M2M
UMASK_PREFCAM_RXC_OCCUPANCY                        0x00

EVENT_PREFCAM_DEMAND_MERGE                         0x5D M2M
UMASK_PREFCAM_DEMAND_MERGE_UPI_ALLCH               0x0A
UMASK_PREFCAM_DEMAND_MERGE_XPT_ALLCH               0x05

EVENT_PREFCAM_DEMAND_NO_MERGE                      0x5E M2M
UMASK_PREFCAM_DEMAND_NO_MERGE_WR_SQUASHED          0x10
UMASK_PREFCAM_DEMAND_NO_MERGE_WR_MERGED            0x20
UMASK_PREFCAM_DEMAND_NO_MERGE_RD_MERGED            0x40

EVENT_PREFCAM_RESP_MISS                            0x5F M2M
UMASK_PREFCAM_RESP_MISS_ALLCH                      0x03

EVENT_EGRESS_ORDERING                              0xBA M2M
DEFAULT_OPTIONS_EGRESS_ORDERING_IV_SNOOPGO_UP      EVENT_OPTION_MATCH0=0x800000
UMASK_EGRESS_ORDERING_IV_SNOOPGO_UP                0x01
DEFAULT_OPTIONS_EGRESS_ORDERING_IV_SNOOPGO_DN      EVENT_OPTION_MATCH0=0x800000
UMASK_EGRESS_ORDERING_IV_SNOOPGO_DN                0x04

#######################################################
#             free-running iMC                        #
#             (not supported)                         #
#######################################################
#EVENT_IMC_DEV_CLOCKTICKS                0xFF MDEV0C0|MDEV1C0|MDEV2C0|MDEV3C0
#UMASK_IMC_DEV_CLOCKTICKS                0x10

#EVENT_IMC_DEV_RPQ_CLOCKTICKS            0xFF MDEV0C1|MDEV1C1|MDEV2C1|MDEV3C1
#UMASK_IMC_DEV_RPQ_CLOCKTICKS            0x20

#EVENT_IMC_DEV_RPQ_CLOCKTICKS            0xFF MDEV0C2|MDEV1C2|MDEV2C2|MDEV3C2
#UMASK_IMC_DEV_RPQ_CLOCKTICKS            0x21


#######################################################
#                   UPI == UPI LL                     #
#######################################################

EVENT_UPI_CLOCKTICKS                    0x01 UPI
UMASK_UPI_CLOCKTICKS                    0x00

EVENT_TXL_FLITS                         0x02 UPI
UMASK_TXL_FLITS_SLOT0                   0x01
UMASK_TXL_FLITS_SLOT1                   0x02
UMASK_TXL_FLITS_SLOT2                   0x04
UMASK_TXL_FLITS_DATA                    0x08
UMASK_TXL_FLITS_LLCRD                   0x10
UMASK_TXL_FLITS_NULL                    0x20
UMASK_TXL_FLITS_LLCTRL                  0x40
UMASK_TXL_FLITS_PROTHDR                 0x80
UMASK_TXL_FLITS_IDLE                    0x47
UMASK_TXL_FLITS_ALL_PROTHDR                        0x87
UMASK_TXL_FLITS_ALL_LLCTRL                         0x47
UMASK_TXL_FLITS_ALL_LLCRD                          0x17
# Added by T. Gruber
UMASK_TXL_FLITS_DATA_SLOT0              0x09
# Added by T. Gruber
UMASK_TXL_FLITS_DATA_SLOT1              0x0A
# Added by T. Gruber
UMASK_TXL_FLITS_DATA_SLOT2              0x0C
# Added by T. Gruber
UMASK_TXL_FLITS_ALL_DATA                0x0F

# Added by V.Xirau and G.Guerrero
UMASK_TXL_FLITS_ALL_NULL                0x27
# Added by V.Xirau and G.Guerrero
UMASK_TXL_FLITS_NON_DATA                0x97

EVENT_RXL_FLITS                         0x03 UPI
UMASK_RXL_FLITS_SLOT0                   0x01
UMASK_RXL_FLITS_SLOT1                   0x02
UMASK_RXL_FLITS_SLOT2                   0x04
UMASK_RXL_FLITS_DATA                    0x08
UMASK_RXL_FLITS_LLCRD                   0x10
UMASK_RXL_FLITS_NULL                    0x20
UMASK_RXL_FLITS_LLCTRL                  0x40
UMASK_RXL_FLITS_PROTHDR                 0x80
UMASK_RXL_FLITS_IDLE                    0x47
# Added by T. Gruber
UMASK_RXL_FLITS_DATA_SLOT0              0x09
# Added by T. Gruber
UMASK_RXL_FLITS_DATA_SLOT1              0x0A
# Added by T. Gruber
UMASK_RXL_FLITS_DATA_SLOT2              0x0C
# Added by T. Gruber
UMASK_RXL_FLITS_ALL_DATA                0x0F

# Added by V.Xirau and G.Guerrero
UMASK_RXL_FLITS_NON_DATA                0x97

EVENT_TXL_BASIC_HDR_MATCH               0x04 UPI
OPTIONS_TXL_BASIC_HDR_MATCH             EVENT_OPTION_MATCH0_MASK
UMASK_TXL_BASIC_HDR_MATCH_NCB           0x0E
DEFAULT_OPTIONS_TXL_BASIC_HDR_MATCH_NCB_OPC EVENT_OPTION_MATCH0=0x01
UMASK_TXL_BASIC_HDR_MATCH_NCB_OPC       0x0E
UMASK_TXL_BASIC_HDR_MATCH_NCS           0x0F
DEFAULT_OPTIONS_TXL_BASIC_HDR_MATCH_NCS_OPC EVENT_OPTION_MATCH0=0x01
UMASK_TXL_BASIC_HDR_MATCH_NCS_OPC       0x0F

EVENT_RXL_BASIC_HDR_MATCH               0x05 UPI
OPTIONS_RXL_BASIC_HDR_MATCH             EVENT_OPTION_MATCH0_MASK
UMASK_RXL_BASIC_HDR_MATCH_NCB           0x0E
DEFAULT_OPTIONS_RXL_BASIC_HDR_MATCH_NCB_OPC EVENT_OPTION_MATCH0=0x01
UMASK_RXL_BASIC_HDR_MATCH_NCB_OPC       0x0E
UMASK_RXL_BASIC_HDR_MATCH_NCS           0x0F
DEFAULT_OPTIONS_RXL_BASIC_HDR_MATCH_NCS_OPC EVENT_OPTION_MATCH0=0x01
UMASK_RXL_BASIC_HDR_MATCH_NCS_OPC       0x0F

EVENT_RXL_CRC_LLR_REQ_TRANSMIT          0x08 UPI
UMASK_RXL_CRC_LLR_REQ_TRANSMIT          0x00

EVENT_RXL_CRC_ERRORS                    0x0B UPI
UMASK_RXL_CRC_ERRORS                    0x00

EVENT_DIRECT_ATTEMPTS                   0x12 UPI
UMASK_DIRECT_ATTEMPTS_D2C               0x01
UMASK_DIRECT_ATTEMPTS_D2K               0x02

EVENT_M3_BYP_BLOCKED                    0x14 UPI
UMASK_M3_BYP_BLOCKED_FLOWQ_AD_VNA_LE2   0x01
UMASK_M3_BYP_BLOCKED_FLOWQ_BL_VNA_EQ0   0x02
UMASK_M3_BYP_BLOCKED_FLOWQ_AK_VNA_LE3   0x04
UMASK_M3_BYP_BLOCKED_BGF_CRD            0x08
UMASK_M3_BYP_BLOCKED_GV_BLOCK           0x10

EVENT_M3_RXQ_BLOCKED                               0x15 UPI
UMASK_M3_RXQ_BLOCKED_FLOWQ_AD_VNA_LE2              0x01
UMASK_M3_RXQ_BLOCKED_FLOWQ_AD_VNA_BTW_2_THRESH     0x02
UMASK_M3_RXQ_BLOCKED_FLOWQ_BL_VNA_EQ0              0x04
UMASK_M3_RXQ_BLOCKED_FLOWQ_BL_VNA_BTW_0_THRESH     0x08
UMASK_M3_RXQ_BLOCKED_FLOWQ_AK_VNA_LE3              0x10
UMASK_M3_RXQ_BLOCKED_BGF_CRD                       0x20
UMASK_M3_RXQ_BLOCKED_GV_BLOCK                      0x40

EVENT_M3_CRD_RETURN_BLOCKED             0x16 UPI
UMASK_M3_CRD_RETURN_BLOCKED             0x00

EVENT_FLOWQ_NO_VNA_CRD                  0x18 UPI
UMASK_FLOWQ_NO_VNA_CRD_AD_VNA_EQ0       0x01
UMASK_FLOWQ_NO_VNA_CRD_AD_VNA_EQ1       0x02
UMASK_FLOWQ_NO_VNA_CRD_AD_VNA_EQ2       0x04
UMASK_FLOWQ_NO_VNA_CRD_BL_VNA_EQ0       0x08
UMASK_FLOWQ_NO_VNA_CRD_AK_VNA_EQ0       0x10
UMASK_FLOWQ_NO_VNA_CRD_AK_VNA_EQ1       0x20
UMASK_FLOWQ_NO_VNA_CRD_AK_VNA_EQ2       0x40
UMASK_FLOWQ_NO_VNA_CRD_AK_VNA_EQ3       0x80

EVENT_PHY_INIT_CYCLES                   0x20 UPI
UMASK_PHY_INIT_CYCLES                   0x00

EVENT_POWER_L1_REQ                      0x22 UPI
UMASK_POWER_L1_REQ                      0x00

EVENT_POWER_L1_NACK                     0x23 UPI
UMASK_POWER_L1_NACK                     0x00

EVENT_RXL0_POWER_CYCLES                 0x24 UPI
UMASK_RXL0_POWER_CYCLES                 0x00

EVENT_RXL0P_POWER_CYCLES                0x25 UPI
UMASK_RXL0P_POWER_CYCLES                0x00

EVENT_TXL0_POWER_CYCLES                 0x26 UPI
UMASK_TXL0_POWER_CYCLES                 0x00

EVENT_TXL0P_POWER_CYCLES                0x27 UPI
UMASK_TXL0P_POWER_CYCLES                0x00

EVENT_TXL0P_POWER_CYCLES_LL_ENTER       0x28 UPI
UMASK_TXL0P_POWER_CYCLES_LL_ENTER       0x00

EVENT_TXL0P_POWER_CYCLES_M3_EXIT        0x29 UPI
UMASK_TXL0P_POWER_CYCLES_M3_EXIT        0x00

EVENT_TXL0P_CLK_ACTIVE                  0x2A UPI
UMASK_TXL0P_CLK_ACTIVE_CFG_CTL          0x01
UMASK_TXL0P_CLK_ACTIVE_RXQ              0x02
UMASK_TXL0P_CLK_ACTIVE_RXQ_BYPASS       0x04
UMASK_TXL0P_CLK_ACTIVE_RXQ_CRED         0x08
UMASK_TXL0P_CLK_ACTIVE_TXQ              0x10
UMASK_TXL0P_CLK_ACTIVE_RETRY            0x20
UMASK_TXL0P_CLK_ACTIVE_DFX              0x40
UMASK_TXL0P_CLK_ACTIVE_SPARE            0x80

EVENT_RXL_BYPASSED                      0x31 UPI
UMASK_RXL_BYPASSED_SLOT0                0x01
UMASK_RXL_BYPASSED_SLOT1                0x02
UMASK_RXL_BYPASSED_SLOT2                0x04
# Added by T. Gruber
UMASK_RXL_BYPASSED_ANY                  0x07

EVENT_RXL_OCCUPANCY                     0x32 UPI
UMASK_RXL_OCCUPANCY_SLOT0               0x01
UMASK_RXL_OCCUPANCY_SLOT1               0x02
UMASK_RXL_OCCUPANCY_SLOT2               0x04
# Added by T. Gruber
UMASK_RXL_OCCUPANCY_ANY                 0x07

EVENT_RXL_SLOT_BYPASS                   0x33 UPI
UMASK_RXL_SLOT_BYPASS_S0_RXQ1           0x01
UMASK_RXL_SLOT_BYPASS_S0_RXQ2           0x02
UMASK_RXL_SLOT_BYPASS_S1_RXQ0           0x04
UMASK_RXL_SLOT_BYPASS_S1_RXQ2           0x08
UMASK_RXL_SLOT_BYPASS_S2_RXQ0           0x10
UMASK_RXL_SLOT_BYPASS_S2_RXQ1           0x20
# Added by T. Gruber
UMASK_RXL_SLOT_BYPASS_S0_ANY            0x03
# Added by T. Gruber
UMASK_RXL_SLOT_BYPASS_S1_ANY            0x0C
# Added by T. Gruber
UMASK_RXL_SLOT_BYPASS_S2_ANY            0x30

EVENT_RXL_CREDITS_CONSUMED_VNA                     0x38 UPI
UMASK_RXL_CREDITS_CONSUMED_VNA                     0x00

EVENT_RXL_CREDITS_CONSUMED_VN0          0x39 UPI
UMASK_RXL_CREDITS_CONSUMED_VN0          0x00

EVENT_RXL_CREDITS_CONSUMED_VN1          0x3A UPI
UMASK_RXL_CREDITS_CONSUMED_VN1          0x00

EVENT_TXL_INSERTS                       0x40 UPI
UMASK_TXL_INSERTS                       0x00

EVENT_TXL_BYPASSED                      0x41 UPI
UMASK_TXL_BYPASSED                      0x00

EVENT_TXL_OCCUPANCY                     0x42 UPI
UMASK_TXL_OCCUPANCY                     0x00

EVENT_VNA_CREDIT_RETURN_OCCUPANCY       0x44 UPI
UMASK_VNA_CREDIT_RETURN_OCCUPANCY       0x00

EVENT_VNA_CREDIT_RETURN_BLOCKED_VN01    0x45 UPI
UMASK_VNA_CREDIT_RETURN_BLOCKED_VN01    0x00

EVENT_REQ_SLOT2_FROM_M3                 0x46 UPI
UMASK_REQ_SLOT2_FROM_M3_VNA             0x01
UMASK_REQ_SLOT2_FROM_M3_VN0             0x02
UMASK_REQ_SLOT2_FROM_M3_VN1             0x04
UMASK_REQ_SLOT2_FROM_M3_ACK             0x08

EVENT_TXL_ANY_FLITS                                0x4A UPI
UMASK_TXL_ANY_FLITS_SLOT0                          0x01
UMASK_TXL_ANY_FLITS_SLOT1                          0x02
UMASK_TXL_ANY_FLITS_SLOT2                          0x04
UMASK_TXL_ANY_FLITS_DATA                           0x08
UMASK_TXL_ANY_FLITS_LLCRD                          0x10
UMASK_TXL_ANY_FLITS_NULL                           0x20
UMASK_TXL_ANY_FLITS_LLCTRL                         0x40
UMASK_TXL_ANY_FLITS_PROTHDR                        0x80

EVENT_RXL_ANY_FLITS                                0x4B UPI
UMASK_RXL_ANY_FLITS_SLOT0                          0x01
UMASK_RXL_ANY_FLITS_SLOT1                          0x02
UMASK_RXL_ANY_FLITS_SLOT2                          0x04
UMASK_RXL_ANY_FLITS_DATA                           0x08
UMASK_RXL_ANY_FLITS_LLCRD                          0x10
UMASK_RXL_ANY_FLITS_NULL                           0x20
UMASK_RXL_ANY_FLITS_LLCTRL                         0x40
UMASK_RXL_ANY_FLITS_PROTHDR                        0x80

#######################################################
#                RBOX == M3UPI                        #
#######################################################

EVENT_RBOX_CLOCKTICKS                   0x01 RBOX
UMASK_RBOX_CLOCKTICKS                   0x00

EVENT_UPI_PEER_BL_CREDITS_EMPTY             0x21 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_UPI_PEER_BL_CREDITS_EMPTY_VNA         0x01
UMASK_UPI_PEER_BL_CREDITS_EMPTY_VN0_RSP     0x02
UMASK_UPI_PEER_BL_CREDITS_EMPTY_VN0_NCS_NCB 0x04
UMASK_UPI_PEER_BL_CREDITS_EMPTY_VN0_WB      0x08
UMASK_UPI_PEER_BL_CREDITS_EMPTY_VN1_RSP     0x10
UMASK_UPI_PEER_BL_CREDITS_EMPTY_VN1_NCS_NCB 0x20
UMASK_UPI_PEER_BL_CREDITS_EMPTY_VN1_WB      0x40


EVENT_UPI_PREFETCH_SPAWN                0x29 RBOX
UMASK_UPI_PREFETCH_SPAWN                0x00

EVENT_D2U_SENT                          0x2A RBOX
UMASK_D2U_SENT                          0x00

EVENT_D2C_SENT                          0x2B RBOX
UMASK_D2C_SENT                          0x00

EVENT_CMS_CLOCKTICKS                               0xC0 RBOX
UMASK_CMS_CLOCKTICKS                               0x00

EVENT_TXC_AK_FLQ_INSERTS                           0x2F RBOX
UMASK_TXC_AK_FLQ_INSERTS                           0x00

EVENT_TXC_AD_FLQ_BYPASS                            0x2C RBOX
UMASK_TXC_AD_FLQ_BYPASS                            0x00

EVENT_EGRESS_ORDERING                              0xBA RBOX
UMASK_EGRESS_ORDERING_IV_SNOOPGO_UP                0x01
UMASK_EGRESS_ORDERING_IV_SNOOPGO_DN                0x04

EVENT_CHA_AD_CREDITS_EMPTY                         0x22 RBOX
UMASK_CHA_AD_CREDITS_EMPTY_VNA                     0x01
UMASK_CHA_AD_CREDITS_EMPTY_WB                      0x02
UMASK_CHA_AD_CREDITS_EMPTY_REQ                     0x04
UMASK_CHA_AD_CREDITS_EMPTY_SNP                     0x08

EVENT_M2_BL_CREDITS_EMPTY                          0x23 RBOX
UMASK_M2_BL_CREDITS_EMPTY_IIO2_NCB                 0x02
UMASK_M2_BL_CREDITS_EMPTY_IIO3_NCB                 0x04
UMASK_M2_BL_CREDITS_EMPTY_IIO4_NCB                 0x08
UMASK_M2_BL_CREDITS_EMPTY_IIO5_NCB                 0x10
UMASK_M2_BL_CREDITS_EMPTY_NCS                      0x40
UMASK_M2_BL_CREDITS_EMPTY_NCS_SEL                  0x80

EVENT_MULTI_SLOT_RCVD                              0x3E RBOX
UMASK_MULTI_SLOT_RCVD_AD_SLOT0                     0x01
UMASK_MULTI_SLOT_RCVD_AD_SLOT1                     0x02
UMASK_MULTI_SLOT_RCVD_AD_SLOT2                     0x04
UMASK_MULTI_SLOT_RCVD_BL_SLOT0                     0x08
UMASK_MULTI_SLOT_RCVD_AK_SLOT0                     0x10
UMASK_MULTI_SLOT_RCVD_AK_SLOT2                     0x20

EVENT_RXC_BYPASSED                                 0x40 RBOX
UMASK_RXC_BYPASSED_AD_S0_IDLE                      0x01
UMASK_RXC_BYPASSED_AD_S0_BL_ARB                    0x02
UMASK_RXC_BYPASSED_AD_S1_BL_SLOT                   0x04
UMASK_RXC_BYPASSED_AD_S2_BL_SLOT                   0x08

EVENT_RXC_CYCLES_NE_VN0                            0x43 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_CYCLES_NE_VN0_AD_REQ                     0x01
UMASK_RXC_CYCLES_NE_VN0_AD_SNP                     0x02
UMASK_RXC_CYCLES_NE_VN0_AD_RSP                     0x04
UMASK_RXC_CYCLES_NE_VN0_BL_RSP                     0x08
UMASK_RXC_CYCLES_NE_VN0_BL_WB                      0x10
UMASK_RXC_CYCLES_NE_VN0_BL_NCB                     0x20
UMASK_RXC_CYCLES_NE_VN0_BL_NCS                     0x40

EVENT_RXC_ARB_NOCRD_VN0                            0x47 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_ARB_NOCRD_VN0_AD_REQ                     0x01
UMASK_RXC_ARB_NOCRD_VN0_AD_SNP                     0x02
UMASK_RXC_ARB_NOCRD_VN0_AD_RSP                     0x04
UMASK_RXC_ARB_NOCRD_VN0_BL_RSP                     0x08
UMASK_RXC_ARB_NOCRD_VN0_BL_WB                      0x10
UMASK_RXC_ARB_NOCRD_VN0_BL_NCB                     0x20
UMASK_RXC_ARB_NOCRD_VN0_BL_NCS                     0x40

EVENT_RXC_ARB_NOCRD_VN1                            0x48 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_ARB_NOCRD_VN1_AD_REQ                     0x01
UMASK_RXC_ARB_NOCRD_VN1_AD_SNP                     0x02
UMASK_RXC_ARB_NOCRD_VN1_AD_RSP                     0x04
UMASK_RXC_ARB_NOCRD_VN1_BL_RSP                     0x08
UMASK_RXC_ARB_NOCRD_VN1_BL_WB                      0x10
UMASK_RXC_ARB_NOCRD_VN1_BL_NCB                     0x20
UMASK_RXC_ARB_NOCRD_VN1_BL_NCS                     0x40

EVENT_RXC_ARB_NOREQ_VN0                            0x49 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_ARB_NOREQ_VN0_AD_REQ                     0x01
UMASK_RXC_ARB_NOREQ_VN0_AD_SNP                     0x02
UMASK_RXC_ARB_NOREQ_VN0_AD_RSP                     0x04
UMASK_RXC_ARB_NOREQ_VN0_BL_RSP                     0x08
UMASK_RXC_ARB_NOREQ_VN0_BL_WB                      0x10
UMASK_RXC_ARB_NOREQ_VN0_BL_NCB                     0x20
UMASK_RXC_ARB_NOREQ_VN0_BL_NCS                     0x40

EVENT_RXC_ARB_NOREQ_VN1                            0x4A RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_ARB_NOREQ_VN1_AD_REQ                     0x01
UMASK_RXC_ARB_NOREQ_VN1_AD_SNP                     0x02
UMASK_RXC_ARB_NOREQ_VN1_AD_RSP                     0x04
UMASK_RXC_ARB_NOREQ_VN1_BL_RSP                     0x08
UMASK_RXC_ARB_NOREQ_VN1_BL_WB                      0x10
UMASK_RXC_ARB_NOREQ_VN1_BL_NCB                     0x20
UMASK_RXC_ARB_NOREQ_VN1_BL_NCS                     0x40

EVENT_RXC_HELD                                     0x50 RBOX
UMASK_RXC_HELD_VN0                                 0x01
UMASK_RXC_HELD_VN1                                 0x02
UMASK_RXC_HELD_PARALLEL_ATTEMPT                    0x04
UMASK_RXC_HELD_PARALLEL_SUCCESS                    0x08
UMASK_RXC_HELD_CANT_SLOT_AD                        0x10
UMASK_RXC_HELD_CANT_SLOT_BL                        0x20

EVENT_RXC_ARB_LOST_VN0                             0x4B RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_ARB_LOST_VN0_AD_REQ                      0x01
UMASK_RXC_ARB_LOST_VN0_AD_SNP                      0x02
UMASK_RXC_ARB_LOST_VN0_AD_RSP                      0x04
UMASK_RXC_ARB_LOST_VN0_BL_RSP                      0x08
UMASK_RXC_ARB_LOST_VN0_BL_WB                       0x10
UMASK_RXC_ARB_LOST_VN0_BL_NCB                      0x20
UMASK_RXC_ARB_LOST_VN0_BL_NCS                      0x40

EVENT_RXC_ARB_LOST_VN1                             0x4C RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_ARB_LOST_VN1_AD_REQ                      0x01
UMASK_RXC_ARB_LOST_VN1_AD_SNP                      0x02
UMASK_RXC_ARB_LOST_VN1_AD_RSP                      0x04
UMASK_RXC_ARB_LOST_VN1_BL_RSP                      0x08
UMASK_RXC_ARB_LOST_VN1_BL_WB                       0x10
UMASK_RXC_ARB_LOST_VN1_BL_NCB                      0x20
UMASK_RXC_ARB_LOST_VN1_BL_NCS                      0x40

EVENT_RXC_ARB_MISC                                 0x4D RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_ARB_MISC_NO_PROG_AD_VN0                  0x01
UMASK_RXC_ARB_MISC_NO_PROG_AD_VN1                  0x02
UMASK_RXC_ARB_MISC_NO_PROG_BL_VN0                  0x04
UMASK_RXC_ARB_MISC_NO_PROG_BL_VN1                  0x08
UMASK_RXC_ARB_MISC_ADBL_PARALLEL_WIN_VN0           0x10
UMASK_RXC_ARB_MISC_ADBL_PARALLEL_WIN_VN1           0x20
UMASK_RXC_ARB_MISC_VN01_PARALLEL_WIN               0x40
UMASK_RXC_ARB_MISC_ALL_PARALLEL_WIN                0x80

EVENT_RXC_PACKING_MISS_VN0                         0x4E RBOX
UMASK_RXC_PACKING_MISS_VN0_AD_REQ                  0x01
UMASK_RXC_PACKING_MISS_VN0_AD_SNP                  0x02
UMASK_RXC_PACKING_MISS_VN0_AD_RSP                  0x04
UMASK_RXC_PACKING_MISS_VN0_BL_RSP                  0x08
UMASK_RXC_PACKING_MISS_VN0_BL_WB                   0x10
UMASK_RXC_PACKING_MISS_VN0_BL_NCB                  0x20
UMASK_RXC_PACKING_MISS_VN0_BL_NCS                  0x40

EVENT_RXC_PACKING_MISS_VN1                         0x4F RBOX
UMASK_RXC_PACKING_MISS_VN1_AD_REQ                  0x01
UMASK_RXC_PACKING_MISS_VN1_AD_SNP                  0x02
UMASK_RXC_PACKING_MISS_VN1_AD_RSP                  0x04
UMASK_RXC_PACKING_MISS_VN1_BL_RSP                  0x08
UMASK_RXC_PACKING_MISS_VN1_BL_WB                   0x10
UMASK_RXC_PACKING_MISS_VN1_BL_NCB                  0x20
UMASK_RXC_PACKING_MISS_VN1_BL_NCS                  0x40

EVENT_RXC_FLIT_GEN_HDR1                            0x51 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_FLIT_GEN_HDR1_ACCUM                      0x01
UMASK_RXC_FLIT_GEN_HDR1_ACCUM_READ                 0x02
UMASK_RXC_FLIT_GEN_HDR1_ACCUM_WASTED               0x04
UMASK_RXC_FLIT_GEN_HDR1_AHEAD_BLOCKED              0x08
UMASK_RXC_FLIT_GEN_HDR1_AHEAD_MSG1_DURING          0x10
UMASK_RXC_FLIT_GEN_HDR1_AHEAD_MSG2_AFTER           0x20
UMASK_RXC_FLIT_GEN_HDR1_AHEAD_MSG2_SENT            0x40
UMASK_RXC_FLIT_GEN_HDR1_AHEAD_MSG1_AFTER           0x80

EVENT_RXC_FLIT_GEN_HDR2                            0x52 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_FLIT_GEN_HDR2_RMSTALL                    0x01
UMASK_RXC_FLIT_GEN_HDR2_RMSTALL_NOMSG              0x02
UMASK_RXC_FLIT_GEN_HDR2_PAR                        0x04
UMASK_RXC_FLIT_GEN_HDR2_PAR_MSG                    0x08
UMASK_RXC_FLIT_GEN_HDR2_PAR_FLIT                   0x10

EVENT_RXC_HDR_FLIT_NOT_SENT                        0x53 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_HDR_FLIT_NOT_SENT_ALL                    0x01
UMASK_RXC_HDR_FLIT_NOT_SENT_TSV_HI                 0x02
UMASK_RXC_HDR_FLIT_NOT_SENT_VALID_FOR_FLIT         0x04
UMASK_RXC_HDR_FLIT_NOT_SENT_NO_BGF_CRD             0x08
UMASK_RXC_HDR_FLIT_NOT_SENT_NO_TXQ_CRD             0x10
UMASK_RXC_HDR_FLIT_NOT_SENT_NO_BGF_NO_MSG          0x20
UMASK_RXC_HDR_FLIT_NOT_SENT_NO_TXQ_NO_MSG          0x40

EVENT_RXC_HDR_FLITS_SENT                           0x54 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_HDR_FLITS_SENT_1_MSG                     0x01
UMASK_RXC_HDR_FLITS_SENT_2_MSGS                    0x02
UMASK_RXC_HDR_FLITS_SENT_3_MSGS                    0x04
UMASK_RXC_HDR_FLITS_SENT_1_MSG_VNX                 0x08
UMASK_RXC_HDR_FLITS_SENT_SLOTS_1                   0x10
UMASK_RXC_HDR_FLITS_SENT_SLOTS_2                   0x20
UMASK_RXC_HDR_FLITS_SENT_SLOTS_3                   0x40

EVENT_RXC_DATA_FLITS_NOT_SENT                      0x55 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_DATA_FLITS_NOT_SENT_ALL                  0x01
UMASK_RXC_DATA_FLITS_NOT_SENT_TSV_HI               0x02
UMASK_RXC_DATA_FLITS_NOT_SENT_VALID_FOR_FLIT       0x04
UMASK_RXC_DATA_FLITS_NOT_SENT_NO_BGF               0x08
UMASK_RXC_DATA_FLITS_NOT_SENT_NO_TXQ               0x10

EVENT_RXC_FLITS_SLOT_BL                            0x56 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_FLITS_SLOT_BL_ALL                        0x01
UMASK_RXC_FLITS_SLOT_BL_NEED_DATA                  0x02
UMASK_RXC_FLITS_SLOT_BL_P0_WAIT                    0x04
UMASK_RXC_FLITS_SLOT_BL_P1_WAIT                    0x08
UMASK_RXC_FLITS_SLOT_BL_P1_NOT_REQ                 0x10
UMASK_RXC_FLITS_SLOT_BL_P1_NOT_REQ_BUT_BUBBLE      0x20
UMASK_RXC_FLITS_SLOT_BL_P1_NOT_REQ_NOT_AVAIL       0x40

EVENT_RXC_FLITS_GEN_BL                             0x57 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_FLITS_GEN_BL_P0_WAIT                     0x01
UMASK_RXC_FLITS_GEN_BL_P1_WAIT                     0x02
UMASK_RXC_FLITS_GEN_BL_P1P_TO_LIMBO                0x04
UMASK_RXC_FLITS_GEN_BL_P1P_BUSY                    0x08
UMASK_RXC_FLITS_GEN_BL_P1P_AT_LIMIT                0x10
UMASK_RXC_FLITS_GEN_BL_P1P_HOLD_P0                 0x20
UMASK_RXC_FLITS_GEN_BL_P1P_FIFO_FULL               0x40

EVENT_RXC_FLITS_MISC                               0x58 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_FLITS_MISC_S2REQ_RECEIVED                0x01
UMASK_RXC_FLITS_MISC_S2REQ_WITHDRAWN               0x02
UMASK_RXC_FLITS_MISC_S2REQ_IN_HOLDOFF              0x04
UMASK_RXC_FLITS_MISC_S2REQ_IN_SERVICE              0x08

EVENT_RXC_VNA_CRD                                  0x5A RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_VNA_CRD_CORRECTED                        0x01
UMASK_RXC_VNA_CRD_LT1                              0x02
UMASK_RXC_VNA_CRD_LT4                              0x04
UMASK_RXC_VNA_CRD_LT5                              0x08
UMASK_RXC_VNA_CRD_LT10                             0x10
UMASK_RXC_VNA_CRD_ANY_IN_USE                       0x20

EVENT_VN0_CREDITS_USED                             0x5B RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_VN0_CREDITS_USED_REQ                         0x01
UMASK_VN0_CREDITS_USED_SNP                         0x02
UMASK_VN0_CREDITS_USED_RSP                         0x04
UMASK_VN0_CREDITS_USED_WB                          0x08
UMASK_VN0_CREDITS_USED_NCB                         0x10
UMASK_VN0_CREDITS_USED_NCS                         0x20

EVENT_VN0_NO_CREDITS                               0x5D RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_VN0_NO_CREDITS_REQ                           0x01
UMASK_VN0_NO_CREDITS_SNP                           0x02
UMASK_VN0_NO_CREDITS_RSP                           0x04
UMASK_VN0_NO_CREDITS_WB                            0x08
UMASK_VN0_NO_CREDITS_NCB                           0x10
UMASK_VN0_NO_CREDITS_NCS                           0x20

EVENT_VN1_CREDITS_USED                             0x5C RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_VN1_CREDITS_USED_REQ                         0x01
UMASK_VN1_CREDITS_USED_SNP                         0x02
UMASK_VN1_CREDITS_USED_RSP                         0x04
UMASK_VN1_CREDITS_USED_WB                          0x08
UMASK_VN1_CREDITS_USED_NCB                         0x10
UMASK_VN1_CREDITS_USED_NCS                         0x20

EVENT_VN1_NO_CREDITS                               0x5E RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_VN1_NO_CREDITS_REQ                           0x01
UMASK_VN1_NO_CREDITS_SNP                           0x02
UMASK_VN1_NO_CREDITS_RSP                           0x04
UMASK_VN1_NO_CREDITS_WB                            0x08
UMASK_VN1_NO_CREDITS_NCB                           0x10
UMASK_VN1_NO_CREDITS_NCS                           0x20

EVENT_RXC_VNA_CRD_MISC                             0x59 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_VNA_CRD_MISC_REQ_VN01_ALLOC_LT10         0x01
UMASK_RXC_VNA_CRD_MISC_REQ_ADBL_ALLOC_L5           0x02
UMASK_RXC_VNA_CRD_MISC_VN0_ONLY                    0x04
UMASK_RXC_VNA_CRD_MISC_VN1_ONLY                    0x08
UMASK_RXC_VNA_CRD_MISC_VN0_JUST_AD                 0x10
UMASK_RXC_VNA_CRD_MISC_VN0_JUST_BL                 0x20
UMASK_RXC_VNA_CRD_MISC_VN1_JUST_AD                 0x40
UMASK_RXC_VNA_CRD_MISC_VN1_JUST_BL                 0x80

EVENT_RXC_CRD_MISC                                 0x5F RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_CRD_MISC_ANY_BGF_FIFO                    0x01
UMASK_RXC_CRD_MISC_ANY_BGF_PATH                    0x02
UMASK_RXC_CRD_MISC_VN0_NO_D2K_FOR_ARB              0x04
UMASK_RXC_CRD_MISC_VN1_NO_D2K_FOR_ARB              0x08
UMASK_RXC_CRD_MISC_LT1_FOR_D2K                     0x10
UMASK_RXC_CRD_MISC_LT2_FOR_D2K                     0x20

EVENT_RXC_CRD_OCC                                  0x60 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_RXC_CRD_OCC_VNA_IN_USE                       0x01
UMASK_RXC_CRD_OCC_FLITS_IN_FIFO                    0x02
UMASK_RXC_CRD_OCC_FLITS_IN_PATH                    0x04
UMASK_RXC_CRD_OCC_TxQ_CRD                          0x08
UMASK_RXC_CRD_OCC_D2K_CRD                          0x10
UMASK_RXC_CRD_OCC_P1P_TOTAL                        0x20
UMASK_RXC_CRD_OCC_P1P_FIFO                         0x40
UMASK_RXC_CRD_OCC_CONSUMED                         0x80

EVENT_TXC_AD_FLQ_BYPASS                            0x2C RBOX
UMASK_TXC_AD_FLQ_BYPASS_AD_SLOT0                   0x01
UMASK_TXC_AD_FLQ_BYPASS_AD_SLOT1                   0x02
UMASK_TXC_AD_FLQ_BYPASS_AD_SLOT2                   0x04
UMASK_TXC_AD_FLQ_BYPASS_BL_EARLY_RSP               0x08

EVENT_TXC_AD_FLQ_CYCLES_NE                         0x27 RBOX
UMASK_TXC_AD_FLQ_CYCLES_NE_VN0_REQ                 0x01
UMASK_TXC_AD_FLQ_CYCLES_NE_VN0_SNP                 0x02
UMASK_TXC_AD_FLQ_CYCLES_NE_VN0_RSP                 0x04
UMASK_TXC_AD_FLQ_CYCLES_NE_VN0_WB                  0x08
UMASK_TXC_AD_FLQ_CYCLES_NE_VN1_REQ                 0x10
UMASK_TXC_AD_FLQ_CYCLES_NE_VN1_SNP                 0x20
UMASK_TXC_AD_FLQ_CYCLES_NE_VN1_RSP                 0x40
UMASK_TXC_AD_FLQ_CYCLES_NE_VN1_WB                  0x80

EVENT_TXC_AD_FLQ_INSERTS                           0x2D RBOX
UMASK_TXC_AD_FLQ_INSERTS_VN0_REQ                   0x01
UMASK_TXC_AD_FLQ_INSERTS_VN0_SNP                   0x02
UMASK_TXC_AD_FLQ_INSERTS_VN0_RSP                   0x04
UMASK_TXC_AD_FLQ_INSERTS_VN0_WB                    0x08
UMASK_TXC_AD_FLQ_INSERTS_VN1_REQ                   0x10
UMASK_TXC_AD_FLQ_INSERTS_VN1_SNP                   0x20
UMASK_TXC_AD_FLQ_INSERTS_VN1_RSP                   0x40

EVENT_TXC_BL_FLQ_CYCLES_NE                         0x28 RBOX
UMASK_TXC_BL_FLQ_CYCLES_NE_VN0_REQ                 0x01
UMASK_TXC_BL_FLQ_CYCLES_NE_VN0_SNP                 0x02
UMASK_TXC_BL_FLQ_CYCLES_NE_VN0_RSP                 0x04
UMASK_TXC_BL_FLQ_CYCLES_NE_VN0_WB                  0x08
UMASK_TXC_BL_FLQ_CYCLES_NE_VN1_REQ                 0x10
UMASK_TXC_BL_FLQ_CYCLES_NE_VN1_SNP                 0x20
UMASK_TXC_BL_FLQ_CYCLES_NE_VN1_RSP                 0x40
UMASK_TXC_BL_FLQ_CYCLES_NE_VN1_WB                  0x80

EVENT_TXC_BL_FLQ_INSERTS                           0x2E RBOX
UMASK_TXC_BL_FLQ_INSERTS_VN0_NCB                   0x01
UMASK_TXC_BL_FLQ_INSERTS_VN0_NCS                   0x02
UMASK_TXC_BL_FLQ_INSERTS_VN0_WB                    0x04
UMASK_TXC_BL_FLQ_INSERTS_VN0_RSP                   0x08
UMASK_TXC_BL_FLQ_INSERTS_VN1_NCB                   0x10
UMASK_TXC_BL_FLQ_INSERTS_VN1_NCS                   0x20
UMASK_TXC_BL_FLQ_INSERTS_VN1_WB                    0x40
UMASK_TXC_BL_FLQ_INSERTS_VN1_RSP                   0x80

EVENT_UPI_PEER_AD_CREDITS_EMPTY                    0x20 RBOX
UMASK_UPI_PEER_AD_CREDITS_EMPTY_VNA                0x01
UMASK_UPI_PEER_AD_CREDITS_EMPTY_VN0_REQ            0x02
UMASK_UPI_PEER_AD_CREDITS_EMPTY_VN0_SNP            0x04
UMASK_UPI_PEER_AD_CREDITS_EMPTY_VN0_RSP            0x08
UMASK_UPI_PEER_AD_CREDITS_EMPTY_VN1_REQ            0x10
UMASK_UPI_PEER_AD_CREDITS_EMPTY_VN1_SNP            0x20
UMASK_UPI_PEER_AD_CREDITS_EMPTY_VN1_RSP            0x40

EVENT_M2_BL_CREDITS_EMPTY                          0x23 RBOX
UMASK_M2_BL_CREDITS_EMPTY_IIO1_NCB                 0x01
UMASK_M2_BL_CREDITS_EMPTY_UBOX_NCB                 0x20

EVENT_TXC_AD_ARB_FAIL                              0x30 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_TXC_AD_ARB_FAIL_VN0_REQ                      0x01
UMASK_TXC_AD_ARB_FAIL_VN0_SNP                      0x02
UMASK_TXC_AD_ARB_FAIL_VN0_RSP                      0x04
UMASK_TXC_AD_ARB_FAIL_VN0_WB                       0x08
UMASK_TXC_AD_ARB_FAIL_VN1_REQ                      0x10
UMASK_TXC_AD_ARB_FAIL_VN1_SNP                      0x20
UMASK_TXC_AD_ARB_FAIL_VN1_RSP                      0x40
UMASK_TXC_AD_ARB_FAIL_VN1_WB                       0x80

EVENT_TXC_BL_ARB_FAIL                              0x35 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_TXC_BL_ARB_FAIL_VN0_RSP                      0x01
UMASK_TXC_BL_ARB_FAIL_VN0_WB                       0x02
UMASK_TXC_BL_ARB_FAIL_VN0_NCB                      0x04
UMASK_TXC_BL_ARB_FAIL_VN0_NCS                      0x08
UMASK_TXC_BL_ARB_FAIL_VN1_RSP                      0x10
UMASK_TXC_BL_ARB_FAIL_VN1_WB                       0x20
UMASK_TXC_BL_ARB_FAIL_VN1_NCB                      0x40
UMASK_TXC_BL_ARB_FAIL_VN1_NCS                      0x80

EVENT_TXC_AD_FLQ_OCCUPANCY                         0x1C RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_TXC_AD_FLQ_OCCUPANCY_VN0_REQ                 0x01
UMASK_TXC_AD_FLQ_OCCUPANCY_VN0_SNP                 0x02
UMASK_TXC_AD_FLQ_OCCUPANCY_VN0_RSP                 0x04
UMASK_TXC_AD_FLQ_OCCUPANCY_VN0_WB                  0x08
UMASK_TXC_AD_FLQ_OCCUPANCY_VN1_REQ                 0x10
UMASK_TXC_AD_FLQ_OCCUPANCY_VN1_SNP                 0x20
UMASK_TXC_AD_FLQ_OCCUPANCY_VN1_RSP                 0x40
UMASK_TXC_AD_FLQ_OCCUPANCY_VN1_WB                  0x80

EVENT_TXC_BL_FLQ_OCCUPANCY                         0x1D RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_TXC_BL_FLQ_OCCUPANCY_VN0_RSP                 0x01
UMASK_TXC_BL_FLQ_OCCUPANCY_VN0_WB                  0x02
UMASK_TXC_BL_FLQ_OCCUPANCY_VN0_NCB                 0x04
UMASK_TXC_BL_FLQ_OCCUPANCY_VN0_NCS                 0x08
UMASK_TXC_BL_FLQ_OCCUPANCY_VN1_RSP                 0x10
UMASK_TXC_BL_FLQ_OCCUPANCY_VN1_WB                  0x20
UMASK_TXC_BL_FLQ_OCCUPANCY_VN1_NCB                 0x40
UMASK_TXC_BL_FLQ_OCCUPANCY_VN1_NCS                 0x80

EVENT_TXC_BL_WB_FLQ_OCCUPANCY                      0x1F RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_TXC_BL_WB_FLQ_OCCUPANCY_VN0_LOCAL            0x01
UMASK_TXC_BL_WB_FLQ_OCCUPANCY_VN0_THROUGH          0x02
UMASK_TXC_BL_WB_FLQ_OCCUPANCY_VN0_WRPULL           0x04
UMASK_TXC_BL_WB_FLQ_OCCUPANCY_VN1_LOCAL            0x10
UMASK_TXC_BL_WB_FLQ_OCCUPANCY_VN1_THROUGH          0x20
UMASK_TXC_BL_WB_FLQ_OCCUPANCY_VN1_WRPULL           0x40

EVENT_TXC_AK_FLQ_OCCUPANCY                         0x1E RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_TXC_AK_FLQ_OCCUPANCY                         0x00

EVENT_WB_OCC_COMPARE                               0x7E RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_WB_OCC_COMPARE_RT_GT_LOCALDEST_VN0           0x01
UMASK_WB_OCC_COMPARE_RT_EQ_LOCALDEST_VN0           0x02
UMASK_WB_OCC_COMPARE_RT_LT_LOCALDEST_VN0           0x04
UMASK_WB_OCC_COMPARE_RT_GT_LOCALDEST_VN1           0x10
UMASK_WB_OCC_COMPARE_RT_EQ_LOCALDEST_VN1           0x20
UMASK_WB_OCC_COMPARE_RT_LT_LOCALDEST_VN1           0x40
UMASK_WB_OCC_COMPARE_BOTHNONZERO_RT_GT_LOCALDEST_VN0    0x81
UMASK_WB_OCC_COMPARE_BOTHNONZERO_RT_LT_LOCALDEST_VN0    0x84
UMASK_WB_OCC_COMPARE_BOTHNONZERO_RT_GT_LOCALDEST_VN1    0x90
UMASK_WB_OCC_COMPARE_BOTHNONZERO_RT_EQ_LOCALDEST_VN1    0xA0
UMASK_WB_OCC_COMPARE_BOTHNONZERO_RT_LT_LOCALDEST_VN1    0xC0

EVENT_WB_PENDING                                   0x7D RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_WB_PENDING_LOCALDEST_VN0                     0x01
UMASK_WB_PENDING_ROUTETHRU_VN0                     0x02
UMASK_WB_PENDING_LOCAL_AND_RT_VN0                  0x04
UMASK_WB_PENDING_WAITING4PULL_VN0                  0x08
UMASK_WB_PENDING_LOCALDEST_VN1                     0x10
UMASK_WB_PENDING_ROUTETHRU_VN1                     0x20
UMASK_WB_PENDING_LOCAL_AND_RT_VN1                  0x40
UMASK_WB_PENDING_WAITING4PULL_VN1                  0x80

EVENT_XPT_PFTCH                                    0x61 RBOX0C0|RBOX1C0|RBOX2C0|RBOX3C0
UMASK_XPT_PFTCH_ARRIVED                            0x01
UMASK_XPT_PFTCH_BYPASS                             0x02
UMASK_XPT_PFTCH_ARB                                0x04
UMASK_XPT_PFTCH_LOST_ARB                           0x08
UMASK_XPT_PFTCH_FLITTED                            0x10
UMASK_XPT_PFTCH_LOST_OLD                           0x20
UMASK_XPT_PFTCH_LOST_QFULL                         0x40

#######################################################
#                   PCU                               #
#######################################################

EVENT_PCU_CLOCKTICKS                    0x01 PCU
UMASK_PCU_CLOCKTICKS                    0x00

EVENT_CORE_TRANSITION_CYCLES                       0x60 PCU
UMASK_CORE_TRANSITION_CYCLES                       0x00

EVENT_DEMOTIONS                                    0x30 PCU
UMASK_DEMOTIONS                                    0x00

EVENT_FIVR_PS_PS0_CYCLES                           0x75 PCU
UMASK_FIVR_PS_PS0_CYCLES                           0x00

EVENT_FIVR_PS_PS1_CYCLES                           0x76 PCU
UMASK_FIVR_PS_PS1_CYCLES                           0x00

EVENT_FIVR_PS_PS2_CYCLES                           0x77 PCU
UMASK_FIVR_PS_PS2_CYCLES                           0x00

EVENT_FIVR_PS_PS3_CYCLES                           0x78 PCU
UMASK_FIVR_PS_PS3_CYCLES                           0x00

EVENT_FREQ_CLIP_AVX256                             0x49 PCU
UMASK_FREQ_CLIP_AVX256                             0x00

EVENT_FREQ_CLIP_AVX512                             0x4A PCU
UMASK_FREQ_CLIP_AVX512                             0x00

EVENT_FREQ_MAX_LIMIT_THERMAL_CYCLES                0x04 PCU
UMASK_FREQ_MAX_LIMIT_THERMAL_CYCLES                0x00

EVENT_FREQ_MAX_POWER_CYCLES                        0x05 PCU
UMASK_FREQ_MAX_POWER_CYCLES                        0x00

EVENT_PMAX_THROTTLED_CYCLES                        0x06 PCU0
UMASK_PMAX_THROTTLED_CYCLES                        0x00

EVENT_FREQ_MIN_IO_P_CYCLES                         0x73 PCU
UMASK_FREQ_MIN_IO_P_CYCLES                         0x00

EVENT_FREQ_TRANS_CYCLES                            0x74 PCU
UMASK_FREQ_TRANS_CYCLES                            0x00

EVENT_MEMORY_PHASE_SHEDDING_CYCLES                 0x2F PCU
UMASK_MEMORY_PHASE_SHEDDING_CYCLES                 0x00

EVENT_PKG_RESIDENCY_C0_CYCLES                      0x2A PCU
UMASK_PKG_RESIDENCY_C0_CYCLES                      0x00

EVENT_PKG_RESIDENCY_C2E_CYCLES                     0x2B PCU
UMASK_PKG_RESIDENCY_C2E_CYCLES                     0x00

EVENT_PKG_RESIDENCY_C6_CYCLES                      0x2D PCU
UMASK_PKG_RESIDENCY_C6_CYCLES                      0x00

EVENT_POWER_STATE_OCCUPANCY_CORES_C0               0x35 PCU
UMASK_POWER_STATE_OCCUPANCY_CORES_C0               0x00

EVENT_POWER_STATE_OCCUPANCY_CORES_C3               0x36 PCU
UMASK_POWER_STATE_OCCUPANCY_CORES_C3               0x00

EVENT_POWER_STATE_OCCUPANCY_CORES_C6               0x37 PCU
UMASK_POWER_STATE_OCCUPANCY_CORES_C6               0x00

EVENT_PROCHOT_EXTERNAL_CYCLES                      0x0A PCU
UMASK_PROCHOT_EXTERNAL_CYCLES                      0x00

EVENT_PROCHOT_INTERNAL_CYCLES                      0x09 PCU
UMASK_PROCHOT_INTERNAL_CYCLES                      0x00

EVENT_TOTAL_TRANSITION_CYCLES                      0x72 PCU
UMASK_TOTAL_TRANSITION_CYCLES                      0x00

EVENT_VR_HOT_CYCLES                                0x42 PCU
UMASK_VR_HOT_CYCLES                                0x00


#######################################################
#                   M2PCIe == PBOX                    #
#######################################################

EVENT_PBOX_CLOCKTICKS                   0x01 PBOX
UMASK_PBOX_CLOCKTICKS                   0x00

EVENT_RXC_CYCLES_NE                                0x10 PBOX
UMASK_RXC_CYCLES_NE_CHA_IDI                        0x01
UMASK_RXC_CYCLES_NE_CHA_NCB                        0x02
UMASK_RXC_CYCLES_NE_CHA_NCS                        0x04
UMASK_RXC_CYCLES_NE_UPI_NCB                        0x08
UMASK_RXC_CYCLES_NE_UPI_NCS                        0x10
UMASK_RXC_CYCLES_NE_IIO_NCB                        0x20
UMASK_RXC_CYCLES_NE_IIO_NCS                        0x40
UMASK_RXC_CYCLES_NE_ALL                            0x80

EVENT_RXC_INSERTS                                  0x11 PBOX
UMASK_RXC_INSERTS_CHA_IDI                          0x01
UMASK_RXC_INSERTS_CHA_NCB                          0x02
UMASK_RXC_INSERTS_CHA_NCS                          0x04
UMASK_RXC_INSERTS_UPI_NCB                          0x08
UMASK_RXC_INSERTS_UPI_NCS                          0x10
UMASK_RXC_INSERTS_IIO_NCB                          0x20
UMASK_RXC_INSERTS_IIO_NCS                          0x40
UMASK_RXC_INSERTS_ALL                              0x80

EVENT_P2P_CRD_OCCUPANCY                            0x14 PBOX
UMASK_P2P_CRD_OCCUPANCY_LOCAL_NCB                  0x01
UMASK_P2P_CRD_OCCUPANCY_LOCAL_NCS                  0x02
UMASK_P2P_CRD_OCCUPANCY_REMOTE_NCB                 0x04
UMASK_P2P_CRD_OCCUPANCY_REMOTE_NCS                 0x08
UMASK_P2P_CRD_OCCUPANCY_ALL                        0x10

EVENT_P2P_SHAR_RECEIVED                            0x15 PBOX
UMASK_P2P_SHAR_RECEIVED_LOCAL_NCB                  0x01
UMASK_P2P_SHAR_RECEIVED_LOCAL_NCS                  0x02
UMASK_P2P_SHAR_RECEIVED_REMOTE_NCB                 0x04
UMASK_P2P_SHAR_RECEIVED_REMOTE_NCS                 0x08
UMASK_P2P_SHAR_RECEIVED_ALL                        0x10

EVENT_P2P_DED_RECEIVED                             0x16 PBOX
UMASK_P2P_DED_RECEIVED_LOCAL_NCB                   0x01
UMASK_P2P_DED_RECEIVED_LOCAL_NCS                   0x02
UMASK_P2P_DED_RECEIVED_REMOTE_NCB                  0x04
UMASK_P2P_DED_RECEIVED_REMOTE_NCS                  0x08
UMASK_P2P_DED_RECEIVED_ALL                         0x10

EVENT_LOCAL_P2P_SHAR_RETURNED                      0x17 PBOX
UMASK_LOCAL_P2P_SHAR_RETURNED_AGENT_0              0x01
UMASK_LOCAL_P2P_SHAR_RETURNED_AGENT_1              0x02
UMASK_LOCAL_P2P_SHAR_RETURNED_AGENT_2              0x04

EVENT_REMOTE_P2P_SHAR_RETURNED                     0x18 PBOX
UMASK_REMOTE_P2P_SHAR_RETURNED_AGENT_0             0x01
UMASK_REMOTE_P2P_SHAR_RETURNED_AGENT_1             0x02
UMASK_REMOTE_P2P_SHAR_RETURNED_AGENT_2             0x04

EVENT_LOCAL_P2P_DED_RETURNED_0                     0x19 PBOX
UMASK_LOCAL_P2P_DED_RETURNED_0_MS2IOSF0_NCB        0x01
UMASK_LOCAL_P2P_DED_RETURNED_0_MS2IOSF0_NCS        0x02
UMASK_LOCAL_P2P_DED_RETURNED_0_MS2IOSF1_NCB        0x04
UMASK_LOCAL_P2P_DED_RETURNED_0_MS2IOSF1_NCS        0x08
UMASK_LOCAL_P2P_DED_RETURNED_0_MS2IOSF2_NCB        0x10
UMASK_LOCAL_P2P_DED_RETURNED_0_MS2IOSF3_NCB        0x40
UMASK_LOCAL_P2P_DED_RETURNED_0_MS2IOSF2_NCS        0x20
UMASK_LOCAL_P2P_DED_RETURNED_0_MS2IOSF3_NCS        0x80

EVENT_LOCAL_P2P_DED_RETURNED_1                     0x1A PBOX
UMASK_LOCAL_P2P_DED_RETURNED_1_MS2IOSF4_NCB        0x01
UMASK_LOCAL_P2P_DED_RETURNED_1_MS2IOSF4_NCS        0x02
UMASK_LOCAL_P2P_DED_RETURNED_1_MS2IOSF5_NCB        0x04
UMASK_LOCAL_P2P_DED_RETURNED_1_MS2IOSF5_NCS        0x08

EVENT_REMOTE_P2P_DED_RETURNED                      0x1B PBOX
UMASK_REMOTE_P2P_DED_RETURNED_UPI0_NCB             0x01
UMASK_REMOTE_P2P_DED_RETURNED_UPI0_NCS             0x02
UMASK_REMOTE_P2P_DED_RETURNED_UPI1_NCB             0x04
UMASK_REMOTE_P2P_DED_RETURNED_UPI1_NCS             0x08
UMASK_REMOTE_P2P_DED_RETURNED_UPI2_NCB             0x10
UMASK_REMOTE_P2P_DED_RETURNED_UPI2_NCS             0x20

EVENT_TXC_CREDITS                                  0x2D PBOX
UMASK_TXC_CREDITS_PRQ                              0x01
UMASK_TXC_CREDITS_PMM                              0x02

EVENT_IIO_CREDITS_USED                             0x32 PBOX
UMASK_IIO_CREDITS_USED_DRS_0                       0x01
UMASK_IIO_CREDITS_USED_DRS_1                       0x02
UMASK_IIO_CREDITS_USED_NCB_0                       0x04
UMASK_IIO_CREDITS_USED_NCB_1                       0x08
UMASK_IIO_CREDITS_USED_NCS_0                       0x10
UMASK_IIO_CREDITS_USED_NCS_1                       0x20

EVENT_IIO_CREDITS_ACQUIRED                         0x33 PBOX
UMASK_IIO_CREDITS_ACQUIRED_DRS_0                   0x01
UMASK_IIO_CREDITS_ACQUIRED_DRS_1                   0x02
UMASK_IIO_CREDITS_ACQUIRED_NCB_0                   0x04
UMASK_IIO_CREDITS_ACQUIRED_NCB_1                   0x08
UMASK_IIO_CREDITS_ACQUIRED_NCS_0                   0x10
UMASK_IIO_CREDITS_ACQUIRED_NCS_1                   0x20

EVENT_IIO_CREDITS_REJECT                           0x34 PBOX
UMASK_IIO_CREDITS_REJECT_DRS                       0x08
UMASK_IIO_CREDITS_REJECT_NCB                       0x10
UMASK_IIO_CREDITS_REJECT_NCS                       0x20

EVENT_LOCAL_SHAR_P2P_CRD_TAKEN_0                   0x40 PBOX
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_0_M2IOSF0_NCB       0x01
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_0_M2IOSF0_NCS       0x02
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_0_M2IOSF1_NCB       0x04
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_0_M2IOSF1_NCS       0x08
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_0_M2IOSF2_NCB       0x10
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_0_M2IOSF2_NCS       0x20
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_0_M2IOSF3_NCB       0x40
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_0_M2IOSF3_NCS       0x80

EVENT_LOCAL_SHAR_P2P_CRD_TAKEN_1                   0x41 PBOX
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_1_M2IOSF4_NCB       0x01
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_1_M2IOSF4_NCS       0x02
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_1_M2IOSF5_NCB       0x04
UMASK_LOCAL_SHAR_P2P_CRD_TAKEN_1_M2IOSF5_NCS       0x08

EVENT_REMOTE_SHAR_P2P_CRD_TAKEN_0                  0x42 PBOX
UMASK_REMOTE_SHAR_P2P_CRD_TAKEN_0_UPI0_DRS         0x01
UMASK_REMOTE_SHAR_P2P_CRD_TAKEN_0_UPI0_NCB         0x02
UMASK_REMOTE_SHAR_P2P_CRD_TAKEN_0_UPI0_NCS         0x04
UMASK_REMOTE_SHAR_P2P_CRD_TAKEN_0_UPI1_DRS         0x08
UMASK_REMOTE_SHAR_P2P_CRD_TAKEN_0_UPI1_NCB         0x10
UMASK_REMOTE_SHAR_P2P_CRD_TAKEN_0_UPI1_NCS         0x20

EVENT_REMOTE_SHAR_P2P_CRD_TAKEN_1                  0x43 PBOX
UMASK_REMOTE_SHAR_P2P_CRD_TAKEN_1_UPI2_DRS         0x01
UMASK_REMOTE_SHAR_P2P_CRD_TAKEN_1_UPI2_NCB         0x02
UMASK_REMOTE_SHAR_P2P_CRD_TAKEN_1_UPI2_NCS         0x04

EVENT_LOCAL_SHAR_P2P_CRD_RETURNED                  0x44 PBOX
UMASK_LOCAL_SHAR_P2P_CRD_RETURNED_AGENT_0          0x01
UMASK_LOCAL_SHAR_P2P_CRD_RETURNED_AGENT_1          0x02
UMASK_LOCAL_SHAR_P2P_CRD_RETURNED_AGENT_2          0x04
UMASK_LOCAL_SHAR_P2P_CRD_RETURNED_AGENT_3          0x08
UMASK_LOCAL_SHAR_P2P_CRD_RETURNED_AGENT_4          0x10
UMASK_LOCAL_SHAR_P2P_CRD_RETURNED_AGENT_5          0x20

EVENT_REMOTE_SHAR_P2P_CRD_RETURNED                 0x45 PBOX
UMASK_REMOTE_SHAR_P2P_CRD_RETURNED_AGENT_0         0x01
UMASK_REMOTE_SHAR_P2P_CRD_RETURNED_AGENT_1         0x02
UMASK_REMOTE_SHAR_P2P_CRD_RETURNED_AGENT_2         0x04

EVENT_LOCAL_DED_P2P_CRD_TAKEN_0                    0x46 PBOX
UMASK_LOCAL_DED_P2P_CRD_TAKEN_0_M2IOSF0_NCB        0x01
UMASK_LOCAL_DED_P2P_CRD_TAKEN_0_M2IOSF0_NCS        0x02
UMASK_LOCAL_DED_P2P_CRD_TAKEN_0_M2IOSF1_NCB        0x04
UMASK_LOCAL_DED_P2P_CRD_TAKEN_0_M2IOSF1_NCS        0x08
UMASK_LOCAL_DED_P2P_CRD_TAKEN_0_M2IOSF2_NCB        0x10
UMASK_LOCAL_DED_P2P_CRD_TAKEN_0_M2IOSF2_NCS        0x20
UMASK_LOCAL_DED_P2P_CRD_TAKEN_0_M2IOSF3_NCB        0x40
UMASK_LOCAL_DED_P2P_CRD_TAKEN_0_M2IOSF3_NCS        0x80

EVENT_LOCAL_DED_P2P_CRD_TAKEN_1                    0x47 PBOX
UMASK_LOCAL_DED_P2P_CRD_TAKEN_1_M2IOSF4_NCB        0x01
UMASK_LOCAL_DED_P2P_CRD_TAKEN_1_M2IOSF4_NCS        0x02
UMASK_LOCAL_DED_P2P_CRD_TAKEN_1_M2IOSF5_NCB        0x04
UMASK_LOCAL_DED_P2P_CRD_TAKEN_1_M2IOSF5_NCS        0x08

EVENT_REMOTE_DED_P2P_CRD_TAKEN_0                   0x48 PBOX
UMASK_REMOTE_DED_P2P_CRD_TAKEN_0_UPI0_DRS          0x01
UMASK_REMOTE_DED_P2P_CRD_TAKEN_0_UPI0_NCB          0x02
UMASK_REMOTE_DED_P2P_CRD_TAKEN_0_UPI0_NCS          0x04
UMASK_REMOTE_DED_P2P_CRD_TAKEN_0_UPI1_DRS          0x08
UMASK_REMOTE_DED_P2P_CRD_TAKEN_0_UPI1_NCB          0x10
UMASK_REMOTE_DED_P2P_CRD_TAKEN_0_UPI1_NCS          0x20

EVENT_REMOTE_DED_P2P_CRD_TAKEN_1                   0x49 PBOX
UMASK_REMOTE_DED_P2P_CRD_TAKEN_1_UPI2_DRS          0x01
UMASK_REMOTE_DED_P2P_CRD_TAKEN_1_UPI2_NCB          0x02
UMASK_REMOTE_DED_P2P_CRD_TAKEN_1_UPI2_NCS          0x04

EVENT_LOCAL_SHAR_P2P_CRD_WAIT_0                    0x4A PBOX
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_0_M2IOSF0_NCB        0x01
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_0_M2IOSF0_NCS        0x02
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_0_M2IOSF1_NCB        0x04
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_0_M2IOSF1_NCS        0x08
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_0_M2IOSF2_NCB        0x10
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_0_M2IOSF2_NCS        0x20
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_0_M2IOSF3_NCB        0x40
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_0_M2IOSF3_NCS        0x80

EVENT_LOCAL_SHAR_P2P_CRD_WAIT_1                    0x4B PBOX
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_1_M2IOSF4_NCB        0x01
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_1_M2IOSF4_NCS        0x02
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_1_M2IOSF5_NCB        0x04
UMASK_LOCAL_SHAR_P2P_CRD_WAIT_1_M2IOSF5_NCS        0x08

EVENT_REMOTE_SHAR_P2P_CRD_WAIT_0                   0x4C PBOX
UMASK_REMOTE_SHAR_P2P_CRD_WAIT_0_UPI0_DRS          0x01
UMASK_REMOTE_SHAR_P2P_CRD_WAIT_0_UPI0_NCB          0x02
UMASK_REMOTE_SHAR_P2P_CRD_WAIT_0_UPI0_NCS          0x04
UMASK_REMOTE_SHAR_P2P_CRD_WAIT_0_UPI1_DRS          0x08
UMASK_REMOTE_SHAR_P2P_CRD_WAIT_0_UPI1_NCB          0x10
UMASK_REMOTE_SHAR_P2P_CRD_WAIT_0_UPI1_NCS          0x20

EVENT_REMOTE_SHAR_P2P_CRD_WAIT_1                   0x4D PBOX
UMASK_REMOTE_SHAR_P2P_CRD_WAIT_1_UPI2_DRS          0x01
UMASK_REMOTE_SHAR_P2P_CRD_WAIT_1_UPI2_NCB          0x02
UMASK_REMOTE_SHAR_P2P_CRD_WAIT_1_UPI2_NCS          0x04

EVENT_EGRESS_ORDERING                              0xBA PBOX
UMASK_EGRESS_ORDERING_IV_SNOOPGO_UP                0x01
UMASK_EGRESS_ORDERING_IV_SNOOPGO_DN                0x04

EVENT_TXC_CYCLES_NE                                0x23 PBOX
UMASK_TXC_CYCLES_NE_PMM_DISTRESS_1                 0x08
UMASK_TXC_CYCLES_NE_PMM_DISTRESS_0                 0x80

EVENT_TXC_CYCLES_FULL                              0x25 PBOX
UMASK_TXC_CYCLES_FULL_PMM_BLOCK_1                  0x08
UMASK_TXC_CYCLES_FULL_PMM_BLOCK_0                  0x80

