summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/pm/p9_pm_pba_firinit.C
diff options
context:
space:
mode:
authorSangeetha T S <sangeet2@in.ibm.com>2016-08-08 05:24:41 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-09-16 16:43:22 -0400
commitcb454de217c1db0f8ed410f36e5916bb3a6b2ff1 (patch)
tree9f8c764f276d8d657f1db2ada4fc67b99676ffeb /src/import/chips/p9/procedures/hwp/pm/p9_pm_pba_firinit.C
parent7d5c57e231591b581b45cdcc4587409c95ee6100 (diff)
downloadtalos-hostboot-cb454de217c1db0f8ed410f36e5916bb3a6b2ff1.tar.gz
talos-hostboot-cb454de217c1db0f8ed410f36e5916bb3a6b2ff1.zip
Update OCC,PBA,CME FIR handling based on the recent RAS specification
Change-Id: I4950c75c65563229c7a6831c63e375a9c4823f2f RTC: 158180 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27978 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27980 Reviewed-by: Hostboot Team <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_pba_firinit.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/pm/p9_pm_pba_firinit.C84
1 files changed, 42 insertions, 42 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_pm_pba_firinit.C b/src/import/chips/p9/procedures/hwp/pm/p9_pm_pba_firinit.C
index 5acaab16e..b01e33b0a 100644
--- a/src/import/chips/p9/procedures/hwp/pm/p9_pm_pba_firinit.C
+++ b/src/import/chips/p9/procedures/hwp/pm/p9_pm_pba_firinit.C
@@ -201,38 +201,38 @@ fapi2::ReturnCode pm_pba_fir_init(
"ERROR: Failed to clear PBA FIR");
/* Set the action and mask for the PBA LFIR bits */
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_OCI_APAR_ERR),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_RDADRERR_FW),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_RDDATATO_FW),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_SUE_FW),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_UE_FW),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_CE_FW),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_OCI_SLAVE_INIT),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_OCI_WRPAR_ERR),
- "ERROR: Failed to set recovery attention");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_OCI_APAR_ERR),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_RDADRERR_FW),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_RDDATATO_FW),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_SUE_FW),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_UE_FW),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_CE_FW),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_OCI_SLAVE_INIT),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_OCI_WRPAR_ERR),
+ "ERROR: Failed to mask bit");
FAPI_TRY(l_pbaFir.mask(PBAFIR_OCI_REREQTO),
"ERROR: Failed to mask bit");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_UNEXPCRESP),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_UNEXPDATA),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_PARITY_ERR),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_WRADRERR_FW),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_BADCRESP),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_ACKDEAD_FW_RD),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_CRESPTO),
- "ERROR: Failed to set recovery attention");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_UNEXPCRESP),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_UNEXPDATA),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_PARITY_ERR),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_WRADRERR_FW),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_BADCRESP),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_ACKDEAD_FW_RD),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_CRESPTO),
+ "ERROR: Failed to mask bit");
FAPI_TRY(l_pbaFir.mask(PBAFIR_BCUE_SETUP_ERR),
"ERROR: Failed to mask bit");
FAPI_TRY(l_pbaFir.mask(PBAFIR_BCUE_PB_ACK_DEAD),
@@ -257,12 +257,12 @@ fapi2::ReturnCode pm_pba_fir_init(
"ERROR: Failed to mask bit");
FAPI_TRY(l_pbaFir.mask(PBAFIR_BCDE_OCI_DATERR),
"ERROR: Failed to mask bit");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_INTERNAL_ERR),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_ILLEGAL_CACHE_OP),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_OCI_BAD_REG_ADDR),
- "ERROR: Failed to set recovery attention");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_INTERNAL_ERR),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_ILLEGAL_CACHE_OP),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_OCI_BAD_REG_ADDR),
+ "ERROR: Failed to mask bit");
FAPI_TRY(l_pbaFir.mask(PBAFIR_AXPUSH_WRERR),
"ERROR: Failed to mask bit");
FAPI_TRY(l_pbaFir.mask(PBAFIR_AXRCV_DLO_ERR),
@@ -281,18 +281,18 @@ fapi2::ReturnCode pm_pba_fir_init(
"ERROR: Failed to mask bit");
FAPI_TRY(l_pbaFir.mask(PBAFIR_AXSND_RSVERR),
"ERROR: Failed to mask bit");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_PB_ACKDEAD_FW_WR),
- "ERROR: Failed to set recovery attention");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_PB_ACKDEAD_FW_WR),
+ "ERROR: Failed to mask bit");
FAPI_TRY(l_pbaFir.mask(PBAFIR_RESERVED_41),
"ERROR: Failed to mask bit");
FAPI_TRY(l_pbaFir.mask(PBAFIR_RESERVED_42),
"ERROR: Failed to mask bit");
FAPI_TRY(l_pbaFir.mask(PBAFIR_RESERVED_43),
"ERROR: Failed to mask bit");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_FIR_PARITY_ERR2),
- "ERROR: Failed to set recovery attention");
- FAPI_TRY(l_pbaFir.setRecvAttn(PBAFIR_FIR_PARITY_ERR),
- "ERROR: Failed to set recovery attention");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_FIR_PARITY_ERR2),
+ "ERROR: Failed to mask bit");
+ FAPI_TRY(l_pbaFir.mask(PBAFIR_FIR_PARITY_ERR),
+ "ERROR: Failed to mask bit");
FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_PM_FIRINIT_DONE_ONCE_FLAG,
i_target, firinit_done_flag),
OpenPOWER on IntegriCloud