diff options
author | Richard J. Knight <rjknight@us.ibm.com> | 2015-02-19 23:47:03 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-02-28 05:42:42 -0600 |
commit | ab2957e461780b42fb378abcf954baa735dc948b (patch) | |
tree | a5f04a02ee3e2198536441dc3ae227e4537c5256 /src/usr/targeting/common/xmltohb/attribute_types_hb.xml | |
parent | 21268010ec5ff32040321ab75267af43cec2dd89 (diff) | |
download | talos-hostboot-ab2957e461780b42fb378abcf954baa735dc948b.tar.gz talos-hostboot-ab2957e461780b42fb378abcf954baa735dc948b.zip |
Update dev tree with additional sensor information
-Add sensor type, reading type and specific offsets.
-Add IPMI entity ID and instance information for sensors
-Include IPMI Enity instance in targets which have ipmi sensors
attribute
Change-Id: I02b0a5046c67e2e00af30a0c78cbcc182ae4c0cd
RTC:123186
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15881
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/xmltohb/attribute_types_hb.xml')
-rw-r--r-- | src/usr/targeting/common/xmltohb/attribute_types_hb.xml | 73 |
1 files changed, 73 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 3bb57e6a1..74fb49250 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml @@ -822,6 +822,16 @@ <writeable/> <hbOnly/> </attribute> +<attribute> + <id>IPMI_INSTANCE</id> + <description>Holds the IPMI instance number for this entity.</description> + <simpleType> + <uint32_t> + </uint32_t> + </simpleType> + <persistency>non-volatile</persistency> + <readable/> +</attribute> <enumerationType> <id>ENTITY_ID</id> <description>Enumeration indicating the IPMI entity ID, these values are @@ -1003,6 +1013,69 @@ </enumerator> </enumerationType> +<enumerationType> + <id>SENSOR_TYPE</id> + <description>Enumeration indicating the IPMI sensor type, these values + are defined in the IPMI specification. These values will be used when + sending sensor reading events to the BMC.</description> + <enumerator> + <name>NA</name> + <value>0</value> + </enumerator> + <enumerator> + <name>TEMPERATURE</name> + <value>0x01</value> + </enumerator> + <enumerator> + <name>PROCESSOR</name> + <value>0x07</value> + </enumerator> + <enumerator> + <name>MEMORY</name> + <value>0x0c</value> + </enumerator> + <enumerator> + <name>SYS_FW_PROGRESS</name> + <value>0x0F</value> + </enumerator> + <enumerator> + <name>SYS_EVENT</name> + <value>0x12</value> + </enumerator> + <enumerator> + <name>OS_BOOT</name> + <value>0x1F</value> + </enumerator> + <enumerator> + <name>APCI_POWER_STATE</name> + <value>0x22</value> + </enumerator> + <enumerator> + <name>FREQ</name> + <value>0xC1</value> + </enumerator> + <enumerator> + <name>POWER</name> + <value>0xC2</value> + </enumerator> + <enumerator> + <name>BOOT_COUNT</name> + <value>0xC3</value> + </enumerator> + <enumerator> + <name>PCI_LINK_PRES</name> + <value>0xC4</value> + </enumerator> + <enumerator> + <name>PWR_LIMIT_ACTIVE</name> + <value>0xC4</value> + </enumerator> + <enumerator> + <name>FAULT</name> + <value>0xC7</value> + </enumerator> +</enumerationType> + <!-- IPMI Sensor numbers are defined in the IPMI spec as 8 bit values. However in the hostboot code they will be defined as a uint16_t to allow us to add additonal information. An example relates to error logs returned by the OCC, |