summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pm_cme_firinit.C
diff options
context:
space:
mode:
authorPrasad Bg Ranganath <prasadbgr@in.ibm.com>2017-07-12 07:56:26 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-08-04 10:46:41 -0400
commit67a012a80cf06ea7a53d6d58156d9c9c0e724707 (patch)
treed318c00b64caa40bd80607260c023f5d9dbd50fe /src/import/chips/p9/procedures/hwp/pm/p9_pm_cme_firinit.C
parentfbd778df77648843f831e1b9bacae3e4a9fbf35b (diff)
downloadtalos-hostboot-67a012a80cf06ea7a53d6d58156d9c9c0e724707.tar.gz
talos-hostboot-67a012a80cf06ea7a53d6d58156d9c9c0e724707.zip
Bug fixes in Fir mask updates
- Updated PBA Fir bits as well - Updated review comments Change-Id: Ib1a7b155b779149319aa94749ac515c0226ad4fd CQ: SW392559 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43029 Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43032 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/pm/p9_pm_cme_firinit.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_pm_cme_firinit.C44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_pm_cme_firinit.C b/src/import/chips/p9/procedures/hwp/pm/p9_pm_cme_firinit.C
index 92d5d864c..7a3f1f2a0 100644
--- a/src/import/chips/p9/procedures/hwp/pm/p9_pm_cme_firinit.C
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_pm_cme_firinit.C
@@ -171,38 +171,38 @@ fapi2::ReturnCode pm_cme_fir_init(
"ERROR: Failed to clear CME FIR");
/* Set the action and mask for the CME LFIR bits */
- FAPI_TRY(l_cmeFir.mask(PPE_INT_ERR), "ERROR: Failed to mask");
- FAPI_TRY(l_cmeFir.mask(PPE_EXT_ERR), "ERROR: Failed to mask");
- FAPI_TRY(l_cmeFir.mask(PPE_PROG_ERR), "ERROR: Failed to mask");
- FAPI_TRY(l_cmeFir.mask(PPE_BRKPT_ERR), "ERROR: Failed to mask");
- FAPI_TRY(l_cmeFir.mask(PPE_WATCHDOG), "ERROR: Failed to mask");
- FAPI_TRY(l_cmeFir.mask(PPE_HALT), "ERROR: Failed to mask");
- FAPI_TRY(l_cmeFir.mask(PPE_DBGTRG), "ERROR: Failed to mask");
+ FAPI_TRY(l_cmeFir.mask(PPE_INT_ERR), FIR_MASK_ERROR);
+ FAPI_TRY(l_cmeFir.mask(PPE_EXT_ERR), FIR_MASK_ERROR);
+ FAPI_TRY(l_cmeFir.mask(PPE_PROG_ERR), FIR_MASK_ERROR);
+ FAPI_TRY(l_cmeFir.mask(PPE_BRKPT_ERR), FIR_MASK_ERROR);
+ FAPI_TRY(l_cmeFir.mask(PPE_WATCHDOG), FIR_MASK_ERROR);
+ FAPI_TRY(l_cmeFir.mask(PPE_HALT), FIR_MASK_ERROR);
+ FAPI_TRY(l_cmeFir.mask(PPE_DBGTRG), FIR_MASK_ERROR);
FAPI_TRY(l_cmeFir.setRecvAttn(CME_SRAM_UE),
- "ERROR: Failed to set recovery on interrupt");
+ FIR_REC_ATTN_ERROR);
FAPI_TRY(l_cmeFir.setRecvAttn(CME_SRAM_CE),
- "ERROR: Failed to set recoverable error");
+ FIR_REC_ATTN_ERROR);
FAPI_TRY(l_cmeFir.setRecvAttn(SRAM_SCRUB_ERR),
- "ERROR: Failed to set recoverable error");
- FAPI_TRY(l_cmeFir.mask(BCE_ERR), "ERROR: Failed to mask");
- FAPI_TRY(l_cmeFir.mask(CME_SPARE_11), "ERROR: Failed to mask");
- FAPI_TRY(l_cmeFir.mask(CME_SPARE_12), "ERROR: Failed to mask");
+ FIR_REC_ATTN_ERROR);
+ FAPI_TRY(l_cmeFir.mask(BCE_ERR), FIR_MASK_ERROR);
+ FAPI_TRY(l_cmeFir.mask(CME_SPARE_11), FIR_MASK_ERROR);
+ FAPI_TRY(l_cmeFir.mask(CME_SPARE_12), FIR_MASK_ERROR);
FAPI_TRY(l_cmeFir.setRecvAttn(C0_iVRM_DPOUT),
- "ERROR: Failed to set recoverable error");
+ FIR_REC_ATTN_ERROR);
FAPI_TRY(l_cmeFir.setRecvAttn(C1_iVRM_DPOUT),
- "ERROR: Failed to set recoverable error");
+ FIR_REC_ATTN_ERROR);
FAPI_TRY(l_cmeFir.setRecvAttn(CACHE_iVRM_DPOUT),
- "ERROR: Failed to set recoverable error");
+ FIR_REC_ATTN_ERROR);
FAPI_TRY(l_cmeFir.setRecvAttn(EXTRM_DROOP_ERR),
- "ERROR: Failed to set recoverable error");
+ FIR_REC_ATTN_ERROR);
FAPI_TRY(l_cmeFir.setRecvAttn(LARGE_DROOP_ERR),
- "ERROR: Failed to set recoverable error");
+ FIR_REC_ATTN_ERROR);
FAPI_TRY(l_cmeFir.setRecvAttn(SMALL_DROOP_ERR),
- "ERROR: Failed to set recoverable error");
+ FIR_REC_ATTN_ERROR);
FAPI_TRY(l_cmeFir.setRecvAttn(UNEXP_DROOP_ENCODE),
- "ERROR: Failed to set recoverable error");
- FAPI_TRY(l_cmeFir.mask(CME_FIR_PAR_ERR_DUP), "ERROR: Failed to mask");
- FAPI_TRY(l_cmeFir.mask(CME_FIR_PAR_ERR), "ERROR: Failed to mask");
+ FIR_REC_ATTN_ERROR);
+ FAPI_TRY(l_cmeFir.mask(CME_FIR_PAR_ERR_DUP), FIR_MASK_ERROR);
+ FAPI_TRY(l_cmeFir.mask(CME_FIR_PAR_ERR), FIR_MASK_ERROR);
//todo: Yet to confirm on the action for the following bits
OpenPOWER on IntegriCloud