diff options
author | Sheldon Bailey <baileysh@us.ibm.com> | 2017-07-28 09:31:28 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-09-19 09:27:40 -0400 |
commit | 3bd9350522b9923f078c8528d873f77caaa8fa1a (patch) | |
tree | 696a925c207482ab3c9edc8f5dadbf5552377af6 /src/usr/targeting | |
parent | 2e1109e4561b486030eb4cebe8bc6ad8eb7f09e8 (diff) | |
download | talos-hostboot-3bd9350522b9923f078c8528d873f77caaa8fa1a.tar.gz talos-hostboot-3bd9350522b9923f078c8528d873f77caaa8fa1a.zip |
HTMGT: Add misc Processor Power to AVSbus config packet
Change-Id: I477a90277e0d9a4ad424accc442f60d163dabbe8
RTC:160888
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45641
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting')
-rwxr-xr-x | src/usr/targeting/common/processMrw.pl | 4 | ||||
-rw-r--r-- | src/usr/targeting/common/xmltohb/attribute_types_openpower.xml | 16 | ||||
-rw-r--r-- | src/usr/targeting/common/xmltohb/target_types_openpower.xml | 3 |
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> |