summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2014-02-11 14:18:03 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-02-14 13:16:56 -0600
commit687aff211d6a018a3361124f8213ff102c9ef121 (patch)
tree94f307ed0eb279cdc34d2b11887f047147e4eba6 /src/usr
parent6935425b5213383ebcc85ed2ee6d62801ec08fba (diff)
downloadtalos-hostboot-687aff211d6a018a3361124f8213ff102c9ef121.tar.gz
talos-hostboot-687aff211d6a018a3361124f8213ff102c9ef121.zip
Disable runtime scrub in Simics
Change-Id: I22420d5b2afbd14ce2e82283fd0af40437195fa0 CQ: SW243452 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8776 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/hwpf/hwp/core_activate/core_activate.C9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/usr/hwpf/hwp/core_activate/core_activate.C b/src/usr/hwpf/hwp/core_activate/core_activate.C
index d82d77f06..041a6c032 100644
--- a/src/usr/hwpf/hwp/core_activate/core_activate.C
+++ b/src/usr/hwpf/hwp/core_activate/core_activate.C
@@ -76,6 +76,7 @@
// mss_scrub support
#include <diag/prdf/prdfMain.H>
+#include <util/misc.H>
namespace CORE_ACTIVATE
{
@@ -457,6 +458,14 @@ void * call_mss_scrub( void * io_pArgs )
TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "call_mss_scrub entry" );
+ // There are performance issues and some functional deficiencies
+ // that make runtime scrub problematic, so turning it off
+ if( Util::isSimicsRunning() )
+ {
+ TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace, "Skipping runtime scrub in Simics" );
+ return NULL;
+ }
+
errlHndl_t l_errl = PRDF::startScrub();
if ( NULL != l_errl )
{
OpenPOWER on IntegriCloud