summaryrefslogtreecommitdiffstats
path: root/hwp
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2015-07-14 05:18:40 -0500
committerJennifer A. Stofer <stofer@us.ibm.com>2015-07-28 15:21:17 -0500
commitd553cfa7b58b4529e72557b219b87319c11da043 (patch)
tree153ee4403caa10105a1e5280c4916076f659b183 /hwp
parent8fd7df0b85039d5dc5f8a23f0d80cbce7d30a600 (diff)
downloadtalos-sbe-d553cfa7b58b4529e72557b219b87319c11da043.tar.gz
talos-sbe-d553cfa7b58b4529e72557b219b87319c11da043.zip
Add SBE support for per directory error XML files
- Added parseErrorInfo.pl Change-Id: I263797070f09d0b869f3de52916049574d272cb6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18819 Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Tested-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'hwp')
-rw-r--r--hwp/cache/cachehcderrors.mk28
-rw-r--r--hwp/core/corehcderrors.mk30
-rw-r--r--hwp/lib/libcommonerrors.mk20
-rw-r--r--hwp/lib/p9_avsbus_lib_errors.xml50
-rw-r--r--hwp/perv/p9_sbe_setup_evid_errors.xml50
-rw-r--r--hwp/perv/perverrors.mk17
-rw-r--r--hwp/utils/utilserrors.mk15
7 files changed, 210 insertions, 0 deletions
diff --git a/hwp/cache/cachehcderrors.mk b/hwp/cache/cachehcderrors.mk
new file mode 100644
index 00000000..486af276
--- /dev/null
+++ b/hwp/cache/cachehcderrors.mk
@@ -0,0 +1,28 @@
+# @file cachehcderrors.mk
+#
+# @brief mk for including cache error files
+#
+# @page ChangeLogs Change Logs
+# @section cachehcderrors.mk
+#
+##########################################################################
+# Error Files
+##########################################################################
+
+CACHE_CURR_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
+
+# This variable name must not change
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_arrayinit.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_chiplet_init.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_chiplet_reset.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_dpll_setup.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_gptr_time_initf.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_initf.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_occ_runtime_scom.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_poweron.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_ras_runtime_scom.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_repair_initf.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_runinit.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_scomcust.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_scominit.C
+#ERROR_XML_FILES += $(CACHE_CURR_DIR)/p9_hcd_cache_startclocks.C
diff --git a/hwp/core/corehcderrors.mk b/hwp/core/corehcderrors.mk
new file mode 100644
index 00000000..a4a021c4
--- /dev/null
+++ b/hwp/core/corehcderrors.mk
@@ -0,0 +1,30 @@
+# @file corehcderrors.mk
+#
+# @brief mk for including core error files
+#
+# @page ChangeLogs Change Logs
+# @section corehcderrors.mk
+#
+##########################################################################
+# Error Files
+##########################################################################
+
+CORE_CURR_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
+
+# This variable name must not change
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_arrayinit_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_chiplet_init_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_chiplet_reset_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_gptr_time_initf_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_initf_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_occ_runtime_scom_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_pcb_arb_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_poweron_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_ras_runtime_scom_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_repair_initf_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_runinit_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_scomcust_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_scominit_errors.xml
+#ERROR_XML_FILES += $(CORE_CURR_DIR)/p9_hcd_core_startclocks_errors.xml
+
+
diff --git a/hwp/lib/libcommonerrors.mk b/hwp/lib/libcommonerrors.mk
new file mode 100644
index 00000000..a344d6b1
--- /dev/null
+++ b/hwp/lib/libcommonerrors.mk
@@ -0,0 +1,20 @@
+# @file libcommonerrors.mk
+#
+# @brief Error XML mk for common library files
+#
+# @page ChangeLogs Change Logs
+# @section libcommonerrors.mk
+# @verbatim
+#
+#
+# @endverbatim
+#
+##########################################################################
+# Error Files
+##########################################################################
+
+LIB_CURR_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
+
+# This variable name must not change
+ERROR_XML_FILES += $(LIB_CURR_DIR)/p9_avsbus_lib_errors.xml
+#ERROR_XML_FILES += $(LIB_CURR_DIR)/p9_common_pro_epi_log_errors.xml
diff --git a/hwp/lib/p9_avsbus_lib_errors.xml b/hwp/lib/p9_avsbus_lib_errors.xml
new file mode 100644
index 00000000..4211c58c
--- /dev/null
+++ b/hwp/lib/p9_avsbus_lib_errors.xml
@@ -0,0 +1,50 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: chips/p9/procedures/ipl/ppe/hwp/p9_avsbus_lib_errors.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- EKB Project -->
+<!-- -->
+<!-- COPYRIGHT 2015 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+
+<!-- *HWP HWP Owner: Greg Still <stillgs @us.ibm.com> -->
+<!-- *HWP FW Owner: Bilicon Patil <bilpatil@in.ibm.com> -->
+<!-- *HWP Team: PM -->
+<!-- *HWP Level: 1 -->
+<!-- *HWP Consumed by: FSP:HS -->
+
+<!-- Error definitions for p9_avsbus_lib procedure -->
+<hwpErrors>
+ <!-- ******************************************************************** -->
+ <hwpError>
+ <rc>RC_PROCPM_AVSBUS_READVOLTAGE_TIMEOUT</rc>
+ <description>
+ A timeout occured reading voltage from an AVSBus interface
+ </description>
+ </hwpError>
+ <!-- ******************************************************************** -->
+ <hwpError>
+ <rc>RC_PROCPM_AVSBUS_WRITEVOLTAGE_TIMEOUT</rc>
+ <description>
+ A timeout occured writing a voltage to an AVSBus interface
+ </description>
+ </hwpError>
+ <!-- ******************************************************************** -->
+ <hwpError>
+ <rc>RC_PROCPM_AVSBUS_IDLEFRAME_TIMEOUT</rc>
+ <description>
+ A timeout occured writing an idle from to an AVSBus interface
+ </description>
+ </hwpError>
+ <!-- ******************************************************************** -->
+</hwpErrors>
diff --git a/hwp/perv/p9_sbe_setup_evid_errors.xml b/hwp/perv/p9_sbe_setup_evid_errors.xml
new file mode 100644
index 00000000..d0489a63
--- /dev/null
+++ b/hwp/perv/p9_sbe_setup_evid_errors.xml
@@ -0,0 +1,50 @@
+<!-- IBM_PROLOG_BEGIN_TAG -->
+<!-- This is an automatically generated prolog. -->
+<!-- -->
+<!-- $Source: chips/p9/procedures/ipl/ppe/hwp/p9_avsbus_lib_errors.xml $ -->
+<!-- -->
+<!-- IBM CONFIDENTIAL -->
+<!-- -->
+<!-- EKB Project -->
+<!-- -->
+<!-- COPYRIGHT 2015 -->
+<!-- [+] International Business Machines Corp. -->
+<!-- -->
+<!-- -->
+<!-- The source code for this program is not published or otherwise -->
+<!-- divested of its trade secrets, irrespective of what has been -->
+<!-- deposited with the U.S. Copyright Office. -->
+<!-- -->
+<!-- IBM_PROLOG_END_TAG -->
+
+<!-- *HWP HWP Owner: Greg Still <stillgs @us.ibm.com> -->
+<!-- *HWP FW Owner: Bilicon Patil <bilpatil@in.ibm.com> -->
+<!-- *HWP Team: PM -->
+<!-- *HWP Level: 1 -->
+<!-- *HWP Consumed by: FSP:HS -->
+
+<!-- Error definitions for p9_avsbus_lib procedure -->
+<hwpErrors>
+ <!-- ******************************************************************** -->
+ <hwpError>
+ <rc>RC_PROCPM_EVID_READVOLTAGE_TIMEOUT</rc>
+ <description>
+ A timeout occured reading voltage from an AVSBus interface
+ </description>
+ </hwpError>
+ <!-- ******************************************************************** -->
+ <hwpError>
+ <rc>RC_PROCPM_EVID_WRITEVOLTAGE_TIMEOUT</rc>
+ <description>
+ A timeout occured writing a voltage to an AVSBus interface
+ </description>
+ </hwpError>
+ <!-- ******************************************************************** -->
+ <hwpError>
+ <rc>RC_PROCPM_EVID_IDLEFRAME_TIMEOUT</rc>
+ <description>
+ A timeout occured writing an idle from to an AVSBus interface
+ </description>
+ </hwpError>
+ <!-- ******************************************************************** -->
+</hwpErrors>
diff --git a/hwp/perv/perverrors.mk b/hwp/perv/perverrors.mk
new file mode 100644
index 00000000..1642766b
--- /dev/null
+++ b/hwp/perv/perverrors.mk
@@ -0,0 +1,17 @@
+# @file perverrors.mk
+#
+# @brief mk for including library common error files
+#
+# @page ChangeLogs Change Logs
+# @section perverrors.mk
+#
+##########################################################################
+# Error Files
+##########################################################################
+
+PERV_CURR_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
+
+# This variable name must not change
+ERROR_XML_FILES += $(PERV_CURR_DIR)/p9_sbe_setup_evid_errors.xml
+
+
diff --git a/hwp/utils/utilserrors.mk b/hwp/utils/utilserrors.mk
new file mode 100644
index 00000000..5556bfe9
--- /dev/null
+++ b/hwp/utils/utilserrors.mk
@@ -0,0 +1,15 @@
+# @file utilserrors.mk
+#
+# @brief mk for including utils error files
+#
+# @page ChangeLogs Change Logs
+# @section utilserrors.mk
+#
+##########################################################################
+# Error Files
+##########################################################################
+
+UTILS_CURR_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
+
+# This variable name must not change
+#ERROR_XML_FILES += $(UTILS_CURR_DIR)/p9_XXX_errors.xml
OpenPOWER on IntegriCloud