From 8fcdfa14a7d3e8615f08c398bec2ee0b7a8d119e Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Wed, 6 Dec 2017 07:08:01 -0600 Subject: Support Verifying and Moving PAYLOAD and HDAT when TCEs are Enabled This commit makes changes in istep 16 to set up temporary memory regions that the FSP will use to DMA-via-TCEs the PAYLOAD and HDAT sections into memory in istep 20. Then in istep 21 Hostboot will verify and move these sections to the final memory locations. Change-Id: I3c9e026a8e2c3c40008364c4229915b4a661d0fe RTC:181900 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50624 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Nicholas E. Bofferding Reviewed-by: Marshall J. Wilks Reviewed-by: Stephen M. Cprek Reviewed-by: Daniel M. Crowell --- src/include/usr/util/utiltce.H | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/include/usr/util') diff --git a/src/include/usr/util/utiltce.H b/src/include/usr/util/utiltce.H index 0aaffacf1..b0aaf48ae 100644 --- a/src/include/usr/util/utiltce.H +++ b/src/include/usr/util/utiltce.H @@ -50,10 +50,11 @@ namespace TCE * Size must be less than (512K * PAGESIZE) or will fail. * Assert if not greater than zero. * - * @param[out] o_startingToken - Starting Entry into the table. - * (This is an offset into the array based on the - * TCE index * PAGESIZE. Each TCE entry maps to - * a pagesize of memory) + * @param[out] o_startingToken - Key to the Starting Entry into the table. + * This is an offset into the array based on the + * TCE Index * PAGESIZE. + * FSP uses the token as a DMA Address. + * Each TCE entry maps to a pagesize of memory. * * Note: First time this is called will cause TCE Table to be created and * the Processors to be setup to point at the TCE Table @@ -97,7 +98,7 @@ errlHndl_t utilDisableTces(void); /******************************************************/ /** - * @brief Responsible for Setting up TCEs for PAYLOAD + * @brief Responsible for Setting up TCEs for PAYLOAD, including HDAT * * @return errlHndl_t - Return Error Handle if failed * @@ -105,7 +106,7 @@ errlHndl_t utilDisableTces(void); errlHndl_t utilSetupPayloadTces(void); /** - * @brief Responsible for closing the TCEs for PAYLOAD + * @brief Responsible for closing the TCEs for PAYLOAD, including HDAT * * @return errlHndl_t - Return Error Handle if failed * -- cgit v1.2.3