summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.H
diff options
context:
space:
mode:
authorCHRISTINA L. GRAVES <clgraves@us.ibm.com>2017-02-07 18:04:28 -0600
committerJoseph J. McGill <jmcgill@us.ibm.com>2017-03-09 13:20:14 -0500
commitd9324202945590ca41ac07abd1e2cc2690063f79 (patch)
treee5b7f19f92857fe8907bcb123445860acfa904d2 /src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.H
parent65667a20e1eaca6af616af02165f0bebb85da2fa (diff)
downloadtalos-sbe-d9324202945590ca41ac07abd1e2cc2690063f79.tar.gz
talos-sbe-d9324202945590ca41ac07abd1e2cc2690063f79.zip
ADU HWP updates for CI support, performance
adjustments to support long running CI operations ignore autoinc mode for CI ttype include poll for data done prior to final status check ignore ADU operational/data hang reporting correctly report num_granules when running without autoinc performance enhancements: minimize SCOM operations for single shot transfers (15->9) reduce polling delays add simple test program to validate transfer sizes, measure perf Change-Id: Ic1f3890ff40f448fb1143d639d878896e90237fd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36086 Dev-Ready: Brent Wieman <bwieman@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36799 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.H')
-rw-r--r--src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.H20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.H b/src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.H
index 2f82269c..c59bb17c 100644
--- a/src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.H
+++ b/src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2016 */
+/* Contributors Listed Below - COPYRIGHT 2015,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -127,7 +127,7 @@ extern"C"
return iv_operType;
}
- /// @brief Set the Auto Increment option, for CI/DMA operations only.
+ /// @brief Set the Auto Increment option, for DMA operations only.
///
/// @param[in] i_value True: Enable auto inc; False: Disable
///
@@ -135,30 +135,16 @@ extern"C"
///
inline void setAutoIncrement(bool i_value)
{
- if ( (iv_operType != CACHE_INHIBIT) &&
- (iv_operType != DMA_PARTIAL) )
- {
- FAPI_ERR("WARNING: Set AUTOINC for non CI/DMA operation, Operation type 0x%.8X",
- iv_operType);
- }
-
iv_autoInc = i_value;
return;
}
- /// @brief Get the Auto Increment setting, for CI/DMA operations only.
+ /// @brief Get the Auto Increment setting, for DMA operations only.
///
/// @return iv_autoInc.
///
inline const bool getAutoIncrement(void)
{
- if ( (iv_operType != CACHE_INHIBIT) &&
- (iv_operType != DMA_PARTIAL) )
- {
- FAPI_ERR("WARNING: AUTOINC value is invalid for non CI/DMA operation, Operation type 0x%.8X",
- iv_operType);
- }
-
return iv_autoInc;
}
OpenPOWER on IntegriCloud