summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/xml/attribute_info/common_attributes.xml
blob: cd1620a03fe2313ac72b4982f88750beb4e9981b (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
<!-- IBM_PROLOG_BEGIN_TAG                                                   -->
<!-- This is an automatically generated prolog.                             -->
<!--                                                                        -->
<!-- $Source: src/import/hwpf/fapi2/xml/attribute_info/common_attributes.xml $ -->
<!--                                                                        -->
<!-- OpenPOWER HostBoot Project                                             -->
<!--                                                                        -->
<!-- Contributors Listed Below - COPYRIGHT 2015,2019                        -->
<!-- [+] 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                                                     -->
<attributes>
  <!-- ******************************************************************************** -->
  <attribute>
    <id>ATTR_FUNCTIONAL</id>
    <targetType>
      TARGET_TYPE_PROC_CHIP,
      TARGET_TYPE_CORE, TARGET_TYPE_EX, TARGET_TYPE_EQ,
      TARGET_TYPE_MCS, TARGET_TYPE_MCA, TARGET_TYPE_MCBIST, TARGET_TYPE_MI, TARGET_TYPE_DMI,
      TARGET_TYPE_MC, TARGET_TYPE_OMI, TARGET_TYPE_OMIC, TARGET_TYPE_MCC,
      TARGET_TYPE_XBUS, TARGET_TYPE_OBUS,
      TARGET_TYPE_OBUS_BRICK,
      TARGET_TYPE_SBE, TARGET_TYPE_PPE, TARGET_TYPE_PERV,
      TARGET_TYPE_PEC, TARGET_TYPE_PHB, TARGET_TYPE_CAPP,
      TARGET_TYPE_OCMB_CHIP,
      TARGET_TYPE_MEMBUF_CHIP,
      TARGET_TYPE_MBA,
      TARGET_TYPE_DIMM,
      TARGET_TYPE_L4,TARGET_TYPE_MC,
      TARGET_TYPE_MEM_PORT,
      TARGET_TYPE_PMIC
    </targetType>
    <description>
      1 if the target is functional, else 0.  Set by the platform.
    </description>
    <valueType>uint8</valueType>
    <enum>
      NON_FUNCTIONAL = 0x0,
      FUNCTIONAL = 0x1
    </enum>
    <platInit/>
  </attribute>
  <!-- ******************************************************************************** -->
  <attribute>
    <id>ATTR_POS</id>
    <targetType>
      TARGET_TYPE_PROC_CHIP, TARGET_TYPE_MEMBUF_CHIP,
      TARGET_TYPE_DIMM, TARGET_TYPE_OCMB_CHIP, TARGET_TYPE_PMIC
    </targetType>
    <description>
      Physical position of chip/dimm within drawer
      This data is from the MRW.
    </description>
    <valueType>uint32</valueType>
    <platInit/>
  </attribute>
  <!-- ******************************************************************************** -->
  <attribute>
    <id>ATTR_FAPI_POS</id>
    <targetType>
      TARGET_TYPE_PROC_CHIP, TARGET_TYPE_MEMBUF_CHIP, TARGET_TYPE_DIMM,
      TARGET_TYPE_OCMB_CHIP,
      TARGET_TYPE_CORE, TARGET_TYPE_EX, TARGET_TYPE_EQ,
      TARGET_TYPE_MCS, TARGET_TYPE_MCA, TARGET_TYPE_MCBIST, TARGET_TYPE_MI, TARGET_TYPE_DMI,
      TARGET_TYPE_MC, TARGET_TYPE_OMI, TARGET_TYPE_OMIC, TARGET_TYPE_MCC,
      TARGET_TYPE_XBUS, TARGET_TYPE_OBUS,
      TARGET_TYPE_OBUS_BRICK,
      TARGET_TYPE_SBE, TARGET_TYPE_PPE, TARGET_TYPE_PERV,
      TARGET_TYPE_PEC, TARGET_TYPE_PHB, TARGET_TYPE_CAPP,
      TARGET_TYPE_MBA, TARGET_TYPE_ABUS, TARGET_TYPE_L4, TARGET_TYPE_MC,
      TARGET_TYPE_MEM_PORT, TARGET_TYPE_PMIC
    </targetType>
    <description>
      Logical position of target within a system. This is derived from the SMP location
      of each processor and each target's relationship to a proc.
      - PROC = based on SMP groupid+chipid
      - MEMBUF = PROC:FAPI_POS * [max membuf per proc]
      - 1st level child unit = [parent chip]:FAPI_POS * [max children of this type per chip]
      - 2nd+ level child unit = [immediate parent unit]:FAPI_POS * [max units below parent]
      Note: This should not be used algorithmically by HWPs directly.
      Note: Value ignores physical drawer boundaries, the value is unique across the entire
            system.
      This data is derived from the MRW.
    </description>
    <valueType>uint32</valueType>
    <platInit/>
  </attribute>
  <!-- ******************************************************************************** -->
  <attribute>
    <id>ATTR_REL_POS</id>
    <targetType>
      TARGET_TYPE_CORE, TARGET_TYPE_EX, TARGET_TYPE_EQ,
      TARGET_TYPE_MCS, TARGET_TYPE_MCA, TARGET_TYPE_MCBIST, TARGET_TYPE_MI, TARGET_TYPE_DMI,
      TARGET_TYPE_MC, TARGET_TYPE_OMI, TARGET_TYPE_OMIC, TARGET_TYPE_MCC,
      TARGET_TYPE_XBUS, TARGET_TYPE_OBUS,
      TARGET_TYPE_OBUS_BRICK,
      TARGET_TYPE_SBE, TARGET_TYPE_PPE, TARGET_TYPE_PERV,
      TARGET_TYPE_PEC, TARGET_TYPE_PHB, TARGET_TYPE_CAPP,
      TARGET_TYPE_MBA, TARGET_TYPE_ABUS, TARGET_TYPE_L4,
      TARGET_TYPE_MEM_PORT,
      TARGET_TYPE_DIMM,
      TARGET_TYPE_PMIC
    </targetType>
    <description>
      A target's position relative to its immediate parent target.

      PROC - EQ - EX - CORE
      PROC - XBUS
      PROC - OBUS - OBUS_BRICK
      PROC - SBE
      PROC - PPE
      PROC - PERV
      PROC - PEC - PHB
      PROC - CAPP
      PROC - MCBIST - MCS - MCA/MEM_PORT - DIMM
      PROC - MC - MI - DMI
      PROC - MC - MI - MCC - OMI
        (OMIC - OMI is not supported)
      OCMB - PMIC
      MEMBUF - MBA - DIMM
      MEMBUF - L4
      OCMB - MEM_PORT - DIMM

    </description>
    <valueType>uint8</valueType>
    <platInit/>
    <default>0xFF</default><!-- Ensures platform explicitly puts a valid number in here -->
  </attribute>
  <!-- ******************************************************************************** -->
</attributes>
OpenPOWER on IntegriCloud