xref: /illumos-gate/usr/src/uts/common/sys/fm/io/sun4_fire.h (revision 2d6eb4a5e0a47d30189497241345dc5466bb68ab)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  */
21 /*
22  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23  * Use is subject to license terms.
24  */
25 
26 #ifndef _SYS_FM_IO_SUN4_FIRE_H
27 #define	_SYS_FM_IO_SUN4_FIRE_H
28 
29 #ifdef	__cplusplus
30 extern "C" {
31 #endif
32 
33 
34 /*
35  * Fire Ereport Classes
36  */
37 
38 #define	PCIEX_FIRE		"fire"
39 #define	PCIEX_OBERON		"oberon"
40 
41 /* FIRE's JBUS ereport classes */
42 #define	FIRE_JBC_MB_PEA			"jbc.mb_pea"
43 #define	FIRE_JBC_CPE			"jbc.cpe"
44 #define	FIRE_JBC_APE			"jbc.ape"
45 #define	FIRE_JBC_PIO_CPE		"jbc.pio_cpe"
46 #define	FIRE_JBC_JTCEEW			"jbc.jtceew"
47 #define	FIRE_JBC_JTCEEI			"jbc.jtceei"
48 #define	FIRE_JBC_JTCEER			"jbc.jtceer"
49 #define	FIRE_JBC_MB_PER			"jbc.mb_per"
50 #define	FIRE_JBC_MB_PEW			"jbc.mb_pew"
51 #define	FIRE_JBC_UE_ASYN		"jbc.ue_asyn"
52 #define	FIRE_JBC_CE_ASYN		"jbc.ce_asyn"
53 #define	FIRE_JBC_JTE			"jbc.jte"
54 #define	FIRE_JBC_JBE			"jbc.jbe"
55 #define	FIRE_JBC_JUE			"jbc.jue"
56 #define	FIRE_JBC_ICISE			"jbc.icise"
57 #define	FIRE_JBC_WR_DPE			"jbc.wr_dpe"
58 #define	FIRE_JBC_RD_DPE			"jbc.rd_dpe"
59 #define	FIRE_JBC_ILL_BMW		"jbc.ill_bmw"
60 #define	FIRE_JBC_ILL_BMR		"jbc.ill_bmr"
61 #define	FIRE_JBC_BJC			"jbc.bjc"
62 #define	FIRE_JBC_IJP			"jbc.ijp"
63 #define	FIRE_JBC_PIO_UNMAP_RD		"jbc.pio_unmap_rd"
64 #define	FIRE_JBC_PIO_UNMAP		"jbc.pio_unmap"
65 #define	FIRE_JBC_PIO_DPE		"jbc.pio_dpe"
66 #define	FIRE_JBC_ILL_ACC		"jbc.ill_acc"
67 #define	FIRE_JBC_ILL_ACC_RD		"jbc.ill_acc_rd"
68 #define	FIRE_JBC_UNSOL_RD		"jbc.unsol_rd"
69 #define	FIRE_JBC_UNSOL_INTR		"jbc.unsol_intr"
70 #define	FIRE_JBC_EBUS_TO		"jbc.ebus_to"
71 
72 /* OBERON's UBC ereport classes */
73 #define	FIRE_UBC_DMARDUEA		"ubc.dmarduea"
74 #define	FIRE_UBC_DMAWTUEA		"ubc.dmawtuea"
75 #define	FIRE_UBC_MEMRDAXA		"ubc.memrdaxa"
76 #define	FIRE_UBC_MEMWTAXA		"ubc.memwtaxa"
77 #define	FIRE_UBC_DMARDUEB		"ubc.dmardueb"
78 #define	FIRE_UBC_DMAWTUEB		"ubc.dmawtueb"
79 #define	FIRE_UBC_MEMRDAXB		"ubc.memrdaxb"
80 #define	FIRE_UBC_MEMWTAXB		"ubc.memwtaxb"
81 #define	FIRE_UBC_PIOWTUE		"ubc.piowtue"
82 #define	FIRE_UBC_PIOWBEUE		"ubc.piowbeue"
83 #define	FIRE_UBC_PIORBEUE		"ubc.piorbeue"
84 
85 /* FIRE's DMC ereport classes */
86 #define	FIRE_DMC_MSI_NOT_EN		"dmc.msi_not_en"
87 #define	FIRE_DMC_MSI_PAR_ERR		"dmc.msi_par_err"
88 #define	FIRE_DMC_MSI_MAL_ERR		"dmc.msi_mal_err"
89 #define	FIRE_DMC_COR_MES_NOT_EN		"dmc.cor_not_en"
90 #define	FIRE_DMC_NONFATAL_MES_NOT_EN	"dmc.nonfatal_not_en"
91 #define	FIRE_DMC_FATAL_MES_NOT_EN	"dmc.fatal_not_en"
92 #define	FIRE_DMC_PMPME_MES_NOT_EN	"dmc.pmpme_not_en"
93 #define	FIRE_DMC_PMEACK_MES_NOT_EN	"dmc.pmeack_not_en"
94 #define	FIRE_DMC_EQ_NOT_EN		"dmc.eq_not_en"
95 #define	FIRE_DMC_EQ_OVER		"dmc.eq_over"
96 #define	FIRE_DMC_BYP_ERR		"dmc.byp_err"
97 #define	FIRE_DMC_BYP_OOR		"dmc.byp_oor"
98 #define	FIRE_DMC_TRN_ERR		"dmc.trn_err"
99 #define	FIRE_DMC_TRN_OOR		"dmc.trn_oor"
100 #define	FIRE_DMC_TTE_INV		"dmc.tte_inv"
101 #define	FIRE_DMC_TTE_PRT		"dmc.tte_prt"
102 #define	FIRE_DMC_TTC_DPE		"dmc.ttc_dpe"
103 #define	FIRE_DMC_TBW_DME		"dmc.tbw_dme"
104 #define	FIRE_DMC_TBW_UDE		"dmc.tbw_ude"
105 #define	FIRE_DMC_TBW_ERR		"dmc.tbw_err"
106 #define	FIRE_DMC_TBW_DPE		"dmc.tbw_dpe"
107 #define	FIRE_DMC_TTC_CAE		"dmc.ttc_cae"
108 #define	FIRE_DMC_TTC_DUE		"dmc.ttc_due"
109 
110 
111 /* FIRE's PEC ereport classes */
112 #define	FIRE_PEC_IHB_PE			"pec.ihb_pe"
113 #define	FIRE_PEC_MRC			"pec.mrc"
114 #define	FIRE_PEC_WUC			"pec.wuc"
115 #define	FIRE_PEC_RUC			"pec.ruc"
116 #define	FIRE_PEC_CRS			"pec.crs"
117 #define	FIRE_PEC_IIP			"pec.iip"
118 #define	FIRE_PEC_EDP			"pec.edp"
119 #define	FIRE_PEC_EHP			"pec.ehp"
120 #define	FIRE_PEC_LIN			"pec.lin"
121 #define	FIRE_PEC_LRS			"pec.lrs"
122 #define	FIRE_PEC_LDN			"pec.ldn"
123 #define	FIRE_PEC_LUP			"pec.lup"
124 #define	FIRE_PEC_ERU			"pec.eru"
125 #define	FIRE_PEC_ERO			"pec.ero"
126 #define	FIRE_PEC_EMP			"pec.emp"
127 #define	FIRE_PEC_EPE			"pec.epe"
128 #define	FIRE_PEC_ERP			"pec.erp"
129 #define	FIRE_PEC_EIP			"pec.eip"
130 #define	FIRE_PEC_UR			"pec.ur"
131 #define	FIRE_PEC_ROF			"pec.rof"
132 #define	FIRE_PEC_UC			"pec.uc"
133 #define	FIRE_PEC_CTO			"pec.cto"
134 #define	FIRE_PEC_MFP			"pec.mfp"
135 #define	FIRE_PEC_PP			"pec.pois"
136 #define	FIRE_PEC_FCP			"pec.fcp"
137 #define	FIRE_PEC_DLP			"pec.dlp"
138 #define	FIRE_PEC_TE			"pec.te"
139 #define	FIRE_PEC_CA			"pec.ca"
140 #define	FIRE_PEC_RTO			"pec.rto"
141 #define	FIRE_PEC_RNR			"pec.rnr"
142 #define	FIRE_PEC_BDP			"pec.bdp"
143 #define	FIRE_PEC_BTP			"pec.btp"
144 #define	FIRE_PEC_RE			"pec.re"
145 #define	FIRE_PEC_IHB_UE			"pec.ihb_ue"
146 #define	FIRE_PEC_ECRC			"pec.ecrc"
147 #define	FIRE_PEC_EIUE			"pec.eiue"
148 #define	FIRE_PEC_ERBUE			"pec.erbue"
149 #define	FIRE_PEC_EHBUE			"pec.ehbue"
150 #define	FIRE_PEC_EDBUE			"pec.edbue"
151 #define	FIRE_PEC_TLUEITMO		"pec.tlueitmo"
152 
153 /* Primary error */
154 #define	FIRE_PRIMARY			"primary"
155 
156 /* PEC ereport payload */
157 #define	FIRE_ILU_ELE			"ilu-ele"
158 #define	FIRE_ILU_ESS			"ilu-ess"
159 #define	FIRE_ILU_IE			"ilu-ie"
160 #define	FIRE_ILU_IS			"ilu-is"
161 #define	FIRE_TLU_CELE			"tlu-cele"
162 #define	FIRE_TLU_CESS			"tlu-cess"
163 #define	FIRE_TLU_CIE			"tlu-cie"
164 #define	FIRE_TLU_CIS			"tlu-cis"
165 #define	FIRE_TLU_OEELE			"tlu-oeele"
166 #define	FIRE_TLU_OEESS			"tlu-oeess"
167 #define	FIRE_TLU_OEIE			"tlu-oeie"
168 #define	FIRE_TLU_OEIS			"tlu-oeis"
169 #define	FIRE_TLU_ROEEH1L		"tlu-roeeh1l"
170 #define	FIRE_TLU_ROEEH2L		"tlu-roeeh2l"
171 #define	FIRE_TLU_RUEH1L			"tlu-rueh1l"
172 #define	FIRE_TLU_RUEH2L			"tlu-rueh2l"
173 #define	FIRE_TLU_TOEEH1L		"tlu-toeeh1l"
174 #define	FIRE_TLU_TOEEH2L		"tlu-toeeh2l"
175 #define	FIRE_TLU_TUEH1L			"tlu-tueh1l"
176 #define	FIRE_TLU_TUEH2L			"tlu-tueh2l"
177 #define	FIRE_TLU_UELE			"tlu-uele"
178 #define	FIRE_TLU_UESS			"tlu-uess"
179 #define	FIRE_TLU_UIE			"tlu-uie"
180 #define	FIRE_TLU_UIS			"tlu-uis"
181 
182 /* DMC ereport payload */
183 #define	FIRE_IMU_ELE			"imu-ele"
184 #define	FIRE_IMU_ESS			"imu-ess"
185 #define	FIRE_IMU_IE			"imu-ie"
186 #define	FIRE_IMU_IS			"imu-is"
187 #define	FIRE_IMU_RDS			"imu-rds"
188 #define	FIRE_IMU_SCS			"imu-scs"
189 #define	FIRE_MMU_ELE			"mmu-ele"
190 #define	FIRE_MMU_ESS			"mmu-ess"
191 #define	FIRE_MMU_IE			"mmu-ie"
192 #define	FIRE_MMU_IS			"mmu-is"
193 #define	FIRE_MMU_TFAR			"mmu-tfar"
194 #define	FIRE_MMU_TFSR			"mmu-tfsr"
195 
196 /* JBC ereport payload */
197 #define	FIRE_JBC_DMC_IDC		"jbc-dmc-idc"
198 #define	FIRE_JBC_DMC_ODCD		"jbc-dmc-odcd"
199 #define	FIRE_JBC_ELE			"jbc-ele"
200 #define	FIRE_JBC_ESS			"jbc-ess"
201 #define	FIRE_JBC_FEL1			"jbc-fel1"
202 #define	FIRE_JBC_FEL2			"jbc-fel2"
203 #define	FIRE_JBC_IE			"jbc-ie"
204 #define	FIRE_JBC_IS			"jbc-is"
205 #define	FIRE_JBC_JITEL1			"jbc-jitel1"
206 #define	FIRE_JBC_JITEL2			"jbc-jitel2"
207 #define	FIRE_JBC_JOTEL1			"jbc-jotel1"
208 #define	FIRE_JBC_JOTEL2			"jbc-jotel2"
209 #define	FIRE_JBC_MTEL			"jbc-mtel"
210 
211 /* UBC ereport payload */
212 #define	OBERON_UBC_ELE			"ubc-ele"
213 #define	OBERON_UBC_IE			"ubc-ie"
214 #define	OBERON_UBC_IS			"ubc-is"
215 #define	OBERON_UBC_ESS			"ubc-ess"
216 #define	OBERON_UBC_MUE			"ubc-mue"
217 #define	OBERON_UBC_UNUM			"ubc-unum"
218 #define	OBERON_UBC_DID			"ubc-did"
219 #define	OBERON_UBC_CPUV			"ubc-cpuv"
220 #define	OBERON_UBC_RESOURCE		"resource"
221 
222 #ifdef	__cplusplus
223 }
224 #endif
225 
226 #endif	/* _SYS_FM_IO_SUN4_FIRE_H */
227