1 /* SPDX-License-Identifier: GPL-2.0 2 * 3 * Copyright 2018 HabanaLabs, Ltd. 4 * All Rights Reserved. 5 * 6 */ 7 8 #ifndef __GOYA_ASYNC_EVENTS_H_ 9 #define __GOYA_ASYNC_EVENTS_H_ 10 11 enum goya_async_event_id { 12 GOYA_ASYNC_EVENT_ID_PCIE_CORE = 32, 13 GOYA_ASYNC_EVENT_ID_PCIE_IF = 33, 14 GOYA_ASYNC_EVENT_ID_PCIE_PHY = 34, 15 GOYA_ASYNC_EVENT_ID_TPC0_ECC = 36, 16 GOYA_ASYNC_EVENT_ID_TPC1_ECC = 39, 17 GOYA_ASYNC_EVENT_ID_TPC2_ECC = 42, 18 GOYA_ASYNC_EVENT_ID_TPC3_ECC = 45, 19 GOYA_ASYNC_EVENT_ID_TPC4_ECC = 48, 20 GOYA_ASYNC_EVENT_ID_TPC5_ECC = 51, 21 GOYA_ASYNC_EVENT_ID_TPC6_ECC = 54, 22 GOYA_ASYNC_EVENT_ID_TPC7_ECC = 57, 23 GOYA_ASYNC_EVENT_ID_MME_ECC = 60, 24 GOYA_ASYNC_EVENT_ID_MME_ECC_EXT = 61, 25 GOYA_ASYNC_EVENT_ID_MMU_ECC = 63, 26 GOYA_ASYNC_EVENT_ID_DMA_MACRO = 64, 27 GOYA_ASYNC_EVENT_ID_DMA_ECC = 66, 28 GOYA_ASYNC_EVENT_ID_DDR0_PARITY = 69, 29 GOYA_ASYNC_EVENT_ID_DDR1_PARITY = 72, 30 GOYA_ASYNC_EVENT_ID_CPU_IF_ECC = 75, 31 GOYA_ASYNC_EVENT_ID_PSOC_MEM = 78, 32 GOYA_ASYNC_EVENT_ID_PSOC_CORESIGHT = 79, 33 GOYA_ASYNC_EVENT_ID_SRAM0 = 81, 34 GOYA_ASYNC_EVENT_ID_SRAM1 = 82, 35 GOYA_ASYNC_EVENT_ID_SRAM2 = 83, 36 GOYA_ASYNC_EVENT_ID_SRAM3 = 84, 37 GOYA_ASYNC_EVENT_ID_SRAM4 = 85, 38 GOYA_ASYNC_EVENT_ID_SRAM5 = 86, 39 GOYA_ASYNC_EVENT_ID_SRAM6 = 87, 40 GOYA_ASYNC_EVENT_ID_SRAM7 = 88, 41 GOYA_ASYNC_EVENT_ID_SRAM8 = 89, 42 GOYA_ASYNC_EVENT_ID_SRAM9 = 90, 43 GOYA_ASYNC_EVENT_ID_SRAM10 = 91, 44 GOYA_ASYNC_EVENT_ID_SRAM11 = 92, 45 GOYA_ASYNC_EVENT_ID_SRAM12 = 93, 46 GOYA_ASYNC_EVENT_ID_SRAM13 = 94, 47 GOYA_ASYNC_EVENT_ID_SRAM14 = 95, 48 GOYA_ASYNC_EVENT_ID_SRAM15 = 96, 49 GOYA_ASYNC_EVENT_ID_SRAM16 = 97, 50 GOYA_ASYNC_EVENT_ID_SRAM17 = 98, 51 GOYA_ASYNC_EVENT_ID_SRAM18 = 99, 52 GOYA_ASYNC_EVENT_ID_SRAM19 = 100, 53 GOYA_ASYNC_EVENT_ID_SRAM20 = 101, 54 GOYA_ASYNC_EVENT_ID_SRAM21 = 102, 55 GOYA_ASYNC_EVENT_ID_SRAM22 = 103, 56 GOYA_ASYNC_EVENT_ID_SRAM23 = 104, 57 GOYA_ASYNC_EVENT_ID_SRAM24 = 105, 58 GOYA_ASYNC_EVENT_ID_SRAM25 = 106, 59 GOYA_ASYNC_EVENT_ID_SRAM26 = 107, 60 GOYA_ASYNC_EVENT_ID_SRAM27 = 108, 61 GOYA_ASYNC_EVENT_ID_SRAM28 = 109, 62 GOYA_ASYNC_EVENT_ID_SRAM29 = 110, 63 GOYA_ASYNC_EVENT_ID_GIC500 = 112, 64 GOYA_ASYNC_EVENT_ID_PCIE_DEC = 115, 65 GOYA_ASYNC_EVENT_ID_TPC0_DEC = 117, 66 GOYA_ASYNC_EVENT_ID_TPC1_DEC = 120, 67 GOYA_ASYNC_EVENT_ID_TPC2_DEC = 123, 68 GOYA_ASYNC_EVENT_ID_TPC3_DEC = 126, 69 GOYA_ASYNC_EVENT_ID_TPC4_DEC = 129, 70 GOYA_ASYNC_EVENT_ID_TPC5_DEC = 132, 71 GOYA_ASYNC_EVENT_ID_TPC6_DEC = 135, 72 GOYA_ASYNC_EVENT_ID_TPC7_DEC = 138, 73 GOYA_ASYNC_EVENT_ID_AXI_ECC = 139, 74 GOYA_ASYNC_EVENT_ID_L2_RAM_ECC = 140, 75 GOYA_ASYNC_EVENT_ID_MME_WACS = 141, 76 GOYA_ASYNC_EVENT_ID_MME_WACSD = 142, 77 GOYA_ASYNC_EVENT_ID_PLL0 = 143, 78 GOYA_ASYNC_EVENT_ID_PLL1 = 144, 79 GOYA_ASYNC_EVENT_ID_PLL2 = 145, 80 GOYA_ASYNC_EVENT_ID_PLL3 = 146, 81 GOYA_ASYNC_EVENT_ID_PLL4 = 147, 82 GOYA_ASYNC_EVENT_ID_PLL5 = 148, 83 GOYA_ASYNC_EVENT_ID_PLL6 = 149, 84 GOYA_ASYNC_EVENT_ID_CPU_AXI_SPLITTER = 155, 85 GOYA_ASYNC_EVENT_ID_PSOC_AXI_DEC = 159, 86 GOYA_ASYNC_EVENT_ID_PSOC = 160, 87 GOYA_ASYNC_EVENT_ID_PCIE_FLR = 171, 88 GOYA_ASYNC_EVENT_ID_PCIE_HOT_RESET = 172, 89 GOYA_ASYNC_EVENT_ID_PCIE_PERST = 173, 90 GOYA_ASYNC_EVENT_ID_PCIE_QID0_ENG0 = 174, 91 GOYA_ASYNC_EVENT_ID_PCIE_QID0_ENG1 = 175, 92 GOYA_ASYNC_EVENT_ID_PCIE_QID0_ENG2 = 176, 93 GOYA_ASYNC_EVENT_ID_PCIE_QID0_ENG3 = 177, 94 GOYA_ASYNC_EVENT_ID_PCIE_QID1_ENG0 = 178, 95 GOYA_ASYNC_EVENT_ID_PCIE_QID1_ENG1 = 179, 96 GOYA_ASYNC_EVENT_ID_PCIE_QID1_ENG2 = 180, 97 GOYA_ASYNC_EVENT_ID_PCIE_QID1_ENG3 = 181, 98 GOYA_ASYNC_EVENT_ID_PCIE_APB = 182, 99 GOYA_ASYNC_EVENT_ID_PCIE_QDB = 183, 100 GOYA_ASYNC_EVENT_ID_PCIE_BM_D_P_WR = 184, 101 GOYA_ASYNC_EVENT_ID_PCIE_BM_D_RD = 185, 102 GOYA_ASYNC_EVENT_ID_PCIE_BM_U_P_WR = 186, 103 GOYA_ASYNC_EVENT_ID_PCIE_BM_U_RD = 187, 104 GOYA_ASYNC_EVENT_ID_TPC0_BMON_SPMU = 190, 105 GOYA_ASYNC_EVENT_ID_TPC0_KRN_ERR = 191, 106 GOYA_ASYNC_EVENT_ID_TPC1_BMON_SPMU = 200, 107 GOYA_ASYNC_EVENT_ID_TPC1_KRN_ERR = 201, 108 GOYA_ASYNC_EVENT_ID_TPC2_BMON_SPMU = 210, 109 GOYA_ASYNC_EVENT_ID_TPC2_KRN_ERR = 211, 110 GOYA_ASYNC_EVENT_ID_TPC3_BMON_SPMU = 220, 111 GOYA_ASYNC_EVENT_ID_TPC3_KRN_ERR = 221, 112 GOYA_ASYNC_EVENT_ID_TPC4_BMON_SPMU = 230, 113 GOYA_ASYNC_EVENT_ID_TPC4_KRN_ERR = 231, 114 GOYA_ASYNC_EVENT_ID_TPC5_BMON_SPMU = 240, 115 GOYA_ASYNC_EVENT_ID_TPC5_KRN_ERR = 241, 116 GOYA_ASYNC_EVENT_ID_TPC6_BMON_SPMU = 250, 117 GOYA_ASYNC_EVENT_ID_TPC6_KRN_ERR = 251, 118 GOYA_ASYNC_EVENT_ID_TPC7_BMON_SPMU = 260, 119 GOYA_ASYNC_EVENT_ID_TPC7_KRN_ERR = 261, 120 GOYA_ASYNC_EVENT_ID_MMU_SBA_SPMU0 = 270, 121 GOYA_ASYNC_EVENT_ID_MMU_SBA_SPMU1 = 271, 122 GOYA_ASYNC_EVENT_ID_MME_WACS_UP = 272, 123 GOYA_ASYNC_EVENT_ID_MME_WACS_DOWN = 273, 124 GOYA_ASYNC_EVENT_ID_MMU_PAGE_FAULT = 280, 125 GOYA_ASYNC_EVENT_ID_MMU_WR_PERM = 281, 126 GOYA_ASYNC_EVENT_ID_MMU_DBG_BM = 282, 127 GOYA_ASYNC_EVENT_ID_DMA_BM_CH0 = 290, 128 GOYA_ASYNC_EVENT_ID_DMA_BM_CH1 = 291, 129 GOYA_ASYNC_EVENT_ID_DMA_BM_CH2 = 292, 130 GOYA_ASYNC_EVENT_ID_DMA_BM_CH3 = 293, 131 GOYA_ASYNC_EVENT_ID_DMA_BM_CH4 = 294, 132 GOYA_ASYNC_EVENT_ID_DDR0_PHY_DFI = 300, 133 GOYA_ASYNC_EVENT_ID_DDR0_ECC_SCRUB = 301, 134 GOYA_ASYNC_EVENT_ID_DDR0_DB_ECC = 302, 135 GOYA_ASYNC_EVENT_ID_DDR0_SB_ECC = 303, 136 GOYA_ASYNC_EVENT_ID_DDR0_SB_ECC_MC = 304, 137 GOYA_ASYNC_EVENT_ID_DDR0_AXI_RD = 305, 138 GOYA_ASYNC_EVENT_ID_DDR0_AXI_WR = 306, 139 GOYA_ASYNC_EVENT_ID_DDR1_PHY_DFI = 310, 140 GOYA_ASYNC_EVENT_ID_DDR1_ECC_SCRUB = 311, 141 GOYA_ASYNC_EVENT_ID_DDR1_DB_ECC = 312, 142 GOYA_ASYNC_EVENT_ID_DDR1_SB_ECC = 313, 143 GOYA_ASYNC_EVENT_ID_DDR1_SB_ECC_MC = 314, 144 GOYA_ASYNC_EVENT_ID_DDR1_AXI_RD = 315, 145 GOYA_ASYNC_EVENT_ID_DDR1_AXI_WR = 316, 146 GOYA_ASYNC_EVENT_ID_CPU_BMON = 320, 147 GOYA_ASYNC_EVENT_ID_TS_EAST = 322, 148 GOYA_ASYNC_EVENT_ID_TS_WEST = 323, 149 GOYA_ASYNC_EVENT_ID_TS_NORTH = 324, 150 GOYA_ASYNC_EVENT_ID_PSOC_GPIO_U16_0 = 330, 151 GOYA_ASYNC_EVENT_ID_PSOC_GPIO_U16_1 = 331, 152 GOYA_ASYNC_EVENT_ID_PSOC_GPIO_U16_2 = 332, 153 GOYA_ASYNC_EVENT_ID_PSOC_GPIO_U16_3 = 333, 154 GOYA_ASYNC_EVENT_ID_PSOC_GPIO_U16_4 = 334, 155 GOYA_ASYNC_EVENT_ID_PSOC_GPIO_05_SW_RESET = 356, 156 GOYA_ASYNC_EVENT_ID_PSOC_GPIO_10_VRHOT_ICRIT = 361, 157 GOYA_ASYNC_EVENT_ID_FAN = 425, 158 GOYA_ASYNC_EVENT_ID_TPC0_CMDQ = 430, 159 GOYA_ASYNC_EVENT_ID_TPC1_CMDQ = 431, 160 GOYA_ASYNC_EVENT_ID_TPC2_CMDQ = 432, 161 GOYA_ASYNC_EVENT_ID_TPC3_CMDQ = 433, 162 GOYA_ASYNC_EVENT_ID_TPC4_CMDQ = 434, 163 GOYA_ASYNC_EVENT_ID_TPC5_CMDQ = 435, 164 GOYA_ASYNC_EVENT_ID_TPC6_CMDQ = 436, 165 GOYA_ASYNC_EVENT_ID_TPC7_CMDQ = 437, 166 GOYA_ASYNC_EVENT_ID_TPC0_QM = 438, 167 GOYA_ASYNC_EVENT_ID_TPC1_QM = 439, 168 GOYA_ASYNC_EVENT_ID_TPC2_QM = 440, 169 GOYA_ASYNC_EVENT_ID_TPC3_QM = 441, 170 GOYA_ASYNC_EVENT_ID_TPC4_QM = 442, 171 GOYA_ASYNC_EVENT_ID_TPC5_QM = 443, 172 GOYA_ASYNC_EVENT_ID_TPC6_QM = 444, 173 GOYA_ASYNC_EVENT_ID_TPC7_QM = 445, 174 GOYA_ASYNC_EVENT_ID_MME_QM = 447, 175 GOYA_ASYNC_EVENT_ID_MME_CMDQ = 448, 176 GOYA_ASYNC_EVENT_ID_DMA0_QM = 449, 177 GOYA_ASYNC_EVENT_ID_DMA1_QM = 450, 178 GOYA_ASYNC_EVENT_ID_DMA2_QM = 451, 179 GOYA_ASYNC_EVENT_ID_DMA3_QM = 452, 180 GOYA_ASYNC_EVENT_ID_DMA4_QM = 453, 181 GOYA_ASYNC_EVENT_ID_DMA_ON_HBW = 454, 182 GOYA_ASYNC_EVENT_ID_DMA0_CH = 455, 183 GOYA_ASYNC_EVENT_ID_DMA1_CH = 456, 184 GOYA_ASYNC_EVENT_ID_DMA2_CH = 457, 185 GOYA_ASYNC_EVENT_ID_DMA3_CH = 458, 186 GOYA_ASYNC_EVENT_ID_DMA4_CH = 459, 187 GOYA_ASYNC_EVENT_ID_PI_UPDATE = 484, 188 GOYA_ASYNC_EVENT_ID_HALT_MACHINE = 485, 189 GOYA_ASYNC_EVENT_ID_INTS_REGISTER = 486, 190 GOYA_ASYNC_EVENT_ID_SOFT_RESET = 487, 191 GOYA_ASYNC_EVENT_ID_LAST_VALID_ID = 1023, 192 GOYA_ASYNC_EVENT_ID_SIZE 193 }; 194 195 #endif /* __GOYA_ASYNC_EVENTS_H_ */ 196