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/mbox | |
| 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/mbox')
| -rw-r--r-- | src/usr/mbox/mailboxsp.C | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/usr/mbox/mailboxsp.C b/src/usr/mbox/mailboxsp.C index 1e462dbbe..7ce3b9e25 100644 --- a/src/usr/mbox/mailboxsp.C +++ b/src/usr/mbox/mailboxsp.C @@ -229,9 +229,19 @@ errlHndl_t MailboxSp::_init() if(!err) { // call ErrlManager function - tell him that MBOX is ready! + // Note: this API does -not- return an error log, unlike the one below. ERRORLOG::ErrlManager::errlResourceReady(ERRORLOG::MBOX); - TARGETING::AttrRP::notifyResourceReady( - TARGETING::AttrRP::RESOURCE::MAILBOX); + + // Inform attribute resource provider to enable FSP attribute sync + // functionality + err = TARGETING::AttrRP::notifyResourceReady( + TARGETING::AttrRP::RESOURCE::MAILBOX); + if(err) + { + TRACFCOMP(g_trac_mbox, ERR_MRK + "MailboxSp::_init: Failed in call to " + "TARGETING::AttrRP::notifyResourceReady."); + } } #endif |

