summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/initfiles/p8.mcs.scom.initfile
blob: 97a97e4cee8ead2cd3d4dd746dd1260d2b075bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
#-- $Id: p8.mcs.scom.initfile,v 1.12 2014/01/08 18:22:31 baysah Exp $
#-- CHANGE HISTORY:
#--------------------------------------------------------------------------------
#-- Version:|Author: | Date:  | Comment:
#-- --------|--------|--------|--------------------------------------------------
#--         |        |        |
#--     1.12|baysah  |01/08/14|- Moved ECC bypass qualifier from MCMODE1(63) TO MCMODE1(62), bit 63 is perfmon.
#--         |        |        |
#--     1.10|jmcgill |05/07/13|- Qualify ECC bypass disable by risk level
#--         |        |        |
#--      1.9|baysah  |05/05/13|- Disabled MCMODE1Q_DISABLE_FASTPATH_CRC_ECC_BYPASS and MCMODE0Q_CL_CHANNEL_TIMEOUT_FORCES_CHANNEL_FAIL.
#--         |        |        |
#--      1.7|baysah  |04/26/13|- Disabled MCMODE0Q_ENABLE_FAULT_LINE_FOR_GLOBAL_CHECKSTOP per firmware request for MPIPL.
#--         |        |        |
#--      1.6|baysah  |04/25/13|- Fix problem with incorrectly setting mcmode0 bit 1 which is marked as reserved, but its actually used to
#--         |        |        |- reset MCS channel fail.
#--         |        |        |
#--      1.4|baysah  |04/23/13|- Disable MCS bypass for dd1 less than 2.0 for defect HW247907
#--         |        |        |
#--      1.3|baysah  |04/04/13|- Set MCI Replay timeout value to 2ms.
#--         |        |        |- Disable MCS arbiter blocking after checkstop.
#--         |        |        |
#-- --------|--------|--------|--------------------------------------------------
#--      1.0|baysah  |08/12/12|Created MCS init file
#-- --------|--------|--------|--------------------------------------------------
#--------------------------------------------------------------------------------
# End of revision history
#--------------------------------------------------------------------------------

#--Master list of variables that can be used in this file is at:
#--<Attribute Definition Location>

SyntaxVersion = 1

#--------------------------------------------------------------------------------
#-- Defines
#--------------------------------------------------------------------------------

# disable ECC bypass if instructed to by EC feature attribute AND
# running risk level 0
define ecc_bypass_disable = ((TGT1.ATTR_CHIP_EC_FEATURE_MCS_ECC_BYPASS_DISABLE != 0x0) && (SYS.ATTR_RISK_LEVEL == ENUM_ATTR_RISK_LEVEL_RL0));


