summaryrefslogtreecommitdiffstats
path: root/src/usr/targeting
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/targeting')
-rwxr-xr-xsrc/usr/targeting/common/processMrw.pl4
-rw-r--r--src/usr/targeting/common/xmltohb/attribute_types_openpower.xml16
-rw-r--r--src/usr/targeting/common/xmltohb/target_types_openpower.xml3
3 files changed, 23 insertions, 0 deletions
diff --git a/src/usr/targeting/common/processMrw.pl b/src/usr/targeting/common/processMrw.pl
index 8051d1793..033e921c7 100755
--- a/src/usr/targeting/common/processMrw.pl
+++ b/src/usr/targeting/common/processMrw.pl
@@ -735,6 +735,10 @@ sub processProcessor
{
$targetObj->copyAttribute($socket_target,$target,$attr);
}
+ elsif ($attr =~/NO_APSS_PROC_POWER_VCS_VIO_WATTS/)
+ {
+ $targetObj->copyAttribute($socket_target,$target,$attr);
+ }
}
# Both for FSP and BMC based systems, it's good enough
diff --git a/src/usr/targeting/common/xmltohb/attribute_types_openpower.xml b/src/usr/targeting/common/xmltohb/attribute_types_openpower.xml
index f5df8c942..4e3042907 100644
--- a/src/usr/targeting/common/xmltohb/attribute_types_openpower.xml
+++ b/src/usr/targeting/common/xmltohb/attribute_types_openpower.xml
@@ -1248,6 +1248,22 @@ ID for the sensor number returned with the elog. -->
<writeable/>
</attribute>
+<attribute>
+ <id>NO_APSS_PROC_POWER_VCS_VIO_WATTS</id>
+ <description>
+ A constant power (in watts) that the OCC is to add onto Vdd and Vdn
+ power to represent any processor part that is not measured(i.e.Vcs,Vio)
+ This is used by the OCC to calculate a total processor socket power.
+ </description>
+ <simpleType>
+ <uint16_t>
+ <default>0</default>
+ </uint16_t>
+ </simpleType>
+ <persistency>non-volatile</persistency>
+ <readable/>
+</attribute>
+
<!-- end HTMGT attributes -->
<attribute>
diff --git a/src/usr/targeting/common/xmltohb/target_types_openpower.xml b/src/usr/targeting/common/xmltohb/target_types_openpower.xml
index 39c935a26..1b7aaf77c 100644
--- a/src/usr/targeting/common/xmltohb/target_types_openpower.xml
+++ b/src/usr/targeting/common/xmltohb/target_types_openpower.xml
@@ -104,6 +104,8 @@
<targetTypeExtension>
<id>chip-processor-power9</id>
<attribute><id>IPMI_SENSORS</id></attribute>
+
+ <attribute><id>NO_APSS_PROC_POWER_VCS_VIO_WATTS</id></attribute>
</targetTypeExtension>
<targetTypeExtension>
@@ -134,6 +136,7 @@
<targetTypeExtension>
<id>unit-core-power9</id>
<attribute><id>IPMI_SENSORS</id></attribute>
+
</targetTypeExtension>
<targetTypeExtension>
OpenPOWER on IntegriCloud