summaryrefslogtreecommitdiffstats
path: root/src/usr/isteps/istep16
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2016-11-04 11:30:17 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-03-08 11:06:34 -0500
commitc3d233bbaf7a2f274147d16edbc080bae0ffd714 (patch)
tree8058bc8e764135eecc21cdcd1177814dd4e180c8 /src/usr/isteps/istep16
parent1301e43641f7d3f315a0abc8112fa88927c9fa9a (diff)
downloadtalos-hostboot-c3d233bbaf7a2f274147d16edbc080bae0ffd714.tar.gz
talos-hostboot-c3d233bbaf7a2f274147d16edbc080bae0ffd714.zip
Hostboot Base TCE Support
This commit adds the base support for hostboot to enable/disable the use of TCEs. It allows for the creation and managment of a TCE table and also initializes the P9 processors to use this table. Change-Id: Idb40f9df5a90d8b7e87b2f5b745cbe7e66109df2 RTC:145071 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32562 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/isteps/istep16')
-rw-r--r--src/usr/isteps/istep16/call_host_ipl_complete.C15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/usr/isteps/istep16/call_host_ipl_complete.C b/src/usr/isteps/istep16/call_host_ipl_complete.C
index 30857d73c..1242367ef 100644
--- a/src/usr/isteps/istep16/call_host_ipl_complete.C
+++ b/src/usr/isteps/istep16/call_host_ipl_complete.C
@@ -44,6 +44,7 @@
#include <targeting/attrrp.H>
#include <sys/internode.h>
#include <runtime/runtime.H>
+#include <util/utiltce.H>
using namespace ERRORLOG;
using namespace TARGETING;
@@ -63,6 +64,20 @@ void* call_host_ipl_complete (void *io_pArgs)
"call_host_ipl_complete entry" );
do
{
+ // Setup the TCEs needed for the FSP to DMA the PAYLOAD
+/* @TODO RTC 168745 - make this call when FSP is ready for TCE Support
+ * and add check that we're on a FSP system
+ * NOTE: add check to do this only on FSP-based systems
+ * l_err = TCE::utilSetupPayloadTces();
+ *
+ * if( l_err )
+ * {
+ * TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
+ * ERR_MRK"TCE::utilSetupPayloadTces failed");
+ * break;
+ * }
+ */
+
// Initialize the RUNTIME DATA attributes
// that HDAT needs to allocate memory for us.
// -----------------------------------------
OpenPOWER on IntegriCloud