summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2016-01-28 12:49:07 -0600
committerStephen Cprek <smcprek@us.ibm.com>2016-02-19 17:06:10 -0600
commit4e3dbe74b0f9c2f3d379bc1b24b916aaab03dcab (patch)
tree00099b4afe42906d9cbd661b22a8a6d05fd2ef50 /src/usr/diag/prdf/common
parenta1453a5a6a503d513c030bbb6cc4fddc6e7ff38f (diff)
downloadtalos-hostboot-4e3dbe74b0f9c2f3d379bc1b24b916aaab03dcab.tar.gz
talos-hostboot-4e3dbe74b0f9c2f3d379bc1b24b916aaab03dcab.zip
PRD: Enable PRD simulator for MCP7 in P9
Change-Id: I716b51d56a2017dee8fa6d22e9b766f4e832d053 RTC: 142613 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23743 Tested-by: Jenkins Server Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: BENJAMIN J. WEISENBECK <bweisenb@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23745
Diffstat (limited to 'src/usr/diag/prdf/common')
-rwxr-xr-xsrc/usr/diag/prdf/common/framework/service/prdfPlatServices_common.H2
-rw-r--r--src/usr/diag/prdf/common/framework/service/prdfRasServices_common.C10
-rwxr-xr-xsrc/usr/diag/prdf/common/prdfMain_common.C6
3 files changed, 16 insertions, 2 deletions
diff --git a/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.H b/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.H
index c8b19dc36..6d6b220f0 100755
--- a/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.H
+++ b/src/usr/diag/prdf/common/framework/service/prdfPlatServices_common.H
@@ -117,9 +117,11 @@ bool isSmpCoherent();
* @param i_errl error handle
* @param i_errlActions error action flags
*/
+/* TODO RTC 144705
void initiateUnitDump( TARGETING::TargetHandle_t i_target,
errlHndl_t i_errl,
uint32_t i_errlActions);
+*/
/**
* @return True, if this system is using an FSP. False, otherwise (i.e. BMC
diff --git a/src/usr/diag/prdf/common/framework/service/prdfRasServices_common.C b/src/usr/diag/prdf/common/framework/service/prdfRasServices_common.C
index 84045f93a..fcd779e22 100644
--- a/src/usr/diag/prdf/common/framework/service/prdfRasServices_common.C
+++ b/src/usr/diag/prdf/common/framework/service/prdfRasServices_common.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2015 */
+/* Contributors Listed Below - COPYRIGHT 2013,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -314,6 +314,7 @@ errlHndl_t ErrDataService::GenerateSrcPfa( ATTENTION_TYPE i_attnType,
}
else if ( PRDcalloutData::TYPE_MEMMRU == thiscallout.getType() )
{
+/* TODO RTC 136125
MemoryMru memMru (thiscallout.flatten());
SrcWord9 = memMru.toUint32(); // Get MemMru value
@@ -327,6 +328,7 @@ errlHndl_t ErrDataService::GenerateSrcPfa( ATTENTION_TYPE i_attnType,
{
sappHwNoGardReq = true;
}
+*/
}
else // PRDcalloutData::TYPE_TARGET
{
@@ -590,6 +592,7 @@ errlHndl_t ErrDataService::GenerateSrcPfa( ATTENTION_TYPE i_attnType,
}
else if ( PRDcalloutData::TYPE_MEMMRU == thiscallout.getType() )
{
+/* TODO RTC 136125
MemoryMru memMru (thiscallout.flatten());
TargetHandleList partList = memMru.getCalloutList();
@@ -604,6 +607,7 @@ errlHndl_t ErrDataService::GenerateSrcPfa( ATTENTION_TYPE i_attnType,
errlSev,
l_diagUpdate );
}
+*/
}
else if ( PRDcalloutData::TYPE_SYMFRU == thiscallout.getType() )
{
@@ -714,6 +718,7 @@ errlHndl_t ErrDataService::GenerateSrcPfa( ATTENTION_TYPE i_attnType,
// Operate only on MemoryMru callouts.
if ( PRDcalloutData::TYPE_MEMMRU != it->callout.getType() ) continue;
+/* TODO RTC 136125
// Only add single DIMM callouts. Otherwise, the parsed data is
// redundant.
MemoryMru memMru ( it->callout.flatten() );
@@ -721,6 +726,7 @@ errlHndl_t ErrDataService::GenerateSrcPfa( ATTENTION_TYPE i_attnType,
// Add the MemoryMru to the capture data.
CenMbaCaptureData::addExtMemMruData( memMru, iv_errl );
+*/
}
// Note moved the code from here, that was associated with checking for the last
@@ -1088,6 +1094,7 @@ void ErrDataService::deallocateDimms( const SDC_MRU_LIST & i_mruList )
{
#define PRDF_FUNC "[ErrDataService::deallocateDimms] "
+/* TODO: RTC 136129
#if !defined(__HOSTBOOT_MODULE) || defined(__HOSTBOOT_RUNTIME) // RT only
do
@@ -1152,6 +1159,7 @@ void ErrDataService::deallocateDimms( const SDC_MRU_LIST & i_mruList )
} while(0);
#endif
+*/
#undef PRDF_FUNC
}
diff --git a/src/usr/diag/prdf/common/prdfMain_common.C b/src/usr/diag/prdf/common/prdfMain_common.C
index bc80efc1d..ef4b4dc14 100755
--- a/src/usr/diag/prdf/common/prdfMain_common.C
+++ b/src/usr/diag/prdf/common/prdfMain_common.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2015 */
+/* Contributors Listed Below - COPYRIGHT 2013,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -119,6 +119,7 @@ errlHndl_t noLock_initialize()
// Perform platform specific initialization.
initPlatSpecific();
+/* TODO: RTC 145445
CcAutoDeletePointer<Configurator> configuratorPtr
( new PRDF::PegasusConfigurator() );
@@ -142,6 +143,7 @@ errlHndl_t noLock_initialize()
systemPtr->Initialize(); // Hardware initialization
g_initialized = true;
}
+*/
// Flush rule table cache since objects are all built.
Prdr::LoadChipCache::flushCache();
@@ -360,7 +362,9 @@ errlHndl_t main( ATTENTION_VALUE_TYPE i_attentionType,
if ( true == initiateHwudump )
{
+/* TODO RTC 144705
PlatServices::initiateUnitDump( dumpTrgt, dumpErrl, dumpErrlActions );
+*/
}
PRDF_EXIT( "PRDF::main()" );
OpenPOWER on IntegriCloud