From 1dbb91e5eeb4078d8eba2a4afa5a88ee147ceddb Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Fri, 1 Nov 2019 14:39:13 -0500 Subject: Add new Key Clear Request Attribute This commit adds a new Key Clear Request Attribute and Enumeration to be shared by the FSP and Hostboot code for future Key Clear support. Change-Id: I74bb9c12ed1d3fdcf8f55c77c76d4001b15e3b0f RTC:210301 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/86409 Reviewed-by: Christopher J Engel Reviewed-by: Ilya Smirnov Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Nicholas E Bofferding Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M Crowell --- .../targeting/common/xmltohb/attribute_types.xml | 75 ++++++++++++++++++++++ src/usr/targeting/common/xmltohb/target_types.xml | 3 + 2 files changed, 78 insertions(+) (limited to 'src/usr/targeting/common') diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index 72842c83d..0fb3ff9aa 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -2970,6 +2970,81 @@ + + KEY_CLEAR_REQUEST + + Indicates types of Key Clear Requests are being made + + volatile-zeroed + + + + KEY_CLEAR_REQUEST + NONE + + + + + + + KEY_CLEAR_REQUEST + + Enum indicating the different possible Key Clear Request values + + + + (Default) Key clear not requested + + NONE + 0x0000 + + + + Clear/reset all sensitive data controlled by platform firmware + from the system + + ALL + 0x8000 + + + + This indicates OPAL to clear the OS platform key + + OS_PK + 0x4000 + + + + This indicates to OPAL/PEF to clear the System Security Officer + certificate + + PEF_SSO + 0x2000 + + + + This indicates to PowerVM to clear the system key to the default state + + POWERVM_SYSKEY + 0x1000 + + + + Clear all sensitive data for MFG processing + Only valid on development drivers + + MFG + 0x0100 + + + + Reserved bits + + RESERVED + 0x00FF + + + KEY_TRANSITION_STATE diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml index 737929ab9..e5e04f9dd 100644 --- a/src/usr/targeting/common/xmltohb/target_types.xml +++ b/src/usr/targeting/common/xmltohb/target_types.xml @@ -1225,6 +1225,9 @@ 0x00000039 HWAS_STATE_CHANGED_SUBSCRIPTION_MASK + + KEY_CLEAR_REQUEST + KEY_TRANSITION_STATE -- cgit v1.2.1