ea1a228c80597366447774aa1988868492330eb5schwartz * CDDL HEADER START
ea1a228c80597366447774aa1988868492330eb5schwartz * The contents of this file are subject to the terms of the
ea1a228c80597366447774aa1988868492330eb5schwartz * Common Development and Distribution License (the "License").
ea1a228c80597366447774aa1988868492330eb5schwartz * You may not use this file except in compliance with the License.
ea1a228c80597366447774aa1988868492330eb5schwartz * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ea1a228c80597366447774aa1988868492330eb5schwartz * See the License for the specific language governing permissions
ea1a228c80597366447774aa1988868492330eb5schwartz * and limitations under the License.
ea1a228c80597366447774aa1988868492330eb5schwartz * When distributing Covered Code, include this CDDL HEADER in each
ea1a228c80597366447774aa1988868492330eb5schwartz * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ea1a228c80597366447774aa1988868492330eb5schwartz * If applicable, add the following below this CDDL HEADER, with the
ea1a228c80597366447774aa1988868492330eb5schwartz * fields enclosed by brackets "[]" replaced with your own identifying
ea1a228c80597366447774aa1988868492330eb5schwartz * information: Portions Copyright [yyyy] [name of copyright owner]
ea1a228c80597366447774aa1988868492330eb5schwartz * CDDL HEADER END
ea1a228c80597366447774aa1988868492330eb5schwartz * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
ea1a228c80597366447774aa1988868492330eb5schwartz * Use is subject to license terms.
ea1a228c80597366447774aa1988868492330eb5schwartz#pragma ident "%Z%%M% %I% %E% SMI"
ea1a228c80597366447774aa1988868492330eb5schwartz * Tables to drive the N2 PIU performance counter driver.
ea1a228c80597366447774aa1988868492330eb5schwartz * Please see n2piupc-tables.h for an explanation of how the table is put
ea1a228c80597366447774aa1988868492330eb5schwartz * together.
ea1a228c80597366447774aa1988868492330eb5schwartz { IMU01_S_EVT_TOTAL_MONDO, IMU01_EVT_TOTAL_MONDO },
ea1a228c80597366447774aa1988868492330eb5schwartz { IMU01_S_EVT_TOTAL_MONDO, IMU01_EVT_TOTAL_MONDO },
ea1a228c80597366447774aa1988868492330eb5schwartz { MMU01_S_EVT_TBLWLK_STALL, MMU01_EVT_TBLWLK_STALL },
ea1a228c80597366447774aa1988868492330eb5schwartz { MMU01_S_EVT_BYPASS_TRANSL, MMU01_EVT_BYPASS_TRANSL },
ea1a228c80597366447774aa1988868492330eb5schwartz { MMU01_S_EVT_TRANSL_TRANSL, MMU01_EVT_TRANSL_TRANSL },
ea1a228c80597366447774aa1988868492330eb5schwartz { MMU01_S_EVT_FLOW_CNTL_STALL, MMU01_EVT_FLOW_CNTL_STALL },
ea1a228c80597366447774aa1988868492330eb5schwartz { MMU01_S_EVT_FLUSH_CACHE_ENT, MMU01_EVT_FLUSH_CACHE_ENT },
ea1a228c80597366447774aa1988868492330eb5schwartz { MMU01_S_EVT_TBLWLK_STALL, MMU01_EVT_TBLWLK_STALL },
ea1a228c80597366447774aa1988868492330eb5schwartz { MMU01_S_EVT_BYPASS_TRANSL, MMU01_EVT_BYPASS_TRANSL },
ea1a228c80597366447774aa1988868492330eb5schwartz { MMU01_S_EVT_TRANSL_TRANSL, MMU01_EVT_TRANSL_TRANSL },
ea1a228c80597366447774aa1988868492330eb5schwartz { MMU01_S_EVT_FLOW_CNTL_STALL, MMU01_EVT_FLOW_CNTL_STALL },
ea1a228c80597366447774aa1988868492330eb5schwartz { MMU01_S_EVT_FLUSH_CACHE_ENT, MMU01_EVT_FLUSH_CACHE_ENT },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU2_S_EVT_NONPST_CMPL_TIME, PEU2_EVT_NONPST_CMPL_TIME },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_XMT_POST_CR_UNAV, PEU01_EVT_XMT_POST_CR_UNAV },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_XMT_NPOST_CR_UNAV, PEU01_EVT_XMT_NPOST_CR_UNAV },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_XMT_CMPL_CR_UNAV, PEU01_EVT_XMT_CMPL_CR_UNAV },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_XMT_ANY_CR_UNAV, PEU01_EVT_XMT_ANY_CR_UNAV },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RETRY_CR_UNAV, PEU01_EVT_RETRY_CR_UNAV },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_MEMRD_PKT_RCVD, PEU01_EVT_MEMRD_PKT_RCVD },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_MEMWR_PKT_RCVD, PEU01_EVT_MEMWR_PKT_RCVD },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RCV_CR_THRESH, PEU01_EVT_RCV_CR_THRESH },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RCV_PST_HDR_CR_EXH, PEU01_EVT_RCV_PST_HDR_CR_EXH },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RCV_PST_DA_CR_MPS, PEU01_EVT_RCV_PST_DA_CR_MPS },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RCV_NPST_HDR_CR_EXH, PEU01_EVT_RCV_NPST_HDR_CR_EXH },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RCVR_L0S_TRANS, PEU01_EVT_RCVR_L0S_TRANS },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_XMTR_L0S_TRANS, PEU01_EVT_XMTR_L0S_TRANS },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_REPLAY_ROLLOVER, PEU01_EVT_REPLAY_ROLLOVER },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_XMT_POST_CR_UNAV, PEU01_EVT_XMT_POST_CR_UNAV },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_XMT_NPOST_CR_UNAV, PEU01_EVT_XMT_NPOST_CR_UNAV },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_XMT_CMPL_CR_UNAV, PEU01_EVT_XMT_CMPL_CR_UNAV },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_XMT_ANY_CR_UNAV, PEU01_EVT_XMT_ANY_CR_UNAV },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RETRY_CR_UNAV, PEU01_EVT_RETRY_CR_UNAV },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_MEMRD_PKT_RCVD, PEU01_EVT_MEMRD_PKT_RCVD },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_MEMWR_PKT_RCVD, PEU01_EVT_MEMWR_PKT_RCVD },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RCV_CR_THRESH, PEU01_EVT_RCV_CR_THRESH },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RCV_PST_HDR_CR_EXH, PEU01_EVT_RCV_PST_HDR_CR_EXH },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RCV_PST_DA_CR_MPS, PEU01_EVT_RCV_PST_DA_CR_MPS },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RCV_NPST_HDR_CR_EXH, PEU01_EVT_RCV_NPST_HDR_CR_EXH },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_RCVR_L0S_TRANS, PEU01_EVT_RCVR_L0S_TRANS },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_XMTR_L0S_TRANS, PEU01_EVT_XMTR_L0S_TRANS },
ea1a228c80597366447774aa1988868492330eb5schwartz { PEU01_S_EVT_REPLAY_ROLLOVER, PEU01_EVT_REPLAY_ROLLOVER },
ea1a228c80597366447774aa1988868492330eb5schwartz { BTERR3_S_EVT_ENC_LANE_0, BTERR3_EVT_ENC_LANE_0 },
ea1a228c80597366447774aa1988868492330eb5schwartz { BTERR3_S_EVT_ENC_LANE_1, BTERR3_EVT_ENC_LANE_1 },
ea1a228c80597366447774aa1988868492330eb5schwartz { BTERR3_S_EVT_ENC_LANE_2, BTERR3_EVT_ENC_LANE_2 },
ea1a228c80597366447774aa1988868492330eb5schwartz { BTERR3_S_EVT_ENC_LANE_3, BTERR3_EVT_ENC_LANE_3 },
ea1a228c80597366447774aa1988868492330eb5schwartz { BTERR3_S_EVT_ENC_LANE_4, BTERR3_EVT_ENC_LANE_4 },
ea1a228c80597366447774aa1988868492330eb5schwartz { BTERR3_S_EVT_ENC_LANE_5, BTERR3_EVT_ENC_LANE_5 },
ea1a228c80597366447774aa1988868492330eb5schwartz { BTERR3_S_EVT_ENC_LANE_6, BTERR3_EVT_ENC_LANE_6 },
ea1a228c80597366447774aa1988868492330eb5schwartz { BTERR3_S_EVT_ENC_LANE_7, BTERR3_EVT_ENC_LANE_7 },
ea1a228c80597366447774aa1988868492330eb5schwartz/* reg off, reg size, field mask */
ea1a228c80597366447774aa1988868492330eb5schwartz { SW_N2PIU_BITERR_CNT1_DATA, BE1_BAD_TLP_MASK, NO_REGISTER, 0},
ea1a228c80597366447774aa1988868492330eb5schwartz { SW_N2PIU_BITERR_CNT1_DATA, BE1_BAD_PRE_MASK, NO_REGISTER, 0},
ea1a228c80597366447774aa1988868492330eb5schwartz /* Note: this register is a layered SW-implemented register. */
ea1a228c80597366447774aa1988868492330eb5schwartz { SW_N2PIU_BITERR_CNT2_DATA, BE2_8_10_MASK, NO_REGISTER, 0},
ea1a228c80597366447774aa1988868492330eb5schwartz NULL /* Name kstats pointer, filled in at runtime. */
ea1a228c80597366447774aa1988868492330eb5schwartz NULL /* Name kstats pointer, filled in at runtime. */
ea1a228c80597366447774aa1988868492330eb5schwartz NULL /* Name kstats pointer, filled in at runtime. */
ea1a228c80597366447774aa1988868492330eb5schwartz NULL /* Name kstats pointer, filled in at runtime. */