summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/xml/attribute_info/p9_setup_bars_attributes.xml
blob: 920e0dcf1bdfd6bd6689cd96df3d22829fe157c3 (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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
<!-- IBM_PROLOG_BEGIN_TAG                                                   -->
<!-- This is an automatically generated prolog.                             -->
<!--                                                                        -->
<!-- $Source: src/import/chips/p9/procedures/xml/attribute_info/p9_setup_bars_attributes.xml $ -->
<!--                                                                        -->
<!-- OpenPOWER HostBoot Project                                             -->
<!--                                                                        -->
<!-- Contributors Listed Below - COPYRIGHT 2015,2018                        -->
<!-- [+] International Business Machines Corp.                              -->
<!--                                                                        -->
<!--                                                                        -->
<!-- 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                                                     -->
<!-- p9_setup_bars_attributes.xml -->
<attributes>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_FSP_BAR_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>FSP BAR enable
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_FSP_BAR_BASE_ADDR_OFFSET</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>FSP BAR
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Defines range mapped for FSP MMIO
        Attribute holds offset (relative to chip MMIO origin) to program into
        chip address range field of BAR -- RA bits 22:43
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_FSP_BAR_SIZE</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>FSP BAR size value
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint64</valueType>
    <enum>
        4_GB = 0xFFFFFC00FFFFFFFF,
        2_GB = 0xFFFFFC007FFFFFFF,
        1_GB = 0xFFFFFC003FFFFFFF,
      512_MB = 0xFFFFFC001FFFFFFF,
      256_MB = 0xFFFFFC000FFFFFFF,
      128_MB = 0xFFFFFC0007FFFFFF,
       64_MB = 0xFFFFFC0003FFFFFF,
       32_MB = 0xFFFFFC0001FFFFFF,
       16_MB = 0xFFFFFC0000FFFFFF,
        8_MB = 0xFFFFFC00007FFFFF,
        4_MB = 0xFFFFFC00003FFFFF,
        2_MB = 0xFFFFFC00001FFFFF,
        1_MB = 0xFFFFFC00000FFFFF
    </enum>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_FSP_MMIO_MASK_SIZE</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>FSP MMIO mask size value
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        AND mask applied to RA 32:35 when transmitting address to FSP
        NOTE: RA 8:31 are always replaced with zero
    </description>
    <valueType>uint64</valueType>
    <enum>
        4_GB = 0x00F0000000000000,
        2_GB = 0x0070000000000000,
        1_GB = 0x0030000000000000,
      512_MB = 0x0010000000000000,
      256_MB = 0x0000000000000000
    </enum>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_NPU_PHY0_BAR_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>NPU PHY0 (stack0) BAR enable
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_NPU_PHY0_BAR_BASE_ADDR_OFFSET</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>NPU PHY0 (stack0) BAR
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Defines 2MB range (size implied) mapped to PHY0 registers
        Attribute holds offset (relative to chip MMIO origin) to program into
        chip address range field of BAR -- RA bits 22:42
        (excludes system/memory select/group/chip fields)
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_NPU_PHY1_BAR_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>NPU PHY1 (stack1) BAR enable
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_NPU_PHY1_BAR_BASE_ADDR_OFFSET</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>NPU PHY1 (stack1) BAR
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Defines 2MB range (size implied) mapped to PHY1 registers
        Attribute holds offset (relative to chip MMIO origin) to program into
        chip address range field of BAR -- RA bits 22:42
        (excludes system/memory select/group/chip fields)
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_NPU_MMIO_BAR_BASE_ADDR_OFFSET</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>NPU MMIO (stack2) BAR
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Defines 16MB range mapped to all NPU registers
        Attribute holds offset (relative to chip MMIO origin) to program into
        chip address range field of BAR -- RA bits 22:39
        (excludes system/memory select/group/chip fields)
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
   <attribute>
    <id>ATTR_PROC_NPU_MMIO_BAR_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>NPU MMIO (stack2) BAR enable
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_PSI_BRIDGE_BAR_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>PSI Bridge BAR enable
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* --> 
  <attribute>
    <id>ATTR_PROC_PSI_BRIDGE_BAR_BASE_ADDR_OFFSET</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>PSI Bridge BAR base address offset
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Defines 1MB range (size implied) mapped for PSI host-bridge
        Attribute holds offset (relative to chip MMIO origin) to program into
        chip address range field of BAR -- RA bits 22:43
        (excludes system/memory select/group/chip fields)
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************** -->
  <attribute>
    <id>ATTR_PROC_NX_RNG_BAR_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>NX RNG BAR enable
      creator: platform
      consumer: p9_rng_init_phase2
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_NX_RNG_BAR_BASE_ADDR_OFFSET</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>NX RNG BAR
      creator: platform
      consumer: p9_rng_init_phase2
      firmware notes:
        Defines 8KB range (size implied) mapped for NX RNG function
        Attributes holds offset (relative to chip MMIO origin) to program into
	chip address range field of BAR -- RA bits 22:51
	(excludes system/memory select/group/chip fields)
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_NX_RNG_FAILED_INT_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>Enable optional post of interrupt when both NX RNG noise
                sources have failed
      creator: platform
      consumer: p9_rng_init_phase2
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_NX_RNG_FAILED_INT_ADDR</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>Address used to post interrupt when both NX RNG noise
                 sources have failed
      creator: platform
      consumer: p9_rng_init_phase2
      firmware notes:
        64-bit address representing RA
        NOTE: register covers RA 8:51
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_PC_BAR_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>INT CQ PC BAR enable
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_PC_BAR_BASE_ADDR_OFFSET</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>INT CQ PC BAR base address offset
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Attribute holds offset (relative to chip MMIO origin) to program into
        chip address range field of BAR (excludes system/memsel/group/chip fields)
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_PC_BAR_BASE_ADDR_OFFSET_MASK</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>INT CQ PC BAR base address offset mask
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Attribute holds offset mask (relative to chip MMIO origin) to program into
        chip address range field of BAR mask (excludes system/memsel/group/chip fields)
        Value defines which bits of VC_BAR are used during address compares
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_VC_BAR_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>INT CQ VC BAR enable
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_VC_BAR_BASE_ADDR_OFFSET</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>INT CQ VC BAR base address offset
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Attribute holds offset (relative to chip MMIO origin) to program into
        chip address range field of BAR (excludes system/memsel/group/chip fields)
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_VC_BAR_BASE_ADDR_OFFSET_MASK</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>INT CQ VC BAR base address offset mask
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Attribute holds offset mask (relative to chip MMIO origin) to program into
        chip address range field of BAR mask (excludes system/memsel/group/chip fields)
        Value defines which bits of VC_BAR are used during address compares
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_TM1_BAR_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>INT CQ TM1 BAR enable
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_TM1_BAR_BASE_ADDR_OFFSET</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>INT CQ TM1 BAR base address offset
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Attribute holds offset (relative to chip MMIO origin) to program into
        chip address range field of BAR (excludes system/memsel/group/chip fields)
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_TM1_BAR_PAGE_SIZE</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>INT CQ TM1 BAR page size
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>4K = 0x0, 64K = 0x1</enum>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_IC_BAR_ENABLE</id>
    <targetType>TARGET_TYPE_PROC_CHIP</targetType>
    <description>INT CQ IC BAR enable
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>DISABLE = 0x0, ENABLE = 0x1</enum>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_IC_BAR_BASE_ADDR_OFFSET</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>INT CQ IC BAR base address offset
      creator: platform
      consumer: p9_setup_bars
      firmware notes:
        Attribute holds offset (relative to chip MMIO origin) to program into
        chip address range field of BAR (excludes system/memsel/group/chip fields)
    </description>
    <valueType>uint64</valueType>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
  <attribute>
    <id>ATTR_PROC_INT_CQ_IC_BAR_PAGE_SIZE</id>
    <targetType>TARGET_TYPE_SYSTEM</targetType>
    <description>INT CQ IC (Interrupt Controller) BAR page size
      creator: platform
      consumer: p9_setup_bars
      firmware notes: none
    </description>
    <valueType>uint8</valueType>
    <enum>4K = 0x0, 64K = 0x1</enum>
    <platInit/>
    <initToZero/>
    <mrwHide/>
  </attribute>
  <!-- ********************************************************************* -->
</attributes>

OpenPOWER on IntegriCloud