summaryrefslogtreecommitdiffstats
path: root/src/usr/ibscom
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2014-03-31 14:33:15 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-04-03 11:24:45 -0500
commitebe7f20b07a633f287db0bd602a411aa5b6c0d1b (patch)
tree285a7eea0297ab004311803e0cb0b6a43923e783 /src/usr/ibscom
parent485d1e989e5ab2f81384a8c3c83d8bcd39aec1bc (diff)
downloadtalos-hostboot-ebe7f20b07a633f287db0bd602a411aa5b6c0d1b.tar.gz
talos-hostboot-ebe7f20b07a633f287db0bd602a411aa5b6c0d1b.zip
Clear ibscom flag on nonfunctional chips
Because there are procedures that do scoms on non-functional centaur chips, we need to ensure that those chips do not attempt to do inband scoms. Change-Id: I14171fee06558b39c7c0675f2e446b3b82df986c CQ: SW254400 Backport: release-fips810 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10013 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/ibscom')
-rw-r--r--src/usr/ibscom/ibscom.C10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/usr/ibscom/ibscom.C b/src/usr/ibscom/ibscom.C
index 71ea19e67..e7be7e937 100644
--- a/src/usr/ibscom/ibscom.C
+++ b/src/usr/ibscom/ibscom.C
@@ -877,7 +877,15 @@ errlHndl_t ibscomPerformOp(DeviceFW::OperationType i_opType,
void enableInbandScoms( bool i_disable )
{
TARGETING::TargetHandleList membufChips;
- TARGETING::getAllChips(membufChips, TYPE_MEMBUF, true);
+
+ //In the enable path, only modify function chips, but in the
+ // disable path we want to touch everybody
+ bool func_only = true;
+ if( IBSCOM_DISABLE == i_disable )
+ {
+ func_only = false;
+ }
+ TARGETING::getAllChips(membufChips, TYPE_MEMBUF, func_only);
mutex_t* l_mutex = NULL;
OpenPOWER on IntegriCloud