From db9ded1e83f4aa6309e8b8cfabdf02ab4e2ad405 Mon Sep 17 00:00:00 2001 From: Nick Bofferding Date: Tue, 3 Apr 2018 01:13:23 -0500 Subject: Secure Boot: Introduce key transition state node attribute Key transitioning on FSP-based systems is problematic because the key transition process quiesces both SBEs then TIs, which prevents the FSP TI handler from being able to determine the TI reason when secure mode is enabled. This change introduces a new key transition state node attribute and enum which later commits will will use to inform FSP of status in the key transition flow Change-Id: I9f40a2b8aa2c797fffd437f20615fedf82ca3f99 CQ: SW418697 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56676 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Michael Baiocchi Reviewed-by: ILYA SMIRNOV Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa --- .../targeting/common/xmltohb/attribute_types.xml | 57 ++++++++++++++++++++++ src/usr/targeting/common/xmltohb/target_types.xml | 3 ++ 2 files changed, 60 insertions(+) diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index 90fb7b3db..95a4588a7 100755 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -6294,6 +6294,63 @@ + + KEY_TRANSITION_STATE + + Enum indicating the current Secure Boot key transition state for the + node. + + + + Secure Boot key transition not yet requested for the node + + KEY_TRANSITION_NOT_REQUESTED + 0 + + + + About to write new system Secure Boot key to first SBE SEEPROM + side in the node + + KEY_TRANSITION_STARTED + 1 + + + + Failed to apply new system Secure Boot key to one or more functional + SBE SEEPROM sides in the node + + KEY_TRANSITION_FAILED + 2 + + + + Successfully applied new system Secure Boot key to every functional + SBE SEEPROM side in the node + + KEY_TRANSITION_SUCCEEDED + 3 + + + + + + Attribute indicating the status of the Secure Boot key transition for + the node + + + KEY_TRANSITION_STATE + volatile-zeroed + + + + + KEY_TRANSITION_STATE + KEY_TRANSITION_NOT_REQUESTED + + + + FUSED_CORE_MODE_HB diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml index a1ec6dcd2..04808b837 100644 --- a/src/usr/targeting/common/xmltohb/target_types.xml +++ b/src/usr/targeting/common/xmltohb/target_types.xml @@ -996,6 +996,9 @@ FRU_ID + + KEY_TRANSITION_STATE + EEPROM_VPD_PRIMARY_INFO -- cgit v1.2.3