#--******************************************************************************
#-- MCS Mode0 Register
#--******************************************************************************
 scom 0x0000000002011807              {
     bits ,                    scom_data     ,     expr                ;
     0    ,                    0b1           ,     any                 ;              # MCMODE0Q_ENABLE_CMD_BYP_STUTTER
     1    ,                    0b0           ,     any                 ;              # MCMODE0Q_RESERVED Reserved
     2    ,                    0b1           ,     any                 ;              # MCMODE0Q_ENABLE_NS_RD_AO_SFU_FOR_DCBZ
     3    ,                    0b1           ,     any                 ;              # MCMODE0Q_ENABLE_CENTAUR_LOCAL_CHECKSTOP_COMMAND
     4:7  ,                    0xF           ,     any                 ;              # MCMODE0Q_L3_PREFETCH_RETRY_THRESHOLD
     8:11 ,                    0x0           ,     any                 ;              # MCMODE0Q_Number_of_CL_Entries_Reserved_for_Read
     12:15,                    0x1           ,     any                 ;              # MCMODE0Q_NUMBER_OF_CL_ENTRIES_RESERVED_FOR_MIRRORED_OPS
     16:19,                    0x0           ,     any                 ;              # MCMODE0Q_NUMBER_OF_CL_ENTRIES_RESERVED_FOR_WRITES
     20:23,                    0x1           ,     any                 ;              # MCMODE0Q_NUMBER_OF_CL_ENTRIES_RESERVED_FOR_CP_WRITES
     24:27,                    0x1           ,     any                 ;              # MCMODE0Q_NUMBER_OF_CL_ENTRIES_RESERVED_FOR_CP_IG
     28:31,                    0x0           ,     any                 ;              # MCMODE0Q_NUMBER_OF_CL_ENTRIES_RESERVED_FOR_HTM_OPS
     32:35,                    0x0           ,     any                 ;              # MCMODE0Q_NUMBER_OF_CL_ENTRIES_RESERVED_FOR_HA_ASSIST
     36   ,                    0b1           ,     any                 ;              # MCMODE0Q_MCFGRP_19_IS_HO_BIT
     37   ,                    0b0           ,     any                 ;              # MCMODE0Q_CL_CHANNEL_TIMEOUT_FORCES_CHANNEL_FAIL
     38   ,                    0b0           ,     any                 ;              # MCMODE0Q_ENABLE_FAULT_LINE_FOR_GLOBAL_CHECKSTOP
     39:43,                    0b00000       ,     any                 ;              # MCMODE0Q_RESERVED_39_43 Reserved
     44:52,                    0b001100010   ,     any                 ;              # MCMODE0Q_ADDRESS_COLLISION_MODES
     53   ,                    0b0           ,     any                 ;              # MCMODE0Q_INCLUDE_CP_IG_IN_CP_WRITE_FULLNESS_GROUP
     54   ,                    0b1           ,     any                 ;              # MCMODE0Q_ENABLE_DMAWR_CMD_BIT
     55   ,                    0b0           ,     any                 ;              # MCMODE0Q_ENABLE_READ_LFSR_DATA
     56   ,                    0b0           ,     any                 ;              # MCMODE0Q_FORCE_CHANNEL_FAIL
     57   ,                    0b0           ,     any                 ;              # MCMODE0Q_DISABLE_READ_CRC_ECC_BYPASS_TAKEN
     58   ,                    0b0           ,     any                 ;              # MCMODE0Q_DISABLE_CL_AO_QUEUES
     59:60,                    0b00          ,     any                 ;              # MCMODE0Q_ADDRESS_SELECT_LFSR_VALUE  (4k)
     61   ,                    0b0           ,     any                 ;              # MCMODE0Q_ENABLE_CENTAUR_SYNC
     62   ,                    0b0           ,     any                 ;              # MCMODE0Q_WRITE_DATA_BUFFER_ECC_CHECK_DISABLE
     63   ,                    0b0           ,     any                 ;              # MCMODE0Q_WRITE_DATA_BUFFER_ECC_CORRECT_DISABLE

 }


#--******************************************************************************
#-- MCS Mode1 Register
#--******************************************************************************
 scom 0x0000000002011808              {
     bits ,                    scom_data           ,     expr             ;
     0    ,                    0b0                 ,     any              ;    # MCMODE1Q_DISABLE_ADDRESS_SELECT_LFSR_MODE
     1    ,                    0b0                 ,     any              ;    # MCMODE1Q_NODAL_SCOPE_MCD_VALID
     2:6  ,                    0b00000             ,     any              ;    # MCMODE1Q_DISABLE_HIGH_PRIORITY
     7:9  ,                    0b111               , (ecc_bypass_disable) ;    # MCMODE1Q_DISABLE_CRC_ECC_BYPASS
     10:15,                    0b000000            ,     any              ;    # MCMODE1Q_DISABLE_READ_ALLOCATION_TO_CACHE
     16   ,                    0b0                 ,     any              ;    # MCMODE1Q_DISABLE_READ_ALLOCATION_TO_CACHE_FOR_FASTPATH_OP
     17   ,                    0b0                 ,     any              ;    # MCMODE1Q_ENABLE_CRC_ECC_BYPASS_NODAL_SCOPE_ONLY
     18:26,                    0b000000000         ,     any              ;    # MCMODE1Q_DISABLE_SPEC_OPS_BY_SOURCE_AND_OR_SCOPE
     27:30,                    0b0000              ,     any              ;    # MCMODE1Q_DISABLE_PREFETCH
     31   ,                    0b0                 ,     any              ;    # MCMODE1Q_DISABLE_ALL_SPEC_OPS
     32:48,                    0b00000000000000000 ,     any              ;    # MCMODE1Q_DISABLE_SPEC_OPS
     49   ,                    0b0                 ,     any              ;    # MCMODE1Q_DISABLE_OP_SOURCE_AND_SCOPE
     50:51,                    0b00                ,     any              ;    # MCMODE1Q_DISABLE_CACHE_INHIBITED
     52   ,                    0b0                 ,     any              ;    # MCMODE1Q_DISABLE_ALL_MCS_COMMAND_BYPASS
     53:59,                    0b0000000           ,     any              ;    # MCMODE1Q_DISABLE_MCS_COMMAND_BYPASS
     60   ,                    0b0                 ,     any              ;    # MCMODE1Q_ENABLE_DISABLE_SPEC_READ_FOR_NONDMA_GROUP_PUMP_LOCAL_READ
     61   ,                    0b0                 ,     any              ;    # MCMODE1Q_ENABLE_DISABLE_SPEC_READ_FOR_NONDMA_SYSTEM_PUMP_LOCAL_READ
     62   ,                    0b1                 , (ecc_bypass_disable) ;    # MCMODE1Q_DISABLE_FASTPATH_MCS_COMMAND_BYPASS
     63   ,                    0b1                 ,     any              ;    # MCMODE1Q_DISABLE_FASTPATH_CRC_ECC_BYPASS

 }


