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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
|
#-- $Id: p8.cxa.scom.initfile,v 1.4 2014/08/05 21:26:13 jmcgill Exp $
#-------------------------------------------------------------------------------
#--
#-- (C) Copyright International Business Machines Corp. 2013
#-- All Rights Reserved -- Property of IBM
#-- *** ***
#--
#-- TITLE : p8.cxa.scom.initfile
#-- DESCRIPTION : Perform CAPP configuration
#--
#-- OWNER NAME : Bill Daly Email: billdaly@us.ibm.com
#--
#--------------------------------------------------------------------------------
SyntaxVersion = 1
#--------------------------------------------------------------------------------
#-- Includes
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
#-- Defines
#--------------------------------------------------------------------------------
define capp_hang_control_on_scom = (ATTR_CHIP_EC_FEATURE_CAPP_HANG_CONTROL_ON_SCOM != 0);
define capp_prod = (ATTR_CHIP_EC_FEATURE_CAPP_PROD != 0);
#--------------------------------------------------------------------------------
#-- SCOM initializations
#--------------------------------------------------------------------------------
#-- APC Master Config Register
scom 0x02013019 {
bits , scom_data, expr;
4:7 , 0b0000, (capp_hang_control_on_scom); #-- HANG_POLL_SCALE
}
#-- CAPP Snoop Control Register
scom 0x0201301B {
bits , scom_data, expr;
45:47 , 0b111, (capp_prod); #-- CXA_SNP_MASTER_ADDRESS_PIPELINE_WAIT_COUNT
48:51 , 0b0010, (capp_hang_control_on_scom); #-- CXA_SNP_DATA_HANG_POLL_SCALE
}
#-- CAPP Transport Control Register
scom 0x0201301C {
bits , scom_data;
15:18 , 0b1000; #-- TLBI_DATA_POLL_PULSE_DIV
}
#-- CAPP Flush uOP1 Configuration Register
scom 0x02013803 {
bits , scom_data;
0:63 , 0xB188280728000000;
}
#-- CAPP Flush uOP2 Configuration Register
scom 0x02013804 {
bits , scom_data;
0:63 , 0xB188400F00000000;
}
#-- CXA FIR Action0/1 Registers
#-- action0,1 = 00 : checkstop
#-- 01 : recovered attention
#-- 10 : recoverable interrupt
#-- 11 : local checkstop = CAPP Machine Check
scom 0x02013006 {
bits , scom_data; #--Action
0 , 0b0; #-- 0b00 masked BAR PE
1 , 0b0; #-- 0b00 xstop Register PE
2 , 0b0; #-- 0b01 recovered attn Master Array CE
3 , 0b0; #-- 0b00 xstop Master Array UE
4 , 0b1; #-- 0b11 capp mach check Timer Expired Recoverable Epoch
5 , 0b0; #-- 0b00 xstop Timer Expired Xstop RCS sequencer hang
6 , 0b1; #-- 0b11 capp mach check PSL Cmd UE
7 , 0b1; #-- 0b11 capp mach check PSL Cmd SUE
8 , 0b0; #-- 0b01 recovered attn Snoop Array CE
9 , 0b0; #-- 0b00 xstop Snoop Array UE
10 , 0b0; #-- 0b00 xstop Recovery Failed
11 , 0b1; #-- 0b11 capp mach check Illegal LPC Bar Access DD2 only
12 , 0b1; #-- 0b11 capp mach check XPT Recoverable err DD2 only
13 , 0b1; #-- 0b11 capp mach check Master Recoverable Err
14 , 0b0; #-- 0b00 masked Spare
15 , 0b0; #-- 0b00 masked Scom satellite parity Err
16 , 0b0; #-- 0b00 xstop Master Sys Xstop Err
17 , 0b0; #-- 0b00 xstop Snooper Sys Xstop Err
18 , 0b0; #-- 0b00 xstop XPT Sys Xstop Err
19 , 0b0; #-- 0b00 masked Master Uop Err1 For Lab Use only
20 , 0b0; #-- 0b00 masked Master Uop Err2 For Lab Use only
21 , 0b0; #-- 0b00 masked Master Uop Err3 For Lab Use only
22 , 0b0; #-- 0b00 masked Snooper Uop Err1 For Lab Use only
23 , 0b0; #-- 0b00 masked Snooper Uop Err2 For Lab Use only
24 , 0b0; #-- 0b00 masked Snooper Uop Err3 For Lab Use only
25 , 0b0; #-- 0b00 xstop Unsolicited PowerBus Data or Cresp
26 , 0b0; #-- 0b00 xstop PowerBus parity Err
27 , 0b0; #-- 0b00 masked PowerBus Data Hang Err
28 , 0b0; #-- 0b00 masked PowerBus Hang Err
29 , 0b0; #-- 0b00 xstop PowerBus Address Err on LD class APC op
30 , 0b0; #-- 0b00 xstop PowerBus Address Err on ST class APC op
31 , 0b1; #-- 0b11 capp mach check PHB Link Down
32 , 0b0; #-- 0b00 masked LD class Foreign Link err
33 , 0b0; #-- 0b00 masked Foreign Link Hang err
34 , 0b0; #-- 0b01 recovered attn XPT PowerBus CE
35 , 0b0; #-- 0b00 masked XPT PowerBus UE
36 , 0b0; #-- 0b00 masked XPT PowerBus SUE
37 , 0b1; #-- 0b11 capp mach check TLBI Timeout Err
38 , 0b0; #-- 0b00 xstop TLBI Seq Err
39 , 0b0; #-- 0b00 xstop TLBI Bad Op Err
40 , 0b0; #-- 0b00 xstop TLBI Seq Num Parity Err
41 , 0b0; #-- 0b00 masked ST class Foreign Link Fail
42 , 0b0; #-- 0b00 masked TimeBase Err DD2 only
43 , 0b0; #-- 0b00 masked XPT Informational DD2 only
44 , 0b0; #-- 0b00 masked Spare
45 , 0b0; #-- 0b00 masked Spare
46 , 0b0; #-- 0b00 masked Spare
47 , 0b0; #-- 0b00 masked Scom satellite parity error Copy 1
48 , 0b0; #-- 0b00 masked Scom satellite parity error Copy 2
}
scom 0x02013007 {
bits , scom_data; #--Action
0 , 0b0; #-- 0b00 masked BAR PE
1 , 0b0; #-- 0b00 xstop Register PE
2 , 0b1; #-- 0b01 recovered attn Master Array CE
3 , 0b0; #-- 0b10 xstop Master Array UE
4 , 0b1; #-- 0b11 capp mach check Timer Expired Recoverable Epoch
5 , 0b0; #-- 0b00 xstop Timer Expired Xstop RCS sequencer hang
6 , 0b1; #-- 0b11 capp mach check PSL Cmd UE
7 , 0b1; #-- 0b11 capp mach check PSL Cmd SUE
8 , 0b1; #-- 0b01 recovered attn Snoop Array CE
9 , 0b0; #-- 0b00 xstop Snoop Array UE
10 , 0b0; #-- 0b00 xstop Recovery Failed
11 , 0b1; #-- 0b11 capp mach check Illegal LPC Bar Access DD2 only
12 , 0b1; #-- 0b11 capp mach check XPT Recoverable err DD2 only
13 , 0b1; #-- 0b11 capp mach check Master Recoverable Err
14 , 0b0; #-- 0b00 masked Spare
15 , 0b0; #-- 0b00 masked Scom satellite parity Err
16 , 0b0; #-- 0b00 xstop Master Sys Xstop Err
17 , 0b0; #-- 0b00 xstop Snooper Sys Xstop Err
18 , 0b0; #-- 0b00 xstop XPT Sys Xstop Err
19 , 0b0; #-- 0b00 masked Master Uop Err1 For Lab Use only
20 , 0b0; #-- 0b00 masked Master Uop Err2 For Lab Use only
21 , 0b0; #-- 0b00 masked Master Uop Err3 For Lab Use only
22 , 0b0; #-- 0b00 masked Snooper Uop Err1 For Lab Use only
23 , 0b0; #-- 0b00 masked Snooper Uop Err2 For Lab Use only
24 , 0b0; #-- 0b00 masked Snooper Uop Err3 For Lab Use only
25 , 0b0; #-- 0b00 xstop Unsolicited PowerBus Data or Cresp
26 , 0b0; #-- 0b00 xstop PowerBus parity Err
27 , 0b0; #-- 0b00 masked PowerBus Data Hang Err
28 , 0b0; #-- 0b00 masked PowerBus Hang Err
29 , 0b0; #-- 0b00 xstop PowerBus Address Err on LD class APC op
30 , 0b0; #-- 0b00 xstop PowerBus Address Err on ST class APC op
31 , 0b1; #-- 0b11 capp mach check PHB Link Down
32 , 0b0; #-- 0b00 masked LD class Foreign Link err
33 , 0b0; #-- 0b00 masked Foreign Link Hang err
34 , 0b1; #-- 0b01 recovered attn XPT PowerBus CE
35 , 0b0; #-- 0b00 masked XPT PowerBus UE
36 , 0b0; #-- 0b00 masked XPT PowerBus SUE
37 , 0b1; #-- 0b11 capp mach check TLBI Timeout Err
38 , 0b0; #-- 0b00 xstop TLBI Seq Err
39 , 0b0; #-- 0b00 xstop TLBI Bad Op Err
40 , 0b0; #-- 0b00 xstop TLBI Seq Num Parity Err
41 , 0b0; #-- 0b00 masked ST class Foreign Link Fail
42 , 0b0; #-- 0b00 masked TimeBase Err DD2 only
43 , 0b0; #-- 0b00 masked XPT Informational DD2 only
44 , 0b0; #-- 0b00 masked Spare
45 , 0b0; #-- 0b00 masked Spare
46 , 0b0; #-- 0b00 masked Spare
47 , 0b0; #-- 0b00 masked Scom satellite parity error Copy 1
48 , 0b0; #-- 0b00 masked Scom satellite parity error Copy 2
}
#-- CXA CAPP FIR Mask Register
scom 0x02013003 {
bits , scom_data, expr;
0 , 0b1, any; #-- BAR PE
1 , 0b1, (!capp_prod); #-- mask for DD1 Register PE
1 , 0b0, (capp_prod); #-- Register PE
2 , 0b0, any; #-- Master Array CE
3 , 0b0, any; #-- Master Array UE
4 , 0b0, any; #-- Timer Expired Recoverable Epoch
5 , 0b0, any; #-- Timer Expired Xstop RCS sequencer hang
6 , 0b0, any; #-- PSL Cmd UE
7 , 0b0, any; #-- PSL Cmd SUE
8 , 0b0, any; #-- Snoop Array CE
9 , 0b0, any; #-- Snoop Array UE
10 , 0b0, any; #-- Recovery Failed
11 , 0b1, (!capp_prod); #-- mask for DD1 Illegal LPC Bar Access DD2 only
11 , 0b0, (capp_prod); #-- Illegal LPC Bar Access DD2 only
12 , 0b1, (!capp_prod); #-- mask for DD1 XPT Recoverable err DD2 only
12 , 0b0, (capp_prod); #-- XPT Recoverable err DD2 only
13 , 0b0, any; #-- Master Recoverable Err
14 , 0b1, any; #-- Spare
15 , 0b1, any; #-- Scom satellite parity Err
16 , 0b0, any; #-- Master Sys Xstop Err
17 , 0b0, any; #-- Snooper Sys Xstop Err
18 , 0b1, (!capp_prod); #-- mask for DD1 XPT Sys Xstop Err
18 , 0b0, (capp_prod); #-- XPT Sys Xstop Err
19 , 0b1, any; #-- Master Uop Err1 For Lab Use only
20 , 0b1, any; #-- Master Uop Err2 For Lab Use only
21 , 0b1, any; #-- Master Uop Err3 For Lab Use only
22 , 0b1, any; #-- Snooper Uop Err1 ³or Lab Use only
23 , 0b1, any; #-- Snooper Uop Err2 ³or Lab Use only
24 , 0b1, any; #-- Snooper Uop Err3 ³or Lab Use only
25 , 0b0, any; #-- Unsolicited PowerBus Data or Cresp
26 , 0b1, (!capp_prod); #-- mask for DD1 PowerBus Parity Err
26 , 0b0, (capp_prod); #-- PowerBus Parity Err
27 , 0b1, any; #-- PowerBus Data Hang Err
28 , 0b1, any; #-- PowerBus Hang Err
29 , 0b0, any; #-- PowerBus Address Err on LD class APC op
30 , 0b0, any; #-- PowerBus Address Err on ST class APC op
31 , 0b0, any; #-- PHB Link Down
32 , 0b1, any; #-- LD class Foreign Link err
33 , 0b1, any; #-- Foreign Link Hang err
34 , 0b0, any; #-- XPT PowerBus CE
35 , 0b1, any; #-- XPT PowerBus UE
36 , 0b1, any; #-- XPT PowerBus SUE
37 , 0b0, any; #-- TLBI Timeout Err
38 , 0b0, any; #-- TLBI Seq Err
39 , 0b0, any; #-- TLBI Bad Op Err
40 , 0b0, any; #-- TLBI Seq Num Parity Err
41 , 0b1, any; #-- ST class Foreign Link Fail
42 , 0b1, any; #-- TimeBase Err DD2 only
43 , 0b1, any; #-- XPT Informational DD2 only
44 , 0b1, any; #-- Spare
45 , 0b1, any; #-- Spare
46 , 0b1, any; #-- Spare
47 , 0b1, any; #-- Scom satellite parity error Copy 1
48 , 0b1, any; #-- Scom satellite parity error Copy 2
}
|