From c3d233bbaf7a2f274147d16edbc080bae0ffd714 Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Fri, 4 Nov 2016 11:30:17 -0500 Subject: 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 Reviewed-by: Stephen M. Cprek Tested-by: FSP CI Jenkins Reviewed-by: Marshall J. Wilks Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins OP Build CI Reviewed-by: William G. Hoffa --- src/usr/isteps/istep16/call_host_ipl_complete.C | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/usr/isteps/istep16') 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 #include #include +#include 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. // ----------------------------------------- -- cgit v1.2.1