#--******************************************************************************
#-- MCS Mode2 Register
#--******************************************************************************
 scom 0x0000000002011809              {
     bits ,                    scom_data        ;
     0    ,                    0b0              ;              # MCMODE2Q_FORCE_SFSTAT_GLOBAL
     1:13 ,                    0b0000000000000  ;              # MCMODE2Q_DISABLE_WRITE_MDI_TO_ZERO
     14   ,                    0b0              ;              # MCMODE2Q_DISABLE_SFU_OPERATIONS
     15   ,                    0b0              ;              # MCMODE2Q_DISABLE_FASTPATH_QOS
     16   ,                    0b0              ;              # MCMODE2Q_ENABLE_2K_SPEC_READ_DISABLE_COUNTERS
     17   ,                    0b0              ;              # MCMODE2Q_ENABLE_ZERO_SPEC_HASH_ADDR_48_TO_50
     18   ,                    0b0              ;              # MCMODE2Q_DISABLE_SPEC_DISABLE_HINT_BIT
     19   ,                    0b0              ;              # MCMODE2Q_ENABLE_RESET_2K_COUNT_IF_HINT_BIT_SET
     20:23,                    0x0              ;              # MCMODE2Q_D2K_SPEC_FILTER_COUNTER_LFSR_INC_SELECT
     24:27,                    0x0              ;              # MCMODE2Q_D2K_SPEC_FILTER_COUNTER_LFSR_DEC__SELECT
     28   ,                    0b0              ;              # MCMODE2Q_SPEC_READ_FILTER_NO_HASH_MODE
     29   ,                    0b1              ;              # MCMODE2Q_ENABLE_CHANNEL_HANG
     30:35,                    0b111111         ;              # MCMODE2Q_READ_SPECULATION_DISABLE_THRESHOLD
     36:38,                    0b010            ;              # MCMODE2Q_CHANNEL_ARB_WRITE_HP_THRESHOLD
     39   ,                    0b0              ;              # MCMODE2Q_DISABLE_BAD_CRESP_TO_CENTAUR
     40   ,                    0b1              ;              # MCMODE2Q_ENABLE_CRC_BYPASS_ALWAYS
     41:43,                    0b011            ;              # MCMODE2Q_CHANNEL_HANG_VALUE
     44   ,                    0b1              ;              # MCMODE2Q_ENABLE_RD_HANG
     45   ,                    0b1              ;              # MCMODE2Q_ENABLE_WR_HANG
     46   ,                    0b1              ;              # MCMODE2Q_ENABLE_MIRROR_RD_HANG
     47   ,                    0b1              ;              # MCMODE2Q_ENABLE_MIRROR_WR_HANG
     48   ,                    0b1              ;              # MCMODE2Q_ENABLE_AO_HANG
     49   ,                    0b1              ;              # MCMODE2Q_ENABLE_INBAND_HANG
     50:52,                    0b101            ;              # MCMODE2Q_NONMIRROR_HANG_VALUE
     53:55,                    0b111            ;              # MCMODE2Q_MIRROR_HANG_VALUE
     56   ,                    0b1              ;              # MCMODE2Q_ENABLE_EMER_THROTTLE
     57   ,                    0b0              ;              # MCMODE2Q_DRIVE_SHARED_PRESP_WITH_LOST_CLAIM
     58   ,                    0b0              ;              # MCMODE2Q_DISABLE_SHARED_PRESP_ABORT
     59   ,                    0b0              ;              # MCMODE2Q_DISABLE_RTY_LOST_CLAIM_PRESP
     60   ,                    0b0              ;              # MCMODE2Q_DRIVE_BC4_WRITE_COMMAND
     61   ,                    0b1              ;              # MCMODE2Q_ENABLE_CENTAUR_CHECKSTOP_COMMAND
     62   ,                    0b1              ;              # MCMODE2Q_ENABLE_CENTAUR_TRACESTOP_COMMAND
     63   ,                    0b0              ;              # MCMODE2Q_ENABLE_EVENT_BUS_B

 }


