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/sbe | |
| 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/sbe')
| -rw-r--r-- | src/usr/sbe/sbe_update.C | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/sbe/sbe_update.C b/src/usr/sbe/sbe_update.C index cfa3372ec..4792de5bd 100644 --- a/src/usr/sbe/sbe_update.C +++ b/src/usr/sbe/sbe_update.C @@ -36,6 +36,7 @@ #include <targeting/common/targetservice.H> #include <targeting/common/target.H> #include <targeting/targplatutil.H> +#include <targeting/attrrp.H> #include <util/align.H> #include <util/crc32.H> #include <util/misc.H> @@ -277,7 +278,7 @@ namespace SBE { // Sync all attributes to FSP before we quiesce all the // SBEs. - err = syncAllAttributesToFsp(); + err = TARGETING::AttrRP::syncAllAttributesToFsp(); if( err ) { // Failed to sync all attributes to FSP; this is not @@ -5535,7 +5536,7 @@ errlHndl_t sbeDoReboot( void ) && !g_do_hw_keys_hash_transition) { // Sync all attributes to the FSP before doing the Shutdown - err = syncAllAttributesToFsp(); + err = TARGETING::AttrRP::syncAllAttributesToFsp(); if( err ) { // Something failed on the sync. Commit the error here |

