summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/istep10/call_host_update_redundant_tpm.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/isteps/istep10/call_host_update_redundant_tpm.C')
-rw-r--r--src/usr/isteps/istep10/call_host_update_redundant_tpm.C24
1 files changed, 22 insertions, 2 deletions
diff --git a/src/usr/isteps/istep10/call_host_update_redundant_tpm.C b/src/usr/isteps/istep10/call_host_update_redundant_tpm.C
index 2d9a8a8cd..ffdf52980 100644
--- a/src/usr/isteps/istep10/call_host_update_redundant_tpm.C
+++ b/src/usr/isteps/istep10/call_host_update_redundant_tpm.C
@@ -55,6 +55,25 @@ namespace ISTEP_10
{
void* call_host_update_redundant_tpm (void *io_pArgs)
{
+ TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
+ ENTER_MRK"call_host_update_redundant_tpm");
+
+ errlHndl_t err = nullptr;
+
+ // Before update procedure, trace security settings
+ err = SECUREBOOT::traceSecuritySettings();
+ if (err)
+ {
+ TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
+ "call_host_update_redundant_tpm: Error back from "
+ "SECUREBOOT::traceSecuritySettings: rc=0x%X, plid=0x%X",
+ ERRL_GETRC_SAFE(err), ERRL_GETPLID_SAFE(err));
+
+ // Commit log, but continue
+ ERRORLOG::errlCommit( err, SECURE_COMP_ID );
+ }
+
+ // Start of update procedure
#ifdef CONFIG_SECUREBOOT
do {
@@ -103,8 +122,6 @@ void* call_host_update_redundant_tpm (void *io_pArgs)
>(l_protectTpm);
}
- errlHndl_t err = nullptr;
-
const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP> l_fapiTarg(pProc);
FAPI_INVOKE_HWP(err, p9_update_security_ctrl, l_fapiTarg);
@@ -169,6 +186,9 @@ void* call_host_update_redundant_tpm (void *io_pArgs)
#endif // CONFIG_SECUREBOOT
+ TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
+ EXIT_MRK"call_host_update_redundant_tpm");
+
return nullptr;
}
OpenPOWER on IntegriCloud