summaryrefslogtreecommitdiffstats
path: root/src/usr/scom
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2012-06-15 11:57:25 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-06-18 13:53:02 -0500
commit319e5a9fa363aca6368445ce919a53202e70849b (patch)
treeb814dc3a2721448ec52186378e2f87c6a9b8d785 /src/usr/scom
parent9f9e9b9011075d3bd90839a0ead591d9ee1b2564 (diff)
downloadtalos-hostboot-319e5a9fa363aca6368445ce919a53202e70849b.tar.gz
talos-hostboot-319e5a9fa363aca6368445ce919a53202e70849b.zip
VPO Performance fixes
Temporarily remove nanosleep calls in PNOR, FSI, Scom device drivers to enhance VPO performance. Cuts ddr_phy_reset from 17 hours to 17 min Also fixed race condition in hb-istep Change-Id: I0a60275066a9e14b564d0294c083eec8647b2ff7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1206 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/scom')
-rw-r--r--src/usr/scom/scom.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/scom/scom.C b/src/usr/scom/scom.C
index 798b3f18a..dae4ee921 100644
--- a/src/usr/scom/scom.C
+++ b/src/usr/scom/scom.C
@@ -214,7 +214,8 @@ errlHndl_t checkIndirectAndDoScom(DeviceFW::OperationType i_opType,
break;
}
- nanosleep( 0, 10000 ); //sleep for 10,000 ns
+ //TODO tmp remove for VPO, need better polling strategy -- RTC43738
+ //nanosleep( 0, 10000 ); //sleep for 10,000 ns
elapsed_indScom_time_ns += 10000;
}while ( elapsed_indScom_time_ns <= MAX_INDSCOM_TIMEOUT_NS);
@@ -336,7 +337,8 @@ errlHndl_t checkIndirectAndDoScom(DeviceFW::OperationType i_opType,
}
- nanosleep( 0, 10000 ); //sleep for 10,000 ns
+ //TODO tmp remove for VPO, need better polling strategy -- RTC43738
+ //nanosleep( 0, 10000 ); //sleep for 10,000 ns
elapsed_indScom_time_ns += 10000;
}while ( elapsed_indScom_time_ns <= MAX_INDSCOM_TIMEOUT_NS);
OpenPOWER on IntegriCloud