Skip to content

Commit

Permalink
Secureboot: Enable New Multinode Trustedboot Transfer
Browse files Browse the repository at this point in the history
This commit adds a new exchange of data between the master and
slave nodes to further enhance our Trustedboot IPL.  It builds
upon updates to the transfer mechanism between the nodes and new
TPM commands on the nodes.

Change-Id: I18bd152e4bd3aeb9b79eb9ec774fc80871874155
RTC:203642
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71903
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: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
mabaiocchi authored and dcrowell77 committed Feb 22, 2019
1 parent 09e13a7 commit 5420b73
Show file tree
Hide file tree
Showing 3 changed files with 215 additions and 54 deletions.
6 changes: 3 additions & 3 deletions src/usr/secureboot/node_comm/node_comm.C
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ errlHndl_t nodeCommAbusRecvMessage(TARGETING::Target* i_pProc,

if (time_polled_ns >= NODE_COMM_POLL_DELAY_TOTAL_NS)
{
TRACFCOMP(g_trac_nc,EXIT_MRK"nodeCommAbusRecvMessage: "
TRACFCOMP(g_trac_nc,ERR_MRK"nodeCommAbusRecvMessage: "
"timeout: time_polled_ns-0x%.16llX, MAX=0x%.16llX, "
"interval=0x%.16llX",
time_polled_ns, NODE_COMM_POLL_DELAY_TOTAL_NS, interval_ns);
Expand Down Expand Up @@ -257,7 +257,7 @@ errlHndl_t nodeCommAbusRecvMessage(TARGETING::Target* i_pProc,

} while( 0 );

TRACFCOMP(g_trac_nc,EXIT_MRK"nodeCommAbusRecvMessage: "
TRACUCOMP(g_trac_nc,EXIT_MRK"nodeCommAbusRecvMessage: "
"Tgt=0x%.08X, link=%d, mbox=%d attn_found=%d: "
"data=0x%.16llX. "
TRACE_ERR_FMT,
Expand Down Expand Up @@ -312,7 +312,7 @@ errlHndl_t nodeCommAbusSendMessage(TARGETING::Target* i_pProc,

} while( 0 );

TRACFCOMP(g_trac_nc,EXIT_MRK"nodeCommAbusSendMessage: iProc=0x%.08X "
TRACUCOMP(g_trac_nc,EXIT_MRK"nodeCommAbusSendMessage: iProc=0x%.08X "
"send data=0x%.16llX through linkId=%d mboxId=%d: "
TRACE_ERR_FMT,
get_huid(i_pProc), i_data, i_linkId, i_mboxId,
Expand Down
2 changes: 1 addition & 1 deletion src/usr/secureboot/node_comm/node_comm_dd.C
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ errlHndl_t nodeCommPerformOp( DeviceFW::OperationType i_opType,
}


TRACFCOMP (g_trac_nc, EXIT_MRK"nodeCommPerformOp: %s: %s: "
TRACUCOMP (g_trac_nc, EXIT_MRK"nodeCommPerformOp: %s: %s: "
"tgt=0x%X, LinkId=%d, MboxId=%d, data=0x%.16llX. "
TRACE_ERR_FMT,
(node_comm_args.mode == NCDD_MODE_ABUS)
Expand Down

0 comments on commit 5420b73

Please sign in to comment.