diff options
author | Ilya Smirnov <ismirno@us.ibm.com> | 2018-05-08 10:11:14 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-05-15 11:55:21 -0400 |
commit | a5982dd2d6a9e5169b9563e89b45f09d487b7856 (patch) | |
tree | 238642dc544f3fc4b60c5c081ca795d2a2655f3f /src/usr | |
parent | 5620f81ace6c31bcda641676672e322ce0d8366f (diff) | |
download | talos-hostboot-a5982dd2d6a9e5169b9563e89b45f09d487b7856.tar.gz talos-hostboot-a5982dd2d6a9e5169b9563e89b45f09d487b7856.zip |
New Attribute For Unusable TPMs
Add a new attribute that is shared with FSP to mark
TPM as not usable. This attribute will drive the alignment
check and will help determine which TPMs are still alive
on the system.
Change-Id: Ie8f81410d582da51a156cefdef4531a04609ed9a
RTC: 191163
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58489
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
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>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr')
-rwxr-xr-x | src/usr/targeting/common/xmltohb/attribute_types.xml | 25 | ||||
-rw-r--r-- | src/usr/targeting/common/xmltohb/target_types.xml | 3 |
2 files changed, 28 insertions, 0 deletions
diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index 1d834d780..ab456ceaf 100755 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -1015,6 +1015,31 @@ </attribute> <attribute> + <id>TPM_UNUSABLE</id> + <description> + Indicates whether the TPM is unusable. Hostboot should not read this + value for any purpose other than tracing. This value should only be + written to when there is a certainty that the TPM is not usable. + This attribute is consumed by FSP during alignment check to determine + the optimal boot configuration. This attribute can be removed if TPM + gard is ever supported. + </description> + <simpleType> + <uint8_t> + <default>0</default> + </uint8_t> + <range> + <min>0</min> + <max>1</max> + </range> + </simpleType> + <persistency>non-volatile</persistency> + <readable></readable> + <writeable></writeable> + <no_export/> + </attribute> + + <attribute> <description> Indicates the chip's EC level, distinct from ATTR_EC to handle non-standard mini-ECs, e.g. 1.01, separate from the real diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml index c86f99606..36497b876 100644 --- a/src/usr/targeting/common/xmltohb/target_types.xml +++ b/src/usr/targeting/common/xmltohb/target_types.xml @@ -1050,6 +1050,9 @@ <attribute> <id>TPM_INFO</id> </attribute> + <attribute> + <id>TPM_UNUSABLE</id> + </attribute> </targetType> <!-- This special TPM target exists only to adapt Hostboot's TPM target to |