xref: /onnv-gate/usr/src/uts/intel/sys/mc_intel.h (revision 6359)
15254Sgavinm /*
25254Sgavinm  * CDDL HEADER START
35254Sgavinm  *
45254Sgavinm  * The contents of this file are subject to the terms of the
55254Sgavinm  * Common Development and Distribution License (the "License").
65254Sgavinm  * You may not use this file except in compliance with the License.
75254Sgavinm  *
85254Sgavinm  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95254Sgavinm  * or http://www.opensolaris.org/os/licensing.
105254Sgavinm  * See the License for the specific language governing permissions
115254Sgavinm  * and limitations under the License.
125254Sgavinm  *
135254Sgavinm  * When distributing Covered Code, include this CDDL HEADER in each
145254Sgavinm  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155254Sgavinm  * If applicable, add the following below this CDDL HEADER, with the
165254Sgavinm  * fields enclosed by brackets "[]" replaced with your own identifying
175254Sgavinm  * information: Portions Copyright [yyyy] [name of copyright owner]
185254Sgavinm  *
195254Sgavinm  * CDDL HEADER END
205254Sgavinm  */
215254Sgavinm 
225254Sgavinm /*
235761Saf  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
245254Sgavinm  * Use is subject to license terms.
255254Sgavinm  */
265254Sgavinm 
275254Sgavinm #ifndef _MC_INTEL_H
285254Sgavinm #define	_MC_INTEL_H
295254Sgavinm 
305254Sgavinm #pragma ident	"%Z%%M%	%I%	%E% SMI"
315254Sgavinm 
325254Sgavinm #ifdef __cplusplus
335254Sgavinm extern "C" {
345254Sgavinm #endif
355254Sgavinm 
365254Sgavinm #define	FM_EREPORT_CPU_INTEL	"intel"
375254Sgavinm 
385254Sgavinm #define	MCINTEL_NVLIST_VERSTR	"mcintel-nvlist-version"
395254Sgavinm #define	MCINTEL_NVLIST_VERS0	0
405254Sgavinm 
415254Sgavinm #define	MCINTEL_NVLIST_VERS	MCINTEL_NVLIST_VERS0
425254Sgavinm 
435254Sgavinm #define	MCINTEL_NVLIST_MC	"memory-channels"
445254Sgavinm #define	MCINTEL_NVLIST_DIMMS	"memory-dimms"
455254Sgavinm #define	MCINTEL_NVLIST_DIMMSZ	"memory-dimm-size"
465254Sgavinm #define	MCINTEL_NVLIST_RANKS	"dimm-ranks"
475254Sgavinm #define	MCINTEL_NVLIST_ROWS	"dimm-rows"
485254Sgavinm #define	MCINTEL_NVLIST_COL	"dimm-column"
495254Sgavinm #define	MCINTEL_NVLIST_BANK	"dimm-banks"
505254Sgavinm #define	MCINTEL_NVLIST_WIDTH	"dimm-width"
515254Sgavinm #define	MCINTEL_NVLIST_MID	"dimm-manufacture-id"
525254Sgavinm #define	MCINTEL_NVLIST_MLOC	"dimm-manufacture-location"
535254Sgavinm #define	MCINTEL_NVLIST_MWEEK	"dimm-manufacture-week"
545254Sgavinm #define	MCINTEL_NVLIST_MYEAR	"dimm-manufacture-year"
555254Sgavinm #define	MCINTEL_NVLIST_SERIALNO	"dimm-serial-number"
565254Sgavinm #define	MCINTEL_NVLIST_PARTNO	"dimm-part-number"
575254Sgavinm #define	MCINTEL_NVLIST_REV	"dimm-part-rev"
585254Sgavinm 
595254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_FERR_GLOBAL		"ferr_global"
605254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NERR_GLOBAL		"nerr_global"
615254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_FSB			"fsb"
625254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_FERR_FAT_FSB		"ferr_fat_fsb"
635254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NERR_FAT_FSB		"nerr_fat_fsb"
645254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_FERR_NF_FSB		"ferr_nf_fsb"
655254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NERR_NF_FSB		"nerr_nf_fsb"
665254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECFSB			"nrecfsb"
675254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECFSB_ADDR		"nrecfsb_addr"
685254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECFSB			"recfsb"
695254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_PEX			"pex"
705254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_PEX_FAT_FERR		"pex_fat_ferr"
715254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_PEX_FAT_NERR		"pex_fat_nerr"
725254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_PEX_NF_CORR_FERR	"pex_nf_corr_ferr"
735254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_PEX_NF_CORR_NERR	"pex_nf_corr_nerr"
745254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_UNCERRSEV		"uncerrsev"
755254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RPERRSTS		"rperrsts"
765254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RPERRSID		"rperrsid"
775254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_UNCERRSTS		"uncerrsts"
785254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_AERRCAPCTRL		"aerrcapctrl"
795254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_CORERRSTS		"corerrsts"
805254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_PEXDEVSTS		"pexdevsts"
815254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_FERR_FAT_INT		"ferr_fat_int"
825254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_FERR_NF_INT		"ferr_nf_int"
835254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NERR_FAT_INT		"nerr_fat_int"
845254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NERR_NF_INT		"nerr_nf_int"
855254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECINT			"nrecint"
865254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECINT			"recint"
875254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECSF			"nrecsf"
885254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECSF			"recsf"
895254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RANK			"rank"
905254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_BANK			"bank"
915254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_CAS			"cas"
925254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RAS			"ras"
935254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_FERR_FAT_FBD		"ferr_fat_fbd"
945254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NERR_FAT_FBD		"nerr_fat_fbd"
955254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECMEMA		"nrecmema"
965254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECMEMB		"nrecmemb"
975254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECFGLOG		"nrecfglog"
985254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECFBDA		"nrecfbda"
995254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECFBDB		"nrecfbdb"
1005254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECFBDC		"nrecfbdc"
1015254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECFBDD		"nrecfbdd"
1025254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NRECFBDE		"nrecfbde"
1035761Saf #define	FM_EREPORT_PAYLOAD_NAME_NRECFBDF		"nrecfbdf"
1045254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_SPCPC			"spcpc"
1055254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_SPCPS			"spcps"
1065254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_UERRCNT			"uerrcnt"
1075254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_UERRCNT_LAST		"uerrcnt_last"
1085254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_BADRAMA			"badrama"
1095254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_BADRAMB			"badramb"
1105254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_BADCNT			"badcnt"
1115254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_MC			"mc"
1125254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_MCA			"mca"
1135254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_TOLM			"tolm"
1145254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_MIR			"mir"
1155254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_MTR			"mtr"
1165254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_DMIR			"dmir"
1175254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_FERR_NF_FBD		"ferr_nf_fbd"
1185254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_NERR_NF_FBD		"nerr_nf_fbd"
1195254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECMEMA			"recmema"
1205254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECMEMB			"recmemb"
1215254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECFGLOG		"recfglog"
1225254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECFBDA			"recfbda"
1235254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECFBDB			"recfbdb"
1245254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECFBDC			"recfbdc"
1255254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECFBDD			"recfbdd"
1265254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_RECFBDE			"recfbde"
1275761Saf #define	FM_EREPORT_PAYLOAD_NAME_RECFBDF			"recfbdf"
1285254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_CERRCNT			"cerrcnt"
1295254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_CERRCNT_LAST		"cerrcnt_last"
130*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_CERRCNTA		"cerrcnta"
131*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_CERRCNTB		"cerrcntb"
132*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_CERRCNTC		"cerrcntc"
133*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_CERRCNTD		"cerrcntd"
134*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_CERRCNTA_LAST		"cerrcnta_last"
135*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_CERRCNTB_LAST		"cerrcntb_last"
136*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_CERRCNTC_LAST		"cerrcntc_last"
137*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_CERRCNTD_LAST		"cerrcntd_last"
1385254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_PCISTS			"pcists"
1395254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_PEXDEVSTS		"pexdevsts"
1405254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_ERROR_NO		"intel-error-list"
1415254Sgavinm 
142*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_CTSTS			"ctsts"
143*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_THRTSTS			"thrtsts"
144*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_FERR_FAT_THR		"ferr_fat_thr"
145*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_NERR_FAT_THR		"nerr_fat_thr"
146*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_FERR_NF_THR		"ferr_nf_thr"
147*6359Saf #define	FM_EREPORT_PAYLOAD_NAME_NERR_NF_THR		"nerr_nf_thr"
148*6359Saf 
1495254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_ADDR			"addr"
1505254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_BANK_NUM		"bank-number"
1515254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_BANK_MISC		"bank-misc"
1525254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_BANK_STAT		"bank-status"
1535254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_BANK_OFFSET		"bank-offset"
1545254Sgavinm #define	FM_EREPORT_PAYLOAD_NAME_MC_TYPE			"mc-type"
1555254Sgavinm #define	FM_EREPORT_PAYLOAD_CPUID			"cpuid"
1565254Sgavinm 
1575254Sgavinm #define	FM_EREPORT_PAYLOAD_BQR				"Bus-queue-request"
1585254Sgavinm #define	FM_EREPORT_PAYLOAD_BQET				"Bus-queue-error-type"
1595254Sgavinm #define	FM_EREPORT_PAYLOAD_FRC				"FRC-error"
1605254Sgavinm #define	FM_EREPORT_PAYLOAD_BERR				"BERR"
1615254Sgavinm #define	FM_EREPORT_PAYLOAD_INT_BINT			"Internal-BINT"
1625254Sgavinm #define	FM_EREPORT_PAYLOAD_EXT_BINT			"External-BINT"
1635254Sgavinm #define	FM_EREPORT_PAYLOAD_BUS_BINT			"Bus-BINT"
1645254Sgavinm #define	FM_EREPORT_PAYLOAD_TO_BINT			"Timeout-BINT"
1655254Sgavinm #define	FM_EREPORT_PAYLOAD_HARD				"Hard-error"
1665254Sgavinm #define	FM_EREPORT_PAYLOAD_IERR				"IERR"
1675254Sgavinm #define	FM_EREPORT_PAYLOAD_AERR				"AERR"
1685254Sgavinm #define	FM_EREPORT_PAYLOAD_UERR				"UERR"
1695254Sgavinm #define	FM_EREPORT_PAYLOAD_CECC				"CECC"
1705254Sgavinm #define	FM_EREPORT_PAYLOAD_UECC				"UECC"
1715254Sgavinm #define	FM_EREPORT_PAYLOAD_ECC_SYND			"ECC-syndrome"
1725254Sgavinm 
1735254Sgavinm #define	FM_EREPORT_PAYLOAD_FSB_PARITY			"fsb-address-parity"
1745254Sgavinm #define	FM_EREPORT_PAYLOAD_RESP_HF			"response-hard-fail"
1755254Sgavinm #define	FM_EREPORT_PAYLOAD_RESP_PARITY			"response-parity"
1765254Sgavinm #define	FM_EREPORT_PAYLOAD_DATA_PARITY			"bus-data-parity"
1775254Sgavinm #define	FM_EREPORT_PAYLOAD_INV_PIC			"invalid-pic-request"
1785254Sgavinm #define	FM_EREPORT_PAYLOAD_PAD_SM			"pad-state-machine"
1795254Sgavinm #define	FM_EREPORT_PAYLOAD_PAD_SG			"pad-strobe-glitch"
1805254Sgavinm 
1815254Sgavinm #define	FM_EREPORT_PAYLOAD_TAG				"tag-error"
1825254Sgavinm #define	FM_EREPORT_PAYLOAD_TAG_CLEAN			"clean"
1835254Sgavinm #define	FM_EREPORT_PAYLOAD_TAG_HIT			"hit"
1845254Sgavinm #define	FM_EREPORT_PAYLOAD_TAG_MISS			"miss"
1855254Sgavinm #define	FM_EREPORT_PAYLOAD_DATA				"data-error"
1865254Sgavinm #define	FM_EREPORT_PAYLOAD_DATA_SINGLE			"single-bit"
1875254Sgavinm #define	FM_EREPORT_PAYLOAD_DATA_DBL_CLEAN		"double-bit-clean"
1885254Sgavinm #define	FM_EREPORT_PAYLOAD_DATA_DBL_MOD			"double-bit-modified"
1895254Sgavinm #define	FM_EREPORT_PAYLOAD_L3				"l3-cache"
1905254Sgavinm #define	FM_EREPORT_PAYLOAD_INV_PIC			"invalid-pic-request"
1915254Sgavinm #define	FM_EREPORT_PAYLOAD_CACHE_NERRORS		"cache-error-count"
1925254Sgavinm 
1935254Sgavinm #define	INTEL_NB_5000P	0x25d88086
1945254Sgavinm #define	INTEL_NB_5000V	0x25d48086
1955254Sgavinm #define	INTEL_NB_5000X	0x25c08086
1965254Sgavinm #define	INTEL_NB_5000Z	0x25d08086
197*6359Saf #define	INTEL_NB_5400	0x40008086
198*6359Saf #define	INTEL_NB_5400A	0x40018086
199*6359Saf #define	INTEL_NB_5400B	0x40038086
2005254Sgavinm #define	INTEL_NB_7300	0x36008086
2015254Sgavinm 
2025254Sgavinm #ifdef __cplusplus
2035254Sgavinm }
2045254Sgavinm #endif
2055254Sgavinm 
2065254Sgavinm #endif /* _MC_INTEL_H */
207