summaryrefslogtreecommitdiffstats
path: root/src/usr/scom/scom.H
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-04-07 16:44:52 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-04-27 11:46:53 -0400
commit566ab6c4c49dd27220f26f76f19a72bf95ac00cc (patch)
treea202dcbbb57ffbac86b6e2fcee587325ca158985 /src/usr/scom/scom.H
parent29319e3a075801a154e4b95434bd7d49797274ca (diff)
downloadtalos-hostboot-566ab6c4c49dd27220f26f76f19a72bf95ac00cc.tar.gz
talos-hostboot-566ab6c4c49dd27220f26f76f19a72bf95ac00cc.zip
Implement IGNORE_HW_ERROR opMode for Scom access
Some scoms will want to ignore HW errors from the various devices used to perform scoms. This new opMode provides an option to let the scom code know that errors from HW should be ignored Change-Id: I88ea9c7a64e1d09e68ee85225b15babb434a4813 RTC: 150453 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23041 Tested-by: Jenkins Server Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/scom/scom.H')
-rw-r--r--src/usr/scom/scom.H8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/scom/scom.H b/src/usr/scom/scom.H
index 4d4d8a7c8..7b6729e54 100644
--- a/src/usr/scom/scom.H
+++ b/src/usr/scom/scom.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2011,2016 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -161,6 +163,7 @@ errlHndl_t doScomOp(DeviceFW::OperationType i_opType,
* @param[in] i_accessType Select from DeviceFW::AccessType enum
* @see usr/devicefw/userif.H
* @param[in] i_addr Scom Address Value.
+ * @param[in] i_opMode the fapi2::OpMode for this scom operation
*
* @return errlHndl_t
*/
@@ -169,7 +172,8 @@ errlHndl_t checkIndirectAndDoScom(DeviceFW::OperationType i_opType,
void* io_buffer,
size_t& io_buflen,
int64_t i_accessType,
- uint64_t i_addr);
+ uint64_t i_addr,
+ uint64_t i_opMode);
}; // End namespace
OpenPOWER on IntegriCloud