From a5982dd2d6a9e5169b9563e89b45f09d487b7856 Mon Sep 17 00:00:00 2001 From: Ilya Smirnov Date: Tue, 8 May 2018 10:11:14 -0500 Subject: 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 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Michael Baiocchi Reviewed-by: Daniel M. Crowell --- .../targeting/common/xmltohb/attribute_types.xml | 25 ++++++++++++++++++++++ src/usr/targeting/common/xmltohb/target_types.xml | 3 +++ 2 files changed, 28 insertions(+) (limited to 'src/usr') 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 @@ -1014,6 +1014,31 @@ + + TPM_UNUSABLE + + 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. + + + + 0 + + + 0 + 1 + + + non-volatile + + + + + Indicates the chip's EC level, distinct from ATTR_EC to handle 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 @@ TPM_INFO + + TPM_UNUSABLE +