diff options
author | Roland Veloz <rveloz@us.ibm.com> | 2018-03-27 11:17:43 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-06-01 23:56:31 -0400 |
commit | c6916a42d34bdd1c9502056740ec3a819c082099 (patch) | |
tree | 9876a2d6e6a72d66b6733a68dcb308f18db493a8 /src/usr/targeting/common/xmltohb/attribute_types.xml | |
parent | 6bb10d4941533e21d5b01c634d7f2fcaed83364c (diff) | |
download | talos-hostboot-c6916a42d34bdd1c9502056740ec3a819c082099.tar.gz talos-hostboot-c6916a42d34bdd1c9502056740ec3a819c082099.zip |
Add support for getting SBE Capabilites; extract SBE Version, Commit ID and Tags
Structure sbeCapabilities_t was added to the sbe_utils.H, a common file that
can be shared among other files that need the sbeCapabilities_t struct.
The psuCommand structure was updated, in file sbe_psudd.H, to facilitate the
PSU call to get SBE Capabilities. Also structs fifoGetCapabilitiesResponse/
fifoGetCapabilitiesRequest were added to file sbe_fifodd to facilitate
the FIFO call to get SBE Capabilities.
Attributes SBE_COMMIT_ID, SBE_VERSION_INFO and SBE_RELEASE_TAGS were added to
the target '<id>chip-processor</id>'. These attributes are the ultimate
receiver of the SBE capabilities' version, commit id and release tags info.
New file sbe_capabilities.C contains the call to getPsuSbeCapabilities and
getFifoSbeCapabilities which ultimately perform the call to do the PSU chip
operation, FIFO chip operation and update the attributes above. In step 6,
host_discover_targets, and in step 8,
call_proc_check_slave_sbe_seeprom_complete, is where the calls to
getPsuSbeCapabilities and getFifoSbeCapabilities are made respectively.
The file FipS_SBE_Interface_Specification_v1.3a.pdf (FIFO), file
Host_SBE_Interface_Specification_v0.9d.pdf and looking at
HW code were used to guide the coding of this.
Change-Id: I32ccdeab7bf0a478298b199d42d74650a3f393f6
RTC:181139
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56317
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>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/targeting/common/xmltohb/attribute_types.xml')
-rwxr-xr-x | src/usr/targeting/common/xmltohb/attribute_types.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index c5b1661b5..d72cee29e 100755 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -6364,6 +6364,55 @@ </attribute> <attribute> + <id>SBE_COMMIT_ID</id> + <description> + A hexadecimal value of the commit ID associated + with the SBE. + </description> + <simpleType> + <uint32_t> + </uint32_t> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> +</attribute> + +<attribute> + <id>SBE_VERSION_INFO</id> + <description> + A hexadecimal value of the major and minor + version of the SBE. The major info is in the + first 16 bits followed by the minor. + 0:15: Major Version + 16:31: Minor Version + </description> + <simpleType> + <uint32_t> + </uint32_t> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> +</attribute> + +<attribute> + <id>SBE_RELEASE_TAG</id> + <description> + An ascii value of the SBE release tag + </description> + <simpleType> + <string> + <default></default> + <sizeInclNull>21</sizeInclNull> + </string> + </simpleType> + <persistency>volatile-zeroed</persistency> + <readable/> + <writeable/> +</attribute> + +<attribute> <id>PROC_PCIE_REFCLOCK_ENABLE</id> <description>PCIE refclock enable valid mask PCIE refclock enable valid mask |