summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common/xmltohb/attribute_types.xml
diff options
context:
space:
mode:
authorMatt Derksen <mderkse1@us.ibm.com>2019-01-22 14:49:20 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-01-31 13:38:51 -0600
commit8293d83310c151bb61bdc04932aa041ca0cd2223 (patch)
tree1286e2dec1a286903aa904e98eb08604b226d1e6 /src/usr/targeting/common/xmltohb/attribute_types.xml
parent23c66ccdeab039d1c1ca6def64d9e37bbf9c933f (diff)
downloadtalos-hostboot-8293d83310c151bb61bdc04932aa041ca0cd2223.tar.gz
talos-hostboot-8293d83310c151bb61bdc04932aa041ca0cd2223.zip
Fix deconfigure parent rollup policy
Change to specifically designate if a target is allowed to be deconfigured by child rollup and if it should rollup to its parent. Need to cover the case where there are two different types of children and only one is allowed to rollup to the parent. Also prevent the deconfigure rollup from happening to the parent. Change-Id: I514876a46e9c8180e1fc99a969e0ca4247fbf2d9 CQ:SW454562 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70759 Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/xmltohb/attribute_types.xml')
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types.xml52
1 files changed, 43 insertions, 9 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index d75aaca3d..21eca1fd7 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -5091,18 +5091,52 @@
<attribute>
<description>
- Do not allow deconfiguration of this target to rollup to its parent
- 0x00 (false) = Allow parent deconfiguration rollup (default setting)
- 0x01 (true) = Do not allow parent deconfiguration rollup
+ Rules on how to handle a deconfigure to parent level
</description>
- <id>PARENT_DECONFIG_DISABLED</id>
+ <id>PARENT_DECONFIG_RULES</id>
<persistency>non-volatile</persistency>
<readable/>
- <simpleType>
- <uint8_t>
- <default>0x0</default>
- </uint8_t>
- </simpleType>
+ <complexType>
+ <description>Structure which defines a target's deconfigure rules.
+ Structure is read-only.
+ </description>
+ <field>
+ <bits>1</bits>
+ <default>0</default>
+ <description>Are the rule bits set correctly?
+ </description>
+ <name>valid</name>
+ <type>uint8_t</type>
+ </field>
+ <field>
+ <bits>1</bits>
+ <default>0</default>
+ <description>
+ 0b0: Target should NOT be deconfigured by child rollup
+ 0b1: Target allowed to be deconfigured by child rollup
+ </description>
+ <name>childRollupAllowed</name>
+ <type>uint8_t</type>
+ </field>
+ <field>
+ <bits>1</bits>
+ <default>0</default>
+ <description>
+ 0b0: Target should NOT rollup its deconfigure to its parent
+ 0b1: Target should deconfigure its parent if no more functioning
+ children of same type exist for its parent
+ </description>
+ <name>deconfigureParent</name>
+ <type>uint8_t</type>
+ </field>
+ <field>
+ <bits>5</bits>
+ <default>0</default>
+ <description>Reserved for future use</description>
+ <name>reserved</name>
+ <type>uint8_t</type>
+ </field>
+ </complexType>
<no_export/>
</attribute>
OpenPOWER on IntegriCloud