xref: /titanic_50/usr/src/uts/sparc/sys/fm/cpu/UltraSPARC-III.h (revision 03831d35f7499c87d51205817c93e9a8d42c4bae)
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, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 #ifndef	_SYS_FM_ULTRASPARC_III_H
28 #define	_SYS_FM_ULTRASPARC_III_H
29 
30 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31 
32 #ifdef	__cplusplus
33 extern "C" {
34 #endif
35 
36 /* Ereport class subcategories for UltraSPARC III and IV families */
37 #define	FM_EREPORT_CPU_USIII		"ultraSPARC-III"
38 #define	FM_EREPORT_CPU_USIIIplus	"ultraSPARC-IIIplus"
39 #define	FM_EREPORT_CPU_USIIIi		"ultraSPARC-IIIi"
40 #define	FM_EREPORT_CPU_USIIIiplus	"ultraSPARC-IIIiplus"
41 #define	FM_EREPORT_CPU_USIV		"ultraSPARC-IV"
42 #define	FM_EREPORT_CPU_USIVplus		"ultraSPARC-IVplus"
43 #define	FM_EREPORT_CPU_UNSUPPORTED	"unsupported"
44 
45 /*
46  * Ereport payload definitions.
47  */
48 #define	FM_EREPORT_PAYLOAD_NAME_AFSR		"afsr"
49 #define	FM_EREPORT_PAYLOAD_NAME_AFAR		"afar"
50 #define	FM_EREPORT_PAYLOAD_NAME_AFAR_STATUS	"afar-status"
51 #define	FM_EREPORT_PAYLOAD_NAME_PC		"pc"
52 #define	FM_EREPORT_PAYLOAD_NAME_TL		"tl"
53 #define	FM_EREPORT_PAYLOAD_NAME_TT		"tt"
54 #define	FM_EREPORT_PAYLOAD_NAME_PRIV		"privileged"
55 #define	FM_EREPORT_PAYLOAD_NAME_ME		"multiple"
56 #define	FM_EREPORT_PAYLOAD_NAME_SYND		"syndrome"
57 #define	FM_EREPORT_PAYLOAD_NAME_SYND_STATUS	"syndrome-status"
58 #define	FM_EREPORT_PAYLOAD_NAME_EMU_EMR_SIZE	"emu-mask-size"
59 #define	FM_EREPORT_PAYLOAD_NAME_EMU_EMR_DATA	"emu-mask-data"
60 #define	FM_EREPORT_PAYLOAD_NAME_EMU_ESR_SIZE	"emu-shadow-size"
61 #define	FM_EREPORT_PAYLOAD_NAME_EMU_ESR_DATA	"emu-shadow-data"
62 #define	FM_EREPORT_PAYLOAD_NAME_L2_WAYS		"l2-cache-ways"
63 #define	FM_EREPORT_PAYLOAD_NAME_L2_DATA		"l2-cache-data"
64 #define	FM_EREPORT_PAYLOAD_NAME_L3_WAYS		"l3-cache-ways"
65 #define	FM_EREPORT_PAYLOAD_NAME_L3_DATA		"l3-cache-data"
66 #define	FM_EREPORT_PAYLOAD_NAME_L1D_WAYS	"dcache-ways"
67 #define	FM_EREPORT_PAYLOAD_NAME_L1D_DATA	"dcache-data"
68 #define	FM_EREPORT_PAYLOAD_NAME_L1I_WAYS	"icache-ways"
69 #define	FM_EREPORT_PAYLOAD_NAME_L1I_DATA	"icache-data"
70 #define	FM_EREPORT_PAYLOAD_NAME_L1P_WAYS	"pcache-ways"
71 #define	FM_EREPORT_PAYLOAD_NAME_L1P_DATA	"pcache-data"
72 #define	FM_EREPORT_PAYLOAD_NAME_ITLB_ENTRIES	"itlb-entries"
73 #define	FM_EREPORT_PAYLOAD_NAME_ITLB_DATA	"itlb-data"
74 #define	FM_EREPORT_PAYLOAD_NAME_DTLB_ENTRIES	"dtlb-entries"
75 #define	FM_EREPORT_PAYLOAD_NAME_DTLB_DATA	"dtlb-data"
76 #define	FM_EREPORT_PAYLOAD_NAME_ERR_TYPE	"error-type"
77 #define	FM_EREPORT_PAYLOAD_NAME_RESOURCE	"resource"
78 #define	FM_EREPORT_PAYLOAD_NAME_VA		"va"
79 #define	FM_EREPORT_PAYLOAD_NAME_AFSR_EXT	"afsr-ext"
80 #define	FM_EREPORT_PAYLOAD_NAME_COPYFUNCTION	"copy-function"
81 #define	FM_EREPORT_PAYLOAD_NAME_INSTRBLOCK	"instr-block"
82 #define	FM_EREPORT_PAYLOAD_NAME_HOWDETECTED	"how-detected"
83 #define	FM_EREPORT_PAYLOAD_NAME_ERR_DISP	"error-disposition"
84 
85 #define	FM_EREPORT_PAYLOAD_FLAG_AFSR		0x0000000000000001
86 #define	FM_EREPORT_PAYLOAD_FLAG_AFAR_STATUS	0x0000000000000002
87 #define	FM_EREPORT_PAYLOAD_FLAG_AFAR		0x0000000000000004
88 #define	FM_EREPORT_PAYLOAD_FLAG_PC		0x0000000000000008
89 #define	FM_EREPORT_PAYLOAD_FLAG_TL		0x0000000000000010
90 #define	FM_EREPORT_PAYLOAD_FLAG_TT		0x0000000000000020
91 #define	FM_EREPORT_PAYLOAD_FLAG_PRIV		0x0000000000000040
92 #define	FM_EREPORT_PAYLOAD_FLAG_ME		0x0000000000000080
93 #define	FM_EREPORT_PAYLOAD_FLAG_SYND		0x0000000000000100
94 #define	FM_EREPORT_PAYLOAD_FLAG_SYND_STATUS	0x0000000000000200
95 #define	FM_EREPORT_PAYLOAD_FLAG_EMU_EMR_SIZE	0x0000000000000400
96 #define	FM_EREPORT_PAYLOAD_FLAG_EMU_EMR_DATA	0x0000000000000800
97 #define	FM_EREPORT_PAYLOAD_FLAG_EMU_ESR_SIZE	0x0000000000001000
98 #define	FM_EREPORT_PAYLOAD_FLAG_EMU_ESR_DATA	0x0000000000002000
99 #define	FM_EREPORT_PAYLOAD_FLAG_L2_WAYS		0x0000000000004000
100 #define	FM_EREPORT_PAYLOAD_FLAG_L2_DATA		0x0000000000008000
101 #define	FM_EREPORT_PAYLOAD_FLAG_L1D_WAYS	0x0000000000010000
102 #define	FM_EREPORT_PAYLOAD_FLAG_L1D_DATA	0x0000000000020000
103 #define	FM_EREPORT_PAYLOAD_FLAG_L1I_WAYS	0x0000000000040000
104 #define	FM_EREPORT_PAYLOAD_FLAG_L1I_DATA	0x0000000000080000
105 #define	FM_EREPORT_PAYLOAD_FLAG_ERR_TYPE	0x0000000000100000
106 #define	FM_EREPORT_PAYLOAD_FLAG_RESOURCE	0x0000000000200000
107 #define	FM_EREPORT_PAYLOAD_FLAG_AFSR_EXT	0x0000000000400000
108 #define	FM_EREPORT_PAYLOAD_FLAG_L1P_WAYS	0x0000000000800000
109 #define	FM_EREPORT_PAYLOAD_FLAG_L1P_DATA	0x0000000001000000
110 #define	FM_EREPORT_PAYLOAD_FLAG_ITLB_ENTRIES	0x0000000002000000
111 #define	FM_EREPORT_PAYLOAD_FLAG_ITLB_DATA	0x0000000004000000
112 #define	FM_EREPORT_PAYLOAD_FLAG_DTLB_ENTRIES	0x0000000008000000
113 #define	FM_EREPORT_PAYLOAD_FLAG_DTLB_DATA	0x0000000010000000
114 #define	FM_EREPORT_PAYLOAD_FLAG_FAULT_VA	0x0000000020000000
115 #define	FM_EREPORT_PAYLOAD_FLAG_L3_WAYS		0x0000000040000000
116 #define	FM_EREPORT_PAYLOAD_FLAG_L3_DATA		0x0000000080000000
117 #define	FM_EREPORT_PAYLOAD_FLAG_COPYFUNCTION	0x0000000100000000
118 #define	FM_EREPORT_PAYLOAD_FLAG_INSTRBLOCK	0x0000000200000000
119 #define	FM_EREPORT_PAYLOAD_FLAG_HOWDETECTED	0x0000000400000000
120 #define	FM_EREPORT_PAYLOAD_FLAG_ERR_DISP	0x0000000800000000
121 
122 #define	FM_EREPORT_PAYLOAD_FLAGS_AFAR \
123 				(FM_EREPORT_PAYLOAD_FLAG_AFAR | \
124 				    FM_EREPORT_PAYLOAD_FLAG_AFAR_STATUS)
125 #define	FM_EREPORT_PAYLOAD_FLAGS_TRAP \
126 				(FM_EREPORT_PAYLOAD_FLAG_TL | \
127 				    FM_EREPORT_PAYLOAD_FLAG_TT)
128 #define	FM_EREPORT_PAYLOAD_FLAGS_SYND \
129 				(FM_EREPORT_PAYLOAD_FLAG_SYND | \
130 				    FM_EREPORT_PAYLOAD_FLAG_SYND_STATUS)
131 #define	FM_EREPORT_PAYLOAD_FLAGS_EMU \
132 				(FM_EREPORT_PAYLOAD_FLAG_EMU_EMR_SIZE | \
133 				    FM_EREPORT_PAYLOAD_FLAG_EMU_EMR_DATA | \
134 				    FM_EREPORT_PAYLOAD_FLAG_EMU_ESR_SIZE | \
135 				    FM_EREPORT_PAYLOAD_FLAG_EMU_ESR_DATA)
136 #define	FM_EREPORT_PAYLOAD_FLAGS_L2 \
137 				(FM_EREPORT_PAYLOAD_FLAG_L2_WAYS | \
138 				    FM_EREPORT_PAYLOAD_FLAG_L2_DATA)
139 #define	FM_EREPORT_PAYLOAD_FLAGS_L3 \
140 				(FM_EREPORT_PAYLOAD_FLAG_L3_WAYS | \
141 				    FM_EREPORT_PAYLOAD_FLAG_L3_DATA)
142 #define	FM_EREPORT_PAYLOAD_FLAGS_L1D \
143 				(FM_EREPORT_PAYLOAD_FLAG_L1D_WAYS | \
144 				    FM_EREPORT_PAYLOAD_FLAG_L1D_DATA)
145 #define	FM_EREPORT_PAYLOAD_FLAGS_L1I \
146 				(FM_EREPORT_PAYLOAD_FLAG_L1I_WAYS | \
147 				    FM_EREPORT_PAYLOAD_FLAG_L1I_DATA)
148 #define	FM_EREPORT_PAYLOAD_FLAGS_L1P \
149 				(FM_EREPORT_PAYLOAD_FLAG_L1P_WAYS | \
150 				    FM_EREPORT_PAYLOAD_FLAG_L1P_DATA)
151 #define	FM_EREPORT_PAYLOAD_FLAGS_L1 \
152 				(FM_EREPORT_PAYLOAD_FLAGS_L1D | \
153 				    FM_EREPORT_PAYLOAD_FLAGS_L1I)
154 #define	FM_EREPORT_PAYLOAD_FLAGS_L1L2 \
155 				(FM_EREPORT_PAYLOAD_FLAGS_L1 | \
156 				    FM_EREPORT_PAYLOAD_FLAGS_L2)
157 #define	FM_EREPORT_PAYLOAD_FLAGS_ITLB \
158 				(FM_EREPORT_PAYLOAD_FLAG_ITLB_ENTRIES | \
159 				    FM_EREPORT_PAYLOAD_FLAG_ITLB_DATA)
160 #define	FM_EREPORT_PAYLOAD_FLAGS_DTLB \
161 				(FM_EREPORT_PAYLOAD_FLAG_DTLB_ENTRIES | \
162 				    FM_EREPORT_PAYLOAD_FLAG_DTLB_DATA)
163 #define	FM_EREPORT_PAYLOAD_FLAGS_TLB \
164 				(FM_EREPORT_PAYLOAD_FLAGS_ITLB | \
165 				    FM_EREPORT_PAYLOAD_FLAGS_DTLB)
166 #define	FM_EREPORT_PAYLOAD_FLAG_AFSRS \
167 				(FM_EREPORT_PAYLOAD_FLAG_AFSR | \
168 				    FM_EREPORT_PAYLOAD_FLAG_AFSR_EXT)
169 
170 
171 #define	FM_EREPORT_PAYLOAD_UNKNOWN	0
172 #define	FM_EREPORT_PAYLOAD_INVALID_AFSR	(FM_EREPORT_PAYLOAD_FLAG_AFSRS | \
173 					    FM_EREPORT_PAYLOAD_FLAGS_AFAR | \
174 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
175 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
176 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
177 					    FM_EREPORT_PAYLOAD_FLAG_ME)
178 #define	FM_EREPORT_PAYLOAD_SYSTEM1	 (FM_EREPORT_PAYLOAD_FLAG_AFSRS | \
179 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
180 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
181 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
182 					    FM_EREPORT_PAYLOAD_FLAG_ME)
183 #define	FM_EREPORT_PAYLOAD_SYSTEM2	 (FM_EREPORT_PAYLOAD_FLAG_AFSRS | \
184 					    FM_EREPORT_PAYLOAD_FLAGS_AFAR | \
185 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
186 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
187 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
188 					    FM_EREPORT_PAYLOAD_FLAG_ME | \
189 					    FM_EREPORT_PAYLOAD_FLAGS_EMU)
190 #define	FM_EREPORT_PAYLOAD_SYSTEM3	 (FM_EREPORT_PAYLOAD_FLAG_AFSR | \
191 					    FM_EREPORT_PAYLOAD_FLAGS_AFAR | \
192 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
193 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
194 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
195 					    FM_EREPORT_PAYLOAD_FLAG_ME | \
196 					    FM_EREPORT_PAYLOAD_FLAGS_L2)
197 #define	FM_EREPORT_PAYLOAD_IO		(FM_EREPORT_PAYLOAD_FLAG_AFSR | \
198 					    FM_EREPORT_PAYLOAD_FLAGS_AFAR | \
199 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
200 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
201 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
202 					    FM_EREPORT_PAYLOAD_FLAG_ME)
203 #define	FM_EREPORT_PAYLOAD_L2_TAG_PE	(FM_EREPORT_PAYLOAD_FLAG_AFSR | \
204 					    FM_EREPORT_PAYLOAD_FLAGS_AFAR | \
205 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
206 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
207 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
208 					    FM_EREPORT_PAYLOAD_FLAG_ME | \
209 					    FM_EREPORT_PAYLOAD_FLAGS_L1L2)
210 #define	FM_EREPORT_PAYLOAD_L2_TAG_ECC	(FM_EREPORT_PAYLOAD_FLAG_AFSRS | \
211 					    FM_EREPORT_PAYLOAD_FLAGS_AFAR | \
212 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
213 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
214 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
215 					    FM_EREPORT_PAYLOAD_FLAG_ME | \
216 					    FM_EREPORT_PAYLOAD_FLAGS_L1L2 | \
217 					    FM_EREPORT_PAYLOAD_FLAGS_L3)
218 #define	FM_EREPORT_PAYLOAD_L3_TAG_ECC	(FM_EREPORT_PAYLOAD_FLAG_AFSRS | \
219 					    FM_EREPORT_PAYLOAD_FLAGS_AFAR | \
220 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
221 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
222 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
223 					    FM_EREPORT_PAYLOAD_FLAG_ME | \
224 					    FM_EREPORT_PAYLOAD_FLAGS_L1L2 | \
225 					    FM_EREPORT_PAYLOAD_FLAGS_L3)
226 #define	FM_EREPORT_PAYLOAD_L2_DATA	(FM_EREPORT_PAYLOAD_FLAG_AFSRS | \
227 					    FM_EREPORT_PAYLOAD_FLAGS_AFAR | \
228 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
229 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
230 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
231 					    FM_EREPORT_PAYLOAD_FLAG_ME | \
232 					    FM_EREPORT_PAYLOAD_FLAGS_SYND | \
233 					    FM_EREPORT_PAYLOAD_FLAGS_L1L2 | \
234 					    FM_EREPORT_PAYLOAD_FLAG_RESOURCE | \
235 					    FM_EREPORT_PAYLOAD_FLAGS_L3)
236 #define	FM_EREPORT_PAYLOAD_L3_DATA	(FM_EREPORT_PAYLOAD_FLAG_AFSRS | \
237 					    FM_EREPORT_PAYLOAD_FLAGS_AFAR | \
238 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
239 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
240 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
241 					    FM_EREPORT_PAYLOAD_FLAG_ME | \
242 					    FM_EREPORT_PAYLOAD_FLAGS_SYND | \
243 					    FM_EREPORT_PAYLOAD_FLAGS_L1L2 | \
244 					    FM_EREPORT_PAYLOAD_FLAG_RESOURCE | \
245 					    FM_EREPORT_PAYLOAD_FLAGS_L3)
246 #define	FM_EREPORT_PAYLOAD_MEMORY	(FM_EREPORT_PAYLOAD_FLAG_AFSRS | \
247 					    FM_EREPORT_PAYLOAD_FLAGS_AFAR | \
248 					    FM_EREPORT_PAYLOAD_FLAG_PC | \
249 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
250 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
251 					    FM_EREPORT_PAYLOAD_FLAG_ME | \
252 					    FM_EREPORT_PAYLOAD_FLAGS_SYND | \
253 					    FM_EREPORT_PAYLOAD_FLAG_ERR_TYPE | \
254 					    FM_EREPORT_PAYLOAD_FLAG_ERR_DISP | \
255 					    FM_EREPORT_PAYLOAD_FLAGS_L1L2 | \
256 					    FM_EREPORT_PAYLOAD_FLAG_RESOURCE | \
257 					    FM_EREPORT_PAYLOAD_FLAGS_L3)
258 #define	FM_EREPORT_PAYLOAD_ICACHE_PE	(FM_EREPORT_PAYLOAD_FLAG_PC | \
259 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
260 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
261 					    FM_EREPORT_PAYLOAD_FLAGS_L1I)
262 #define	FM_EREPORT_PAYLOAD_DCACHE_PE	(FM_EREPORT_PAYLOAD_FLAG_PC | \
263 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
264 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
265 					    FM_EREPORT_PAYLOAD_FLAGS_L1D)
266 #define	FM_EREPORT_PAYLOAD_PCACHE_PE	(FM_EREPORT_PAYLOAD_FLAG_PC | \
267 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
268 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
269 					    FM_EREPORT_PAYLOAD_FLAGS_L1P)
270 #define	FM_EREPORT_PAYLOAD_ITLB_PE	(FM_EREPORT_PAYLOAD_FLAG_PC | \
271 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
272 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
273 					    FM_EREPORT_PAYLOAD_FLAGS_ITLB)
274 #define	FM_EREPORT_PAYLOAD_DTLB_PE	(FM_EREPORT_PAYLOAD_FLAG_PC | \
275 					    FM_EREPORT_PAYLOAD_FLAGS_TRAP | \
276 					    FM_EREPORT_PAYLOAD_FLAG_PRIV | \
277 					    FM_EREPORT_PAYLOAD_FLAGS_DTLB | \
278 					    FM_EREPORT_PAYLOAD_FLAG_FAULT_VA)
279 #define	FM_EREPORT_PAYLOAD_FPU_HWCOPY	(FM_EREPORT_PAYLOAD_FLAG_COPYFUNCTION |\
280 					    FM_EREPORT_PAYLOAD_FLAG_INSTRBLOCK|\
281 					    FM_EREPORT_PAYLOAD_FLAG_HOWDETECTED)
282 /*
283  * FM_EREPORT_PAYLOAD_UNKNOWN
284  */
285 #define	FM_EREPORT_CPU_USIII_UNKNOWN		"unknown"
286 
287 /*
288  * FM_EREPORT_PAYLOAD_INVALID_AFSR
289  */
290 #define	FM_EREPORT_CPU_USIII_INVALID_AFSR	"invalid-afsr"
291 
292 /*
293  * FM_EREPORT_PAYLOAD_SYSTEM1
294  */
295 #define	FM_EREPORT_CPU_USIII_IVC		"ivc"
296 #define	FM_EREPORT_CPU_USIII_IVU		"ivu"
297 #define	FM_EREPORT_CPU_USIII_IMC		"imc"
298 #define	FM_EREPORT_CPU_USIII_IMU		"imu"
299 #define	FM_EREPORT_CPU_USIII_JETO		"jeto"
300 #define	FM_EREPORT_CPU_USIII_SCE		"sce"
301 #define	FM_EREPORT_CPU_USIII_JEIC		"jeic"
302 #define	FM_EREPORT_CPU_USIII_JEIT		"jeit"
303 #define	FM_EREPORT_CPU_USIII_JEIS		"jeis"
304 #define	FM_EREPORT_CPU_USIII_ISAP		"isap"
305 #define	FM_EREPORT_CPU_USIII_IVPE		"ivpe"
306 
307 /*
308  * FM_EREPORT_PAYLOAD_SYSTEM2
309  */
310 #define	FM_EREPORT_CPU_USIII_PERR		"perr"
311 #define	FM_EREPORT_CPU_USIII_IERR		"ierr"
312 
313 /*
314  * FM_EREPORT_PAYLOAD_SYSTEM3
315  */
316 #define	FM_EREPORT_CPU_USIII_BP			"bp"
317 #define	FM_EREPORT_CPU_USIII_WBP		"wbp"
318 
319 /*
320  * FM_EREPORT_PAYLOAD_IO
321  */
322 #define	FM_EREPORT_CPU_USIII_TO			"to"
323 #define	FM_EREPORT_CPU_USIII_BERR		"berr"
324 #define	FM_EREPORT_CPU_USIII_DTO		"dto"
325 #define	FM_EREPORT_CPU_USIII_DBERR		"dberr"
326 #define	FM_EREPORT_CPU_USIII_OM			"om"
327 #define	FM_EREPORT_CPU_USIII_UMS		"ums"
328 
329 /*
330  * FM_EREPORT_PAYLOAD_L2_TAG_PE
331  */
332 #define	FM_EREPORT_CPU_USIII_ETP		"etp"
333 
334 /*
335  * FM_EREPORT_PAYLOAD_L2_TAG_ECC
336  */
337 #define	FM_EREPORT_CPU_USIII_THCE		"thce"
338 #define	FM_EREPORT_CPU_USIII_TSCE		"tsce"
339 #define	FM_EREPORT_CPU_USIII_TUE		"tue"
340 #define	FM_EREPORT_CPU_USIII_TUE_SH		"tue-sh"
341 #define	FM_EREPORT_CPU_USIII_ETU		"etu"
342 #define	FM_EREPORT_CPU_USIII_ETC		"etc"
343 #define	FM_EREPORT_CPU_USIII_ETI		"eti"
344 #define	FM_EREPORT_CPU_USIII_ETS		"ets"
345 
346 /*
347  * FM_EREPORT_PAYLOAD_L3_TAG_ECC
348  */
349 #define	FM_EREPORT_CPU_USIII_L3_THCE		"l3-thce"
350 #define	FM_EREPORT_CPU_USIII_L3_TUE		"l3-tue"
351 #define	FM_EREPORT_CPU_USIII_L3_TUE_SH		"l3-tue-sh"
352 
353 /*
354  * FM_EREPORT_PAYLOAD_L2_DATA
355  */
356 #define	FM_EREPORT_CPU_USIII_UCC		"ucc"
357 #define	FM_EREPORT_CPU_USIII_UCU		"ucu"
358 #define	FM_EREPORT_CPU_USIII_CPC		"cpc"
359 #define	FM_EREPORT_CPU_USIII_CPU		"cpu"
360 #define	FM_EREPORT_CPU_USIII_WDC		"wdc"
361 #define	FM_EREPORT_CPU_USIII_WDU		"wdu"
362 #define	FM_EREPORT_CPU_USIII_EDC		"edc"
363 #define	FM_EREPORT_CPU_USIII_EDUBL		"edu-bl"
364 #define	FM_EREPORT_CPU_USIII_EDUST		"edu-st"
365 
366 /*
367  * FM_EREPORT_PAYLOAD_L3_DATA
368  */
369 #define	FM_EREPORT_CPU_USIII_L3_UCC		"l3-ucc"
370 #define	FM_EREPORT_CPU_USIII_L3_UCU		"l3-ucu"
371 #define	FM_EREPORT_CPU_USIII_L3_CPC		"l3-cpc"
372 #define	FM_EREPORT_CPU_USIII_L3_CPU		"l3-cpu"
373 #define	FM_EREPORT_CPU_USIII_L3_WDC		"l3-wdc"
374 #define	FM_EREPORT_CPU_USIII_L3_WDU		"l3-wdu"
375 #define	FM_EREPORT_CPU_USIII_L3_EDC		"l3-edc"
376 #define	FM_EREPORT_CPU_USIII_L3_EDUBL		"l3-edu-bl"
377 #define	FM_EREPORT_CPU_USIII_L3_EDUST		"l3-edu-st"
378 #define	FM_EREPORT_CPU_USIII_L3_MECC		"l3-mecc"
379 
380 /*
381  * FM_EREPORT_PAYLOAD_MEMORY
382  */
383 #define	FM_EREPORT_CPU_USIII_CE			"ce"
384 #define	FM_EREPORT_CPU_USIII_RCE		"rce"
385 #define	FM_EREPORT_CPU_USIII_FRC		"frc"
386 #define	FM_EREPORT_CPU_USIII_EMC		"emc"
387 #define	FM_EREPORT_CPU_USIII_UE			"ue"
388 #define	FM_EREPORT_CPU_USIII_DUE		"due"
389 #define	FM_EREPORT_CPU_USIII_RUE		"rue"
390 #define	FM_EREPORT_CPU_USIII_FRU		"fru"
391 #define	FM_EREPORT_CPU_USIII_EMU		"emu"
392 
393 /*
394  * FM_EREPORT_PAYLOAD_ICACHE_PE
395  */
396 #define	FM_EREPORT_CPU_USIII_IPE		"ipe"
397 #define	FM_EREPORT_CPU_USIII_IDSPE		"idspe"
398 #define	FM_EREPORT_CPU_USIII_ITSPE		"itspe"
399 
400 /*
401  * FM_EREPORT_PAYLOAD_DCACHE_PE
402  */
403 #define	FM_EREPORT_CPU_USIII_DPE		"dpe"
404 #define	FM_EREPORT_CPU_USIII_DDSPE		"ddspe"
405 #define	FM_EREPORT_CPU_USIII_DTSPE		"dtspe"
406 
407 /*
408  * FM_EREPORT_PAYLOAD_PCACHE_PE
409  */
410 #define	FM_EREPORT_CPU_USIII_PDSPE		"pdspe"
411 
412 
413 /*
414  * FM_EREPORT_PAYLOAD_DTLB_PE
415  */
416 #define	FM_EREPORT_CPU_USIII_DTLBPE		"dtlbpe"
417 
418 /*
419  * FM_EREPORT_PAYLOAD_ITLB_PE
420  */
421 #define	FM_EREPORT_CPU_USIII_ITLBPE		"itlbpe"
422 
423 /*
424  * FM_EREPORT_PAYLOAD_FPU_HWCOPY
425  */
426 #define	FM_EREPORT_CPU_USIII_FPU_HWCOPY		"fpu.hwcopy"
427 
428 /*
429  * Magic values for cache dump logflags.
430  * These flags are used to indicate that the structures
431  * defined in cheetahregs.h to capture cache data contain
432  * valid information.
433  */
434 #define	EC_LOGFLAG_MAGIC	0xEC0106F1A6	/* =~ EC_LOGFLAG */
435 #define	DC_LOGFLAG_MAGIC	0xDC0106F1A6	/* =~ DC_LOGFLAG */
436 #define	IC_LOGFLAG_MAGIC	0x1C0106F1A6	/* =~ IC_LOGFLAG */
437 #define	PC_LOGFLAG_MAGIC	0x9C0106F1A6	/* =~ PC_LOGFLAG */
438 #define	IT_LOGFLAG_MAGIC	0x170106F1A6	/* =~ IT_LOGFLAG */
439 #define	DT_LOGFLAG_MAGIC	0xD70106F1A6	/* =~ DT_LOGFLAG */
440 
441 
442 #ifdef	__cplusplus
443 }
444 #endif
445 
446 #endif	/* _SYS_FM_ULTRASPARC_III_H */
447