summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/system_attributes.xml
blob: 0a2d12285c9e61ee327f56b3f6653b4c4ba6935b (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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<!-- IBM_PROLOG_BEGIN_TAG                                                   -->
<!-- This is an automatically generated prolog.                             -->
<!--                                                                        -->
<!-- $Source: src/usr/hwpf/hwp/system_attributes.xml $                      -->
<!--                                                                        -->
<!-- OpenPOWER HostBoot Project                                             -->
<!--                                                                        -->
<!-- COPYRIGHT International Business Machines Corp. 2012,2014              -->
<!--                                                                        -->
<!-- Licensed under the Apache License, Version 2.0 (the "License");        -->
<!-- you may not use this file except in compliance with the License.       -->
<!-- You may obtain a copy of the License at                                -->
<!--                                                                        -->
<!--     http://www.apache.org/licenses/LICENSE-2.0                         -->
<!--                                                                        -->
<!-- Unless required by applicable law or agreed to in writing, software    -->
<!-- distributed under the License is distributed on an "AS IS" BASIS,      -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        -->
<!-- implied. See the License for the specific language governing           -->
<!-- permissions and limitations under the License.                         -->
<!--                                                                        -->
<!-- IBM_PROLOG_END_TAG                                                     -->

<!-- $Id: system_attributes.xml,v 1.20 2014/03/10 11:42:10 whs Exp $ -->
<!--
    XML file specifying HWPF attributes.
    These are platInit attributes associated with the system.
    These attributes are not associated with particular targets.
    Each execution platform must initialize.
    -->

<attributes>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_EXECUTION_PLATFORM</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Which execution platform the HW Procedure is running on
            Some HWPs (e.g. special wakeup) use different registers for different
            platforms to avoid arbitration problems when multiple platforms do
            the same thing concurrently
        </description>
        <valueType>uint8</valueType>
        <enum>HOST = 0x01, FSP = 0x02, OCC = 0x03</enum>
        <platInit/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_IS_SIMULATION</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>env: 1 = Awan/HWSimulator. 0 = Simics/RealHW.</description>
        <valueType>uint8</valueType>
        <platInit/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_MNFG_FLAGS</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            The manufacturing flags.
            This is a bitfield. Each bit is a flag and multiple flags can be set
        </description>
        <valueType>uint64</valueType>
        <enum>
            MNFG_NO_FLAG                        = 0x0000000000000000,
            MNFG_THRESHOLDS                     = 0x0000000000000001,
            MNFG_AVP_ENABLE                     = 0x0000000000000002,
            MNFG_HDAT_AVP_ENABLE                = 0x0000000000000004,
            MNFG_SRC_TERM                       = 0x0000000000000008,
            MNFG_IPL_MEMORY_CE_CHECKING         = 0x0000000000000010,
            MNFG_FAST_BACKGROUND_SCRUB          = 0x0000000000000020,
            MNFG_TEST_DRAM_REPAIRS              = 0x0000000000000040,
            MNFG_DISABLE_DRAM_REPAIRS           = 0x0000000000000080,
            MNFG_ENABLE_EXHAUSTIVE_PATTERN_TEST = 0x0000000000000100,
            MNFG_ENABLE_STANDARD_PATTERN_TEST   = 0x0000000000000200,
            MNFG_ENABLE_MINIMUM_PATTERN_TEST    = 0x0000000000000400,
            MNFG_DISABLE_FABRIC_eREPAIR         = 0x0000000000000800,
            MNFG_DISABLE_MEMORY_eREPAIR         = 0x0000000000001000,
            MNFG_FABRIC_DEPLOY_LANE_SPARES      = 0x0000000000002000,
            MNFG_DMI_DEPLOY_LANE_SPARES         = 0x0000000000004000,
            MNFG_PSI_DIAGNOSTIC                 = 0x0000000000008000,
            MNFG_BRAZOS_WRAP_CONFIG             = 0x0000000000010000
        </enum>
        <platInit/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_IS_MPIPL</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>1 = in Memory Preserving IPL mode. 0 = in normal IPL mode.</description>
        <valueType>uint8</valueType>
        <platInit/>
        <writeable/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_PROC_EPS_TABLE_TYPE</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Processor epsilon table type. Used to calculate the processor nest
            epsilon register values.
            Provided by the Machine Readable Workbook.
        </description>
        <valueType>uint8</valueType>
        <enum>EPS_TYPE_LE = 0x01, EPS_TYPE_HE = 0x02, EPS_TYPE_1S = 0x03</enum>
        <platInit/>
        <persistRuntime/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_PROC_FABRIC_PUMP_MODE</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Processor SMP Fabric broadcast scope configuration.
            MODE1 = default = chip/group/system/remote group/foreign.
            MODE2 = group/system/remote group/foreign.
            Provided by the Machine Readable Workbook.
        </description>
        <valueType>uint8</valueType>
        <enum>MODE1 = 0x01, MODE2 = 0x02</enum>
        <platInit/>
        <persistRuntime/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_PROC_X_BUS_WIDTH</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Processor SMP X bus width.
            Provided by the Machine Readable Workbook.
        </description>
        <valueType>uint8</valueType>
        <enum>W4BYTE = 0x01, W8BYTE = 0x02</enum>
        <platInit/>
        <persistRuntime/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_ALL_MCS_IN_INTERLEAVING_GROUP</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            If all MCS chiplets are in an interleaving group (1=true, 0=false).
            If true the SMP fabric is setup in normal mode.
            If false the SMP fabric is setup in checkerboard mode.
            Provided by the Machine Readable Workbook.
        </description>
        <valueType>uint8</valueType>
        <platInit/>
        <persistRuntime/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_NEST_FREQ_MHZ</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Nest Freq for system in MHz
        </description>
        <valueType>uint32</valueType>
        <platInit/>
        <writeable/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_BOOT_FREQ_MHZ</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>Boot frequency in MHZ.</description>
        <valueType>uint32</valueType>
        <platInit/>
        <writeable/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_EX_GARD_BITS</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Vector to communicate the guarded EX chiplets to SBE
            One Guard bit per EX chiplet, bit location aligned to chiplet ID
            (bit 16: EX00, bit 17: EX01, bit 18: EX02 ... bit 31: EX15)
            Guarded EX chiplets are marked by a '1'.
        </description>
        <valueType>uint32</valueType>
        <platInit/>
        <writeable/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_DISABLE_I2C_ACCESS</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Set to skip physical access to i2c interface in SBE execution.
            Consumed by SBE hooks to permit skipping of selected code when
            running on a test platform (i.e., wafer) which does not have a physical
            SEEPROM connected.
        </description>
        <valueType>uint8</valueType>
        <platInit/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_PIB_I2C_REFCLOCK</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            i2c reference clock for the system
        </description>
        <valueType>uint32</valueType>
        <platInit/>
        <writeable/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_PIB_I2C_NEST_PLL</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            i2c pll for the system
        </description>
        <valueType>uint32</valueType>
        <platInit/>
        <writeable/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_SBE_IMAGE_OFFSET</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            HostBoot image for SBE, offset to account for ECC
        </description>
        <valueType>uint32</valueType>
        <platInit/>
        <writeable/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_BOOT_VOLTAGE</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Boot Voltage for system
        </description>
        <valueType>uint32</valueType>
        <platInit/>
        <writeable/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_RISK_LEVEL</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Defines risk level to consider for initialization values applied during IPL.
            Risk level 0 should contain solutions for all known errata, and may sacrifice performance to avoid data integrity issue/error checking cases.
            Risk level 100 may introduce data integrity/error scenarios to provide full performance or visibility to state space/coverage behind known issues.
        </description>
        <valueType>uint32</valueType>
        <enum>
            RL0 = 0x000,
            RL100 = 0x100
        </enum>
        <platInit/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_PROC_REFCLOCK_RCVR_TERM</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Defines system specific value of processor refclock receiver termination (FSI GP4 bits 8:9)
        </description>
        <valueType>uint8</valueType>
        <platInit/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_PCI_REFCLOCK_RCVR_TERM</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Defines system specific value of PCI refclock receiver termination (FSI GP4 bits 10:11)
        </description>
        <valueType>uint8</valueType>
        <platInit/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_MEM_FILTER_PLL_SOURCE</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Defines source of MEM filter PLL input (FSI GP4 bit 23)
        </description>
        <valueType>uint8</valueType>
        <enum>
            PROC_REFCLK = 0x0,
            PCI_REFCLK = 0x1
        </enum>
        <platInit/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_MULTI_SCOM_BUFFER_MAX_SIZE</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Defines maximum size of data buffer to allocate for optimal
            performance with platform implementation of fapiMultiScom API.
        </description>
        <valueType>uint64</valueType>
        <enum>
            MULTI_SCOM_BUFFER_SIZE_1KB   = 0x0000000000000400,
            MULTI_SCOM_BUFFER_SIZE_2KB   = 0x0000000000000800,
            MULTI_SCOM_BUFFER_SIZE_4KB   = 0x0000000000001000,
            MULTI_SCOM_BUFFER_SIZE_8KB   = 0x0000000000002000,
            MULTI_SCOM_BUFFER_SIZE_16KB  = 0x0000000000004000,
            MULTI_SCOM_BUFFER_SIZE_32KB  = 0x0000000000008000,
            MULTI_SCOM_BUFFER_SIZE_64KB  = 0x0000000000010000,
            MULTI_SCOM_BUFFER_SIZE_128KB = 0x0000000000020000,
            MULTI_SCOM_BUFFER_SIZE_256KB = 0x0000000000040000,
            MULTI_SCOM_BUFFER_SIZE_512KB = 0x0000000000080000,
            MULTI_SCOM_BUFFER_SIZE_1MB   = 0x0000000000100000
        </enum>
        <platInit/>
        <persistRuntime/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_RECONFIGURE_LOOP</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Used to inidicate if a reconfigure loop is needed
        </description>
        <valueType>uint8</valueType>
        <enum>
            DECONFIGURE      = 0x1,
            BAD_DQ_BIT_SET   = 0x2
        </enum>
        <writeable/>
    </attribute>
    <!-- ********************************************************************* -->
    <attribute>
        <id>ATTR_PM_HWP_ATTR_VERSION</id>
        <targetType>TARGET_TYPE_SYSTEM</targetType>
        <description>
            Defines HWP version to be checked inside HWPs to determine if new
            code should be loaded/skipped/modified/etc. Service pack versions
            of the procedures may diverge from the working branch. Specific
            values to be defined as needed in the service pack release stream.
        </description>
        <valueType>uint32</valueType>
        <platInit/>
        <writeable/>
    </attribute>
    <!-- ********************************************************************* -->
</attributes>
OpenPOWER on IntegriCloud