diff options
author | Mike Baiocchi <mbaiocch@us.ibm.com> | 2019-02-19 10:55:19 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-03-05 08:53:09 -0600 |
commit | d74d3932d989bca5b533c48024ac135ec9991d64 (patch) | |
tree | c6ef9e1e29a5d6a5397eef5f4c9b1586d3d24379 /src/include | |
parent | eeb5732a169d35955e96236f6389e95a29a22af8 (diff) | |
download | talos-hostboot-d74d3932d989bca5b533c48024ac135ec9991d64.tar.gz talos-hostboot-d74d3932d989bca5b533c48024ac135ec9991d64.zip |
Secureboot: Enhance Error Callouts For New Multinode Trustedboot Transfer
This commit adds many checks to callout potential issues with the new
multinode trustedboot transfer protocol. It also improves some
TPM-related traces.
Change-Id: Ice3f8be0668cc63321eeb2562bb8ffe610284b6a
RTC:203642
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72363
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/usr/secureboot/secure_reasoncodes.H | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/usr/secureboot/secure_reasoncodes.H b/src/include/usr/secureboot/secure_reasoncodes.H index 51947a7f7..d121fc7b9 100644 --- a/src/include/usr/secureboot/secure_reasoncodes.H +++ b/src/include/usr/secureboot/secure_reasoncodes.H @@ -68,6 +68,8 @@ namespace SECUREBOOT MOD_NC_GEN_SLAVE_RESPONSE = 0x2B, MOD_NC_GEN_MASTER_REQUEST = 0x2C, MOD_NC_PROCESS_SLAVE_QUOTE = 0x2D, + MOD_NCT_SEND = 0x2E, + MOD_NCT_RECEIVE = 0x2F, }; enum SECUREReasonCode @@ -98,7 +100,7 @@ namespace SECUREBOOT RC_COULD_NOT_ALLOCATE_SMF_MEM = SECURE_COMP_ID | 0x17, RC_ALLOCATED_NE_REQUESTED = SECURE_COMP_ID | 0x18, - // Use 0x20-0x2F range for Node Communications + // Use 0x20-0x3F range for Node Communications RC_NCDD_HW_ERROR_FOUND = SECURE_COMP_ID | 0x20, RC_NCDD_CMD_COMP_TIMEOUT = SECURE_COMP_ID | 0x21, RC_NC_DATA_MISCOMPARE = SECURE_COMP_ID | 0x22, @@ -115,6 +117,11 @@ namespace SECUREBOOT RC_NC_NO_PRIMARY_TPM_LOG = SECURE_COMP_ID | 0x2D, RC_NC_BAD_MASTER_EYE_CATCH = SECURE_COMP_ID | 0x2E, RC_NC_BAD_SLAVE_QUOTE = SECURE_COMP_ID | 0x2F, + RC_NCDD_INVALID_OP_TYPE = SECURE_COMP_ID | 0x30, + RC_NCT_TYPE_SIZE_MISMATCH = SECURE_COMP_ID | 0x31, + RC_NCT_ACK_MISMATCH = SECURE_COMP_ID | 0x32, + RC_NCT_INITIATION_MISMATCH = SECURE_COMP_ID | 0x33, + RC_NCEX_NO_FUNCTIONAL_PRIMARY_TPM = SECURE_COMP_ID | 0x34, // Reason codes 0xA0 - 0xEF reserved for trustedboot_reasoncodes.H }; |