summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2018-10-12 15:03:44 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-10-17 08:18:29 -0500
commit39c57d2a42c30cc87a47f279ead88ea304f68440 (patch)
treecd1dcad0c6d54a5abf0f4b94a603c00065735b05 /src/usr/secureboot
parent6dc98524f3673a1c49bffcc738a7a7c09af7c989 (diff)
downloadtalos-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')
-rw-r--r--src/usr/secureboot/trusted/trustedboot.C3
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"
OpenPOWER on IntegriCloud