diff options
author | Sheldon Bailey <baileysh@us.ibm.com> | 2018-09-05 13:52:27 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-09-26 08:42:37 -0500 |
commit | 2efcf21862329a9dc028ee5a017556f5aa19d62d (patch) | |
tree | cd367720884ab82d9401cda63a98cbee41688bcd /src/usr/htmgt | |
parent | 09f379b658216387cff00b9dad5390eb87246198 (diff) | |
download | talos-hostboot-2efcf21862329a9dc028ee5a017556f5aa19d62d.tar.gz talos-hostboot-2efcf21862329a9dc028ee5a017556f5aa19d62d.zip |
OCC reset happening on OpenPower systems with more than 2 processors
Change-Id: I12525b5d9fdf983a3e1eb2b05476c7c2defe23a3
CQ:SW437692
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65715
Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/htmgt')
-rw-r--r-- | src/usr/htmgt/htmgt_occ.C | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/usr/htmgt/htmgt_occ.C b/src/usr/htmgt/htmgt_occ.C index c5fd57885..693209622 100644 --- a/src/usr/htmgt/htmgt_occ.C +++ b/src/usr/htmgt/htmgt_occ.C @@ -559,19 +559,21 @@ namespace HTMGT } } - if (nullptr != iv_occMaster) + } // for each processor + + if (nullptr != iv_occMaster) + { + // update master occsPresent bit for each slave OCC + for( const auto & occ : iv_occArray ) { - // update master occsPresent bit for each slave OCC - for( const auto & occ : iv_occArray ) + if(occ != iv_occMaster) { - if(occ != iv_occMaster) - { - iv_occMaster-> - updateOccPresentBits(occ->getPresentBits()); - } + iv_occMaster-> + updateOccPresentBits(occ->getPresentBits()); } } - } // for each processor + } + } else { |