#--******************************************************************************
#-- MCS Mode3 Register
#--******************************************************************************
 scom 0x000000000201180A              {
     bits ,                    scom_data        ;
     24   ,                    0b1              ;              # MCMODE3Q_ENABLE_LOCAL_TIMEOUT_TIMEBASE
     25:30,                    0b000001         ;              # MCMODE3Q_LOCAL_TIMEOUT_TIMEBASE_THRESHOLD
}


#--******************************************************************************
#-- MCS Mode4 Register
#--******************************************************************************
 scom 0x000000000201181A              {
     bits ,                    scom_data        ;
      1:3,                     0b111            ;              # DISABLE INTERFACE AND ARBITER BLOCKING DURING INTERNAL MCS CHECKSTOP
     17:18,                    0b01             ;              # MCMODE4Q_SELECT_RPTHANG_DECODE
     19   ,                    0b1              ;              # MCMODE4Q_LOCAL_TIMEBASE_SELECT
     21   ,                    0b1              ;              # MCMODE4Q_DISABLE_POWERBUS_READ_AND_WRITE_RAMPS_DURING_CHECKSTOP
}

#--******************************************************************************
#-- MC Busy Control Register
#--******************************************************************************
 scom 0x0000000002011818              {
     bits ,                    scom_data        ;
     0    ,                    0b0              ;              # MCBUSYQ_ENABLE_BUSY_COUNTERS
     1:3  ,                    0b100            ;              # MCBUSYQ_BUSY_COUNTER_WINDOW_SELECT (256 Cycles)
     4:13 ,                    0b0000000000     ;              # MCBUSYQ_BUSY_COUNTER_THRESHOLD0
     14:23,                    0b0000000000     ;              # MCBUSYQ_BUSY_COUNTER_THRESHOLD1
     24:33,                    0b0000000000     ;              # MCBUSYQ_BUSY_COUNTER_THRESHOLD2
     34:43,                    0b0000000000     ;              # MCBUSYQ_BUSY_COUNTER_THRESHOLD3
}


#--******************************************************************************
#-- MCI Configuration Register
#--******************************************************************************
 scom 0x000000000201184A              {
     bits ,                    scom_data        ;
     0    ,                    0b0              ;              # MCICFGQ_FORCE_CHANNEL_FAIL
     1    ,                    0b0              ;              # MCICFGQ_REPLAY_CRC_DISABLE
     2    ,                    0b0              ;              # MCICFGQ_REPLAY_NOACK_DISABLE
     3    ,                    0b0              ;              # MCICFGQ_REPLAY_OUTOFORDER_DISABLE
     4    ,                    0b0              ;              # MCICFGQ_FORCE_LFSR_REPLAY
     5    ,                    0b0              ;              # MCICFGQ_CRC_CHECK_DISABLE
     6    ,                    0b0              ;              # MCICFGQ_ECC_CHECK_DISABLE
     7    ,                    0b0              ;              # MCICFGQ_START_FRAME_LOCK
     8    ,                    0b0              ;              # MCICFGQ_START_FRTL
     9    ,                    0b0              ;              # MCICFGQ_AUTO_FRTL_DISABLE
     10:16,                    0b0000000        ;              # MCICFGQ_MANUAL_FRTL_VALUE
     17   ,                    0x0              ;              # MCICFGQ_MANUAL_FRTL_DONE
     18   ,                    0b0              ;              # MCICFGQ_ECC_CORRECT_DISABLE
     19   ,                    0b0              ;              # MCICFGQ_SPARE1
     20   ,                    0b0              ;              # MCICFGQ_LANE_VOTING_BYPASS
     21:25,                    0b00000          ;              # MCICFGQ_BAD_LANE_VALUE
     26   ,                    0b0              ;              # MCICFGQ_BAD_LANE_VOTING_DISABLE
     27:32,                    0b001001         ;              # MCICFGQ_NO_FORWARD_PROGRESS_TIMEOUT_VALUE (0x09 = 9 => 1ms)
     33:34,                    0b00             ;              # MCICFGQ_PERFORMANCE_DEGRADATION_PERCENT_SELECT
     35:36,                    0b00             ;              # MCICFGQ_CHANNEL_INITIALIZATION_STATE_MACHINE_TIMEOUT_VALUE
     37   ,                    0b0              ;              # MCICFGQ_RESET_KEEPER
     38:41,                    0b0001           ;              # MCICFGQ_REPLAY_DELAY_VALUE (set to 1 for pSeries, which is default value)
     42:43,                    0b00             ;              # MCICFGQ_RESERVED

 }


OpenPOWER on IntegriCloud