diff options
author | Brian Vanderpool <vanderp@us.ibm.com> | 2017-06-27 12:54:26 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-03-15 00:44:21 -0400 |
commit | 2a438c9dd4b200b6cd5010dd8891a0e9d0ddd2f4 (patch) | |
tree | dc5ae7c56cd852af11114a6e7fb964a3757296e7 /src/import | |
parent | e962f1e8c736819d677265cdda52d3155a6f8de4 (diff) | |
download | talos-sbe-2a438c9dd4b200b6cd5010dd8891a0e9d0ddd2f4.tar.gz talos-sbe-2a438c9dd4b200b6cd5010dd8891a0e9d0ddd2f4.zip |
Improve power and clock checking when checking for stop states
Change-Id: I3e5eeb48d182563a41046bc4c2dd378f08c99df2
Original-Change-Id: I62a9d62b61f9336d99459bca4090fb628f38787f
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42499
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/55824
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Tested-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/pm/p9_query_cache_access_state.C | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/pm/p9_query_cache_access_state.C b/src/import/chips/p9/procedures/hwp/pm/p9_query_cache_access_state.C index 92144d04..b815eacc 100644 --- a/src/import/chips/p9/procedures/hwp/pm/p9_query_cache_access_state.C +++ b/src/import/chips/p9/procedures/hwp/pm/p9_query_cache_access_state.C @@ -52,6 +52,7 @@ #include <p9_quad_scom_addresses.H> #include <p9_query_cache_access_state.H> + // ---------------------------------------------------------------------- // Constants // ---------------------------------------------------------------------- @@ -105,12 +106,15 @@ p9_query_cache_access_state( //A unit is scommable if clocks are running //A unit is scannable if the unit is powered up - //Extract the core stop state - l_qsshsrc.extractToRight<uint32_t>(l_quadStopLevel, SSH_REG_STOP_LEVEL, SSH_REG_STOP_LEVEL_LEN); + //Extract the quad stop state + if (l_qsshsrc.getBit(SSH_REG_STOP_GATED)) + { + l_qsshsrc.extractToRight<uint32_t>(l_quadStopLevel, SSH_REG_STOP_LEVEL, SSH_REG_STOP_LEVEL_LEN); + } FAPI_DBG("EQ Stop State: EQ(%d)", l_quadStopLevel); - //Set all attribtes to 1, then clear them based on the stop state + //Set all attributes to 1, then clear them based on the stop state o_l2_is_scomable = 1; o_l2_is_scannable = 1; o_l3_is_scomable = 1; |