diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2018-02-03 08:37:31 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-02-06 11:59:15 -0500 |
commit | 9225a7cd9cfa3d29d32d46f2fd9a76ff3e53df37 (patch) | |
tree | bbd2f1b3e9b87191996c16b086275bd750339e1e /src/usr | |
parent | 688f82f4a276fc5098ceadd51f0de022324d1f5f (diff) | |
download | talos-hostboot-9225a7cd9cfa3d29d32d46f2fd9a76ff3e53df37.tar.gz talos-hostboot-9225a7cd9cfa3d29d32d46f2fd9a76ff3e53df37.zip |
Only enable TCEs on drawer 0 for multinode
Change-Id: I0da35514cf1a408886eead3b91ae7d1e5ab78f5c
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53336
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>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/isteps/istep16/call_host_ipl_complete.C | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/usr/isteps/istep16/call_host_ipl_complete.C b/src/usr/isteps/istep16/call_host_ipl_complete.C index 7567832a4..c96af304d 100644 --- a/src/usr/isteps/istep16/call_host_ipl_complete.C +++ b/src/usr/isteps/istep16/call_host_ipl_complete.C @@ -107,9 +107,18 @@ void* call_host_ipl_complete (void *io_pArgs) l_err = nullptr; } #endif + //@TODO RTC:172767 + //TCE setup is broken on multinode. This is a quick hack to only do it + //on drawer 0 (and if you don't have a drawer 0 this is busted) + TARGETING::Target* mproc = nullptr; + TARGETING::targetService().masterProcChipTargetHandle(mproc); + TARGETING::EntityPath epath = mproc->getAttr<TARGETING::ATTR_PHYS_PATH>(); + const TARGETING::EntityPath::PathElement pe = + epath.pathElementOfType(TARGETING::TYPE_NODE); + uint64_t nodeid = pe.instance; // Setup the TCEs needed for the FSP to DMA the PAYLOAD - if (TCE::utilUseTcesForDmas()) + if (TCE::utilUseTcesForDmas() && (0 == nodeid)) { l_err = TCE::utilSetupPayloadTces(); |