summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plugins/prdfMemLogParse.C
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2018-04-25 20:13:22 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2018-04-27 21:30:23 -0400
commit11c79b261c9e99c227137a494bba3d3a816deb08 (patch)
treeced1d90b8d1dc505ca008507afa3f507b6d371be /src/usr/diag/prdf/common/plugins/prdfMemLogParse.C
parentcd594015a0572f591a63c579a8946080ec6341fa (diff)
downloadtalos-hostboot-11c79b261c9e99c227137a494bba3d3a816deb08.tar.gz
talos-hostboot-11c79b261c9e99c227137a494bba3d3a816deb08.zip
PRD: add MBA support for CE, UE, and RCE tables
Change-Id: Icdf97f8ad417900d9381cb1ae89c07f5b5a9a772 RTC: 187480 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57854 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/57930 CI-Ready: Zane C. Shelley <zshelle@us.ibm.com> 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>
Diffstat (limited to 'src/usr/diag/prdf/common/plugins/prdfMemLogParse.C')
-rw-r--r--src/usr/diag/prdf/common/plugins/prdfMemLogParse.C19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/usr/diag/prdf/common/plugins/prdfMemLogParse.C b/src/usr/diag/prdf/common/plugins/prdfMemLogParse.C
index 8f71d5111..92eab3f01 100644
--- a/src/usr/diag/prdf/common/plugins/prdfMemLogParse.C
+++ b/src/usr/diag/prdf/common/plugins/prdfMemLogParse.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2017 */
+/* Contributors Listed Below - COPYRIGHT 2013,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -3229,7 +3229,6 @@ bool parseIueCounts( uint8_t * i_buffer, uint32_t i_buflen,
//------------------------------------------------------------------------------
-/* TODO RTC 157888
bool parseMemRceTable( uint8_t * i_buffer, uint32_t i_buflen,
ErrlUsrParser & i_parser )
{
@@ -3249,23 +3248,12 @@ bool parseMemRceTable( uint8_t * i_buffer, uint32_t i_buflen,
uint32_t mrnk = (i_buffer[idx ] >> 5) & 0x7; // 3-bit
uint32_t srnk = (i_buffer[idx ] >> 2) & 0x7; // 3-bit
- uint32_t svld = (i_buffer[idx ] >> 1) & 0x1; // 1-bit
uint32_t count = i_buffer[idx+1]; // 8-bit
- // Get the rank string.
- char rank_str[DATA_SIZE] = "";
- if ( 1 == svld )
- {
- snprintf( rank_str, DATA_SIZE, "m%ds%d", mrnk, srnk );
- }
- else
- {
- snprintf( rank_str, DATA_SIZE, "m%d ", mrnk );
- }
-
// Build the data string.
char data[DATA_SIZE] = "";
- snprintf( data, DATA_SIZE, "rank = %s count = %d", rank_str, count );
+ snprintf( data, DATA_SIZE, "rank = m%ds%d count = %d",
+ mrnk, srnk, count );
// Print the line.
i_parser.PrintString( "", data );
@@ -3273,7 +3261,6 @@ bool parseMemRceTable( uint8_t * i_buffer, uint32_t i_buflen,
return rc;
}
-*/
//------------------------------------------------------------------------------
OpenPOWER on IntegriCloud