summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-07-16 15:51:06 -0500
committerDaniel M Crowell <dcrowell@us.ibm.com>2019-08-05 15:33:09 -0500
commit7a758c4ef4c69abf1510271e437d250e4691f1ac (patch)
tree3b271dcbfe48d4ff0d02304675275434dc634b8a /src/usr/targeting/common
parent4ced775921eb599a0579e98c2f3f19ab08b53ed3 (diff)
downloadtalos-hostboot-7a758c4ef4c69abf1510271e437d250e4691f1ac.tar.gz
talos-hostboot-7a758c4ef4c69abf1510271e437d250e4691f1ac.zip
Handle processor swap between slots to 1-socket system
If a processor was booted in the second slot, it will be programmed to use the memory for that slot. When it is installed in the first slot it will then get reprogrammed to use the data for slot0. However, if the new system only contains data for that 1 slot, we won't be able to find a match to do the initial part of the boot. This change will force some values into good enough shape to get the boot far enough to do the SBE update to reprogram the memory map. Change-Id: I9b88d4181272104a8c680e9b5e84c4d204fdea05 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80680 Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> 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: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common')
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/attribute_types_hb.xml33
-rw-r--r--src/usr/targeting/common/xmltohb/target_types_hb.xml3
2 files changed, 36 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
index 491e9667b..2ca3f0494 100755
--- a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml
@@ -230,6 +230,39 @@
<readable/>
</attribute>
+ <enumerationType>
+ <description>
+ Enumeration specifying a target's CEC degraded mode domain
+ </description>
+ <default>NO</default>
+ <enumerator>
+ <name>NO</name>
+ <value>0</value>
+ </enumerator>
+ <enumerator>
+ <name>BAR_MISMATCH</name>
+ <value>1</value>
+ </enumerator>
+ <id>FORCE_SBE_UPDATE</id>
+ </enumerationType>
+
+ <attribute>
+ <id>FORCE_SBE_UPDATE</id>
+ <description>
+ Set to non-zero to force a SBE update at various places in the IPL.
+ </description>
+ <simpleType>
+ <enumeration>
+ <id>FORCE_SBE_UPDATE</id>
+ <default>NO</default>
+ </enumeration>
+ </simpleType>
+ <persistency>volatile-zeroed</persistency>
+ <readable/>
+ <writeable/>
+ <hbOnly/>
+ </attribute>
+
<attribute>
<!-- Need to add this explicitly to handle the Axone case -->
<id>FREQ_MCA_MHZ</id>
diff --git a/src/usr/targeting/common/xmltohb/target_types_hb.xml b/src/usr/targeting/common/xmltohb/target_types_hb.xml
index 1f7421305..4b3599cef 100644
--- a/src/usr/targeting/common/xmltohb/target_types_hb.xml
+++ b/src/usr/targeting/common/xmltohb/target_types_hb.xml
@@ -276,6 +276,9 @@
<attribute>
<id>FORCE_PRE_PAYLOAD_DRTM</id>
</attribute>
+ <attribute>
+ <id>FORCE_SBE_UPDATE</id>
+ </attribute>
<!-- Need to add this explicitly to handle the Axone case -->
<attribute>
<id>FREQ_MCA_MHZ</id>
OpenPOWER on IntegriCloud