summaryrefslogtreecommitdiffstats
path: root/src/usr/scom/test
diff options
context:
space:
mode:
authorcrgeddes <crgeddes@us.ibm.com>2016-03-31 10:57:35 -0500
committerStephen Cprek <smcprek@us.ibm.com>2016-04-21 13:51:39 -0500
commitd32a58cf2c6d9c3b7698a5a088f120b67ee287fc (patch)
treef2c3a275f5336a35b84d43fac0f4293a1b531d15 /src/usr/scom/test
parentfe1d7934857366cab8695381ac6a7f5e3b7ed29a (diff)
downloadtalos-hostboot-d32a58cf2c6d9c3b7698a5a088f120b67ee287fc.tar.gz
talos-hostboot-d32a58cf2c6d9c3b7698a5a088f120b67ee287fc.zip
Implement DO_NOT_WAKEUP opMode for Scom access
During runtime we occasionally will read scoms from various chiplets. Usually if the chiplet is in winkle mode (stopped, idle, etc) then we will wake it up. If this opmode is set, it is indicating the attempted read is not very important and not worth the time/energy to wake up the chiplet. Change-Id: Ieaaffe42fda3459e0295597fcf41c07bbaee72b4 RTC: 150454 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22986 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/scom/test')
-rw-r--r--src/usr/scom/test/scomtest.H3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/scom/test/scomtest.H b/src/usr/scom/test/scomtest.H
index 2d495ff09..fce8c8ac2 100644
--- a/src/usr/scom/test/scomtest.H
+++ b/src/usr/scom/test/scomtest.H
@@ -48,7 +48,8 @@ namespace SCOM
{
extern errlHndl_t scomTranslate(TARGETING::Target* &i_target,
uint64_t &io_addr,
- TARGETING::Target* io_target_SW);
+ TARGETING::Target* io_target_SW,
+ uint64_t i_opMode = 0);
}
class ScomTest: public CxxTest::TestSuite
{
OpenPOWER on IntegriCloud