summaryrefslogtreecommitdiffstats
path: root/src/usr/fsi
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2015-10-02 14:33:22 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-10-06 09:56:39 -0500
commit5b5bd5d08d4be9e262d69529a946b7b4655a1731 (patch)
tree45c59b7af08a34b89a08c08dc97e993887cfc6cf /src/usr/fsi
parent35eb9cf0d50a42d21cc5494f6cb3e2fac012768a (diff)
downloadtalos-hostboot-5b5bd5d08d4be9e262d69529a946b7b4655a1731.tar.gz
talos-hostboot-5b5bd5d08d4be9e262d69529a946b7b4655a1731.zip
Include MFSI offset for Centaur access from OCC
Add the FSI offset for the MFSI master to the base address for cascaded slaves, this allows access to the Centaurs hanging off the non-master processors from the OCC FIR collection code. Change-Id: I5b6c1d77e90f233cab99bb74f5374d0456093cbc CQ: SW322919 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20930 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: MATTHEW A. PLOETZ <maploetz@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/fsi')
-rw-r--r--src/usr/fsi/fsidd.C8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/fsi/fsidd.C b/src/usr/fsi/fsidd.C
index 6e7ae8aea..f09363be2 100644
--- a/src/usr/fsi/fsidd.C
+++ b/src/usr/fsi/fsidd.C
@@ -3031,6 +3031,14 @@ void FsiDD::getFsiLinkInfo( TARGETING::Target* i_slave,
{
o_info.mPort = 1;
}
+
+ // if this chip is not off the master, need to include
+ // its master's offset too
o_info.baseAddr = addr_info.absAddr;
+ if( addr_info.opbTarg != iv_master )
+ {
+ FsiChipInfo_t mfsi_info = getFsiInfo(addr_info.accessInfo.master);
+ o_info.baseAddr |= getPortOffset(mfsi_info.type,mfsi_info.port);
+ }
}
OpenPOWER on IntegriCloud