summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/common
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2018-08-01 16:04:35 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-08-08 16:05:56 -0500
commitf8e8d7c203dcd6ff31459253ba42a3dbe970765e (patch)
treee33dfe5fa1e6c562930d31f53652e89b9c3553d8 /src/usr/targeting/common
parent3cb9eb102386c50d0e7b7b67f64b702097b7eb16 (diff)
downloadtalos-hostboot-f8e8d7c203dcd6ff31459253ba42a3dbe970765e.tar.gz
talos-hostboot-f8e8d7c203dcd6ff31459253ba42a3dbe970765e.zip
Base targeting support for Axone memory complex
Added 3 new target types to start things off. These are the OMI (open-capi memory interface), the OMIC (open-capi memory interface controller), and the MCC (memory channel controller). These new targets will help us represent the new memory complex we are using for axone. The axone memory hiearchy will look like this: MI--MCC / \ Proc--MC < __ OMI--OCMB--MEMPORT--DIMM \ / OMIC **Note that OCMB/MEMPORT have not been implemented in hostboot yet Change-Id: I3df4eb3e279f825f0bdee86448ea23cb975e5511 RTC:172969 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63744 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: ILYA SMIRNOV <ismirno@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common')
-rw-r--r--src/usr/targeting/common/entitypath.C7
-rwxr-xr-xsrc/usr/targeting/common/xmltohb/attribute_types.xml17
-rw-r--r--src/usr/targeting/common/xmltohb/target_types.xml137
3 files changed, 157 insertions, 4 deletions
diff --git a/src/usr/targeting/common/entitypath.C b/src/usr/targeting/common/entitypath.C
index 8123efe5b..95e9ce10c 100644
--- a/src/usr/targeting/common/entitypath.C
+++ b/src/usr/targeting/common/entitypath.C
@@ -471,7 +471,12 @@ const char* EntityPath::pathElementTypeAsString(
return "FANCTLR";
case TYPE_SMPGROUP:
return "SMPGROUP";
-
+ case TYPE_OMI:
+ return "OMI";
+ case TYPE_OMIC:
+ return "OMIC";
+ case TYPE_MCC:
+ return "MCC";
// case TYPE_FSI_LINK:
// return "FSI-link";
// case TYPE_CFAM:
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml
index 27088ad2a..1bc12de7a 100755
--- a/src/usr/targeting/common/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types.xml
@@ -5078,9 +5078,21 @@
<value>71</value>
</enumerator>
<enumerator>
- <name>LAST_IN_RANGE</name>
+ <name>OMI</name>
<value>72</value>
</enumerator>
+ <enumerator>
+ <name>MCC</name>
+ <value>73</value>
+ </enumerator>
+ <enumerator>
+ <name>OMIC</name>
+ <value>74</value>
+ </enumerator>
+ <enumerator>
+ <name>LAST_IN_RANGE</name>
+ <value>75</value>
+ </enumerator>
<id>TYPE</id>
</enumerationType>
@@ -5111,6 +5123,9 @@
<name>CUMULUS</name>
</enumerator>
<enumerator>
+ <name>AXONE</name>
+ </enumerator>
+ <enumerator>
<name>CENTAUR</name>
<value>48</value>
</enumerator>
diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml
index 2c3024759..a868d5a47 100644
--- a/src/usr/targeting/common/xmltohb/target_types.xml
+++ b/src/usr/targeting/common/xmltohb/target_types.xml
@@ -1512,7 +1512,8 @@
<!-- MC
Nimbus : None
- Cumulus: 2 per chip -->
+ Cumulus: 2 per chip
+ Axone : 2 per chip -->
<targetType>
<id>unit-mc-power9</id>
<parent>unit</parent>
@@ -1541,9 +1542,19 @@
</attribute>
</targetType>
+<targetType>
+ <id>unit-mc-axone</id>
+ <parent>unit-mc-power9</parent>
+ <attribute>
+ <id>MODEL</id>
+ <default>AXONE</default>
+ </attribute>
+</targetType>
+
<!-- MI
Nimbus : None
- Cumulus: total of 4 per chip -->
+ Cumulus: 4 total per chip (2 per MC)
+ Axone : 4 total per chip (2 per MC)-->
<targetType>
<id>unit-mi-power9</id>
<parent>unit</parent>
@@ -1577,6 +1588,89 @@
</attribute>
</targetType>
+<targetType>
+ <id>unit-mi-axone</id>
+ <parent>unit-mi-power9</parent>
+ <attribute>
+ <default>AXONE</default>
+ <id>MODEL</id>
+ </attribute>
+</targetType>
+
+<!-- OMIC
+ Nimbus : None
+ Cumulus: None
+ Axone : 6 total per chip (3 per MC)-->
+<targetType>
+ <id>unit-omic-power9</id>
+ <parent>unit</parent>
+ <attribute>
+ <default>OMIC</default>
+ <id>TYPE</id>
+ </attribute>
+ <attribute>
+ <default>1</default>
+ <id>DECONFIG_GARDABLE</id>
+ </attribute>
+ <attribute>
+ <default>0x00000033</default>
+ <id>HWAS_STATE_CHANGED_SUBSCRIPTION_MASK</id>
+ </attribute>
+ <attribute>
+ <id>PARENT_PERVASIVE</id>
+ </attribute>
+ <attribute>
+ <id>CDM_DOMAIN</id>
+ <default>MEM</default>
+ </attribute>
+</targetType>
+
+<targetType>
+ <id>unit-omic-axone</id>
+ <parent>unit-omic-power9</parent>
+ <attribute>
+ <default>AXONE</default>
+ <id>MODEL</id>
+ </attribute>
+</targetType>
+
+<!-- MCC
+ Nimbus : None
+ Cumulus: None
+ Axone : 8 total per chip (2 per MI) -->
+<targetType>
+ <id>unit-mcc-power9</id>
+ <parent>unit</parent>
+ <attribute>
+ <default>MCC</default>
+ <id>TYPE</id>
+ </attribute>
+ <attribute>
+ <default>1</default>
+ <id>DECONFIG_GARDABLE</id>
+ </attribute>
+ <attribute>
+ <default>0x00000033</default>
+ <id>HWAS_STATE_CHANGED_SUBSCRIPTION_MASK</id>
+ </attribute>
+ <attribute>
+ <id>PARENT_PERVASIVE</id>
+ </attribute>
+ <attribute>
+ <id>CDM_DOMAIN</id>
+ <default>MEM</default>
+ </attribute>
+</targetType>
+
+<targetType>
+ <id>unit-mcc-axone</id>
+ <parent>unit-mcc-power9</parent>
+ <attribute>
+ <default>AXONE</default>
+ <id>MODEL</id>
+ </attribute>
+</targetType>
+
<!-- DMI
Nimbus : None
Cumulus: 2 per MI (total of 8 per chip) -->
@@ -1613,6 +1707,45 @@
</attribute>
</targetType>
+<!-- OMI (Special has two parents)
+ Nimbus : None
+ Cumulus: None
+ Axone: 4 per MI (total of 16 per chip)
+ 3 on OMIC0,1,3,4
+ 2 on OMIC2,5 (still total 16) -->
+<targetType>
+ <id>unit-omi-power9</id>
+ <parent>unit</parent>
+ <attribute>
+ <default>OMI</default>
+ <id>TYPE</id>
+ </attribute>
+ <attribute>
+ <default>1</default>
+ <id>DECONFIG_GARDABLE</id>
+ </attribute>
+ <attribute>
+ <default>0x00000033</default>
+ <id>HWAS_STATE_CHANGED_SUBSCRIPTION_MASK</id>
+ </attribute>
+ <attribute>
+ <id>PARENT_PERVASIVE</id>
+ </attribute>
+ <attribute>
+ <id>CDM_DOMAIN</id>
+ <default>MEM</default>
+ </attribute>
+</targetType>
+
+<targetType>
+ <id>unit-omi-axone</id>
+ <parent>unit-omi-power9</parent>
+ <attribute>
+ <default>AXONE</default>
+ <id>MODEL</id>
+ </attribute>
+</targetType>
+
<!-- PEC corresponds to IOP. Use same PEC target for Nimbus and Cumulus
Nimbus : 3 per chip
Cumulus: 3 per chip -->
OpenPOWER on IntegriCloud