summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting/xmltohb
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/targeting/xmltohb')
-rw-r--r--src/usr/targeting/xmltohb/attribute_types.xml18
-rw-r--r--src/usr/targeting/xmltohb/simics_MURANO.system.xml4
-rw-r--r--src/usr/targeting/xmltohb/simics_VENICE.system.xml4
-rw-r--r--src/usr/targeting/xmltohb/target_types.xml1
-rw-r--r--src/usr/targeting/xmltohb/vbu.system.xml4
5 files changed, 31 insertions, 0 deletions
diff --git a/src/usr/targeting/xmltohb/attribute_types.xml b/src/usr/targeting/xmltohb/attribute_types.xml
index f903b1819..bf4d73418 100644
--- a/src/usr/targeting/xmltohb/attribute_types.xml
+++ b/src/usr/targeting/xmltohb/attribute_types.xml
@@ -769,6 +769,24 @@
</attribute>
<attribute>
+ <id>EXECUTION_PLATFORM</id>
+ <description>
+ Which execution platform the HW Procedure is running on
+ Some HWPs (e.g. special wakeup) use different registers for different
+ platforms to avoid arbitration problems when multiple platforms do
+ the same thing concurrently
+ HOST = 0x01, FSP = 0x02, OCC = 0x03
+ </description>
+ <simpleType><uint8_t></uint8_t></simpleType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+ <hwpfToHbAttrMap>
+ <id>ATTR_EXECUTION_PLATFORM</id>
+ <macro>DIRECT</macro>
+ </hwpfToHbAttrMap>
+</attribute>
+
+<attribute>
<id>IS_SIMULATION</id>
<description>env: 1 = Awan/HWSimulator. 0 = Simics/RealHW.</description>
<simpleType>
diff --git a/src/usr/targeting/xmltohb/simics_MURANO.system.xml b/src/usr/targeting/xmltohb/simics_MURANO.system.xml
index 55a691c55..8daa36ddf 100644
--- a/src/usr/targeting/xmltohb/simics_MURANO.system.xml
+++ b/src/usr/targeting/xmltohb/simics_MURANO.system.xml
@@ -44,6 +44,10 @@
<id>sys0</id>
<type>sys-sys-power8</type>
<attribute>
+ <id>EXECUTION_PLATFORM</id>
+ <default>1</default>
+ </attribute>
+ <attribute>
<id>PHYS_PATH</id>
<default>physical:sys-0</default>
</attribute>
diff --git a/src/usr/targeting/xmltohb/simics_VENICE.system.xml b/src/usr/targeting/xmltohb/simics_VENICE.system.xml
index 2049ec91f..78a24462e 100644
--- a/src/usr/targeting/xmltohb/simics_VENICE.system.xml
+++ b/src/usr/targeting/xmltohb/simics_VENICE.system.xml
@@ -44,6 +44,10 @@
<id>sys0</id>
<type>sys-sys-power8</type>
<attribute>
+ <id>EXECUTION_PLATFORM</id>
+ <default>1</default>
+ </attribute>
+ <attribute>
<id>PHYS_PATH</id>
<default>physical:sys-0</default>
</attribute>
diff --git a/src/usr/targeting/xmltohb/target_types.xml b/src/usr/targeting/xmltohb/target_types.xml
index 1f37ee0b5..6c82124f1 100644
--- a/src/usr/targeting/xmltohb/target_types.xml
+++ b/src/usr/targeting/xmltohb/target_types.xml
@@ -53,6 +53,7 @@
<attribute><id>TYPE</id><default>SYS</default></attribute>
<attribute><id>MODEL</id><default>POWER8</default></attribute>
<attribute><id>HUID</id><default>0x00010000</default></attribute>
+ <attribute><id>EXECUTION_PLATFORM</id></attribute>
<attribute><id>SCRATCH_UINT8_1</id></attribute>
<attribute><id>SCRATCH_UINT8_2</id></attribute>
<attribute><id>SCRATCH_UINT32_1</id></attribute>
diff --git a/src/usr/targeting/xmltohb/vbu.system.xml b/src/usr/targeting/xmltohb/vbu.system.xml
index 051a539fd..3d4f672fd 100644
--- a/src/usr/targeting/xmltohb/vbu.system.xml
+++ b/src/usr/targeting/xmltohb/vbu.system.xml
@@ -32,6 +32,10 @@
<id>sys0</id>
<type>sys-sys-power8</type>
<attribute>
+ <id>EXECUTION_PLATFORM</id>
+ <default>1</default>
+ </attribute>
+ <attribute>
<id>PHYS_PATH</id>
<default>physical:sys-0</default>
</attribute>
OpenPOWER on IntegriCloud