diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2018-10-12 15:03:44 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-10-17 08:18:29 -0500 |
commit | 39c57d2a42c30cc87a47f279ead88ea304f68440 (patch) | |
tree | cd1dcad0c6d54a5abf0f4b94a603c00065735b05 /src/usr/secureboot/trusted | |
parent | 6dc98524f3673a1c49bffcc738a7a7c09af7c989 (diff) | |
download | talos-hostboot-39c57d2a42c30cc87a47f279ead88ea304f68440.tar.gz talos-hostboot-39c57d2a42c30cc87a47f279ead88ea304f68440.zip |
Serialize all attribute synchronization calls
Forces all FSP attribute synchronizations down to FSP to serialize in the
attribute resource provider attribute synchronization daemon thread to avoid
concurrenty problems.
Change-Id: Ifb355ba6f42872465ea3d6f0d9009cfd6f768d7a
CQ: SW448280
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67450
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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/secureboot/trusted')
-rw-r--r-- | src/usr/secureboot/trusted/trustedboot.C | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/secureboot/trusted/trustedboot.C b/src/usr/secureboot/trusted/trustedboot.C index 7b06c59c9..28122df6c 100644 --- a/src/usr/secureboot/trusted/trustedboot.C +++ b/src/usr/secureboot/trusted/trustedboot.C @@ -39,6 +39,7 @@ #include <errl/errludtarget.H> #include <errl/errludstring.H> #include <targeting/attrsync.H> +#include <targeting/attrrp.H> #include <targeting/targplatutil.H> #include <targeting/common/targetservice.H> #include <targeting/common/commontargeting.H> @@ -1289,7 +1290,7 @@ void tpmVerifyFunctionalPrimaryTpmExists( // TPM alignment check. if(INITSERVICE::spBaseServicesEnabled()) { - err = TARGETING::syncAllAttributesToFsp(); + err = TARGETING::AttrRP::syncAllAttributesToFsp(); if(err) { TRACFCOMP(g_trac_trustedboot, ERR_MRK"Could not sync" |