summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraravnair-in <aravindnair@in.ibm.com>2018-07-02 06:22:33 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-07-02 15:56:15 -0400
commit32f37bb83e3bbcf67114a197fcf72388bdbfce26 (patch)
tree38ea53ff8b47acf44a6b4cf0cae79c96d1a92994 /src
parent41cda93cb3e7ac6a75e8454731728153247279f0 (diff)
downloadtalos-hostboot-32f37bb83e3bbcf67114a197fcf72388bdbfce26.tar.gz
talos-hostboot-32f37bb83e3bbcf67114a197fcf72388bdbfce26.zip
Make OBUS_BRICK deconfigurable
An OBUS has 2 smpgroup targets and 3 brick targets under it. To make sure that the parent OBUS does get deconfigured when the child SMPGROUP targets are gone (and if the OBUS is used ONLY for SMP) we need to get the brick targets under the OBUS deconfigured. Add new DECONFIGURED_BY_OBUS_MODE for this case Change-Id: I358a16c2b480c15f48c3dd591ba593225701a97f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61746 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/usr/hwas/common/deconfigGard.H2
-rw-r--r--src/usr/targeting/common/xmltohb/target_types.xml4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/include/usr/hwas/common/deconfigGard.H b/src/include/usr/hwas/common/deconfigGard.H
index 150602606..4ff7d0a83 100644
--- a/src/include/usr/hwas/common/deconfigGard.H
+++ b/src/include/usr/hwas/common/deconfigGard.H
@@ -187,6 +187,8 @@ public:
DECONFIGURED_BY_NO_PARENT_MI, // BASE | 0x1A
DECONFIGURED_BY_NO_MATCHING_LINK_SET, // BASE | 0x1B
+ //used when we deconfigure unused children of OBUS
+ DECONFIGURED_BY_OBUS_MODE, // BASE | 0x1C
// mask - these bits mean it's a PLID and not an enum
DECONFIGURED_BY_PLID_MASK = 0xFFFF0000,
diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml
index b02550cc6..621caaef0 100644
--- a/src/usr/targeting/common/xmltohb/target_types.xml
+++ b/src/usr/targeting/common/xmltohb/target_types.xml
@@ -1808,10 +1808,10 @@
<default>OBUS_BRICK</default>
</attribute>
<attribute><id>CDM_DOMAIN</id><default>FABRIC</default></attribute>
- <attribute><id>DECONFIG_GARDABLE</id><default>0</default></attribute>
+ <attribute><id>DECONFIG_GARDABLE</id><default>1</default></attribute>
<attribute><id>HUID</id></attribute>
<attribute><id>HWAS_STATE_CHANGED_SUBSCRIPTION_MASK</id>
- <default>0</default> <!-- GARD -->
+ <default>0x00000001</default> <!-- GARD -->
</attribute>
<attribute><id>OBUS_BRICK_LANE_MASK</id></attribute>
<attribute><id>OBUS_SLOT_INDEX</id></attribute>
OpenPOWER on IntegriCloud