summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaja Das <rajadas2@in.ibm.com>2017-01-05 22:23:38 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2017-01-11 05:56:02 -0500
commit90b46fb91c12e231d8684bbf6bfeea99ef27a2a5 (patch)
tree1c042c17ddccd074069ecffea01bd8eb57042984
parentfe6cfe22d4cb255a3265adec5f329921510fb24d (diff)
downloadtalos-sbe-90b46fb91c12e231d8684bbf6bfeea99ef27a2a5.tar.gz
talos-sbe-90b46fb91c12e231d8684bbf6bfeea99ef27a2a5.zip
Enabled Put/Get Scom traces
Change-Id: I58b6c41eb1d0e37dedbd41a38f1672d4c49227c6 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34471 Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
-rw-r--r--src/hwpf/src/plat/plat_hw_access.C11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/hwpf/src/plat/plat_hw_access.C b/src/hwpf/src/plat/plat_hw_access.C
index b760bf19..07580d50 100644
--- a/src/hwpf/src/plat/plat_hw_access.C
+++ b/src/hwpf/src/plat/plat_hw_access.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2016 */
+/* Contributors Listed Below - COPYRIGHT 2016,2017 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -237,7 +237,8 @@ fapi2::ReturnCode getscom_abs_wrap(const void *i_target,
SBE_SCOM_FAILURE().
set_address(ffdcAddr).
set_pcb_pib_rc(l_pibRc),
- "getScom:pcb pib error");
+ "getScom:pcb pib error, pibRc[0x%08X] Scom_Addr[0x%08X]",
+ l_pibRc,l_addr);
fapi_try_exit:
return fapi2::current_err;
}
@@ -265,7 +266,10 @@ fapi2::ReturnCode putscom_abs_wrap(const void *i_target,
SBE_SCOM_FAILURE().
set_address(ffdcAddr).
set_pcb_pib_rc(l_pibRc),
- "putScom:pcb pib error");
+ "putScom:pcb pib error, pibRc[0x%08X] Scom_Addr[0x%08X] "
+ "Scom_Data[0x%08X%08X]",
+ l_pibRc,l_addr,(i_data >> 32),
+ static_cast<uint32_t>(i_data & 0xFFFFFFFF));
fapi_try_exit:
return fapi2::current_err;
}
@@ -319,5 +323,4 @@ uint32_t p9_pibErrRetry( const uint32_t i_addr, uint64_t *io_data,
return pibErr;
}
-
};
OpenPOWER on IntegriCloud