diff options
author | spashabk-in <shakeebbk@in.ibm.com> | 2016-12-13 03:10:42 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-01-16 04:50:40 -0500 |
commit | 197375d2fe4c13b0f1bc4f7389c6f53330e9c3be (patch) | |
tree | 823de0632db2a9565c2b76183d7960312fd58112 /src/import/chips/p9/procedures/hwp/perv/p9_tp_stopclocks.C | |
parent | 49371ca5b793a66a182d1145e3f10b20271164bb (diff) | |
download | talos-sbe-197375d2fe4c13b0f1bc4f7389c6f53330e9c3be.tar.gz talos-sbe-197375d2fe4c13b0f1bc4f7389c6f53330e9c3be.zip |
p9_stopclocks SBE/PPE related changes
- Remove dependency on IS_SCOMMABLE attribute
- SCOM alternatives for CFAM regsiters
- Miscellaneous updates to compile it on ppe
Change-Id: I984e934ca7fb5e139dbcdc92949c25cc7d19f120
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33762
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: SRINIVAS V. POLISETTY <srinivan@in.ibm.com>
Dev-Ready: Sangram Alapati <sangram@us.ibm.com>
Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34919
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/perv/p9_tp_stopclocks.C')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/perv/p9_tp_stopclocks.C | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/hwp/perv/p9_tp_stopclocks.C b/src/import/chips/p9/procedures/hwp/perv/p9_tp_stopclocks.C index b2c05fc6..3df6e743 100644 --- a/src/import/chips/p9/procedures/hwp/perv/p9_tp_stopclocks.C +++ b/src/import/chips/p9/procedures/hwp/perv/p9_tp_stopclocks.C @@ -74,14 +74,18 @@ fapi2::ReturnCode p9_tp_stopclocks(const fapi2::Target<fapi2::TARGET_TYPE_PROC_C goto fapi_try_exit; } +#ifdef __PPE__ + if(i_stop_pib_clks) { -#ifdef __PPE__ FAPI_ERR("p9_tp_stopclocks: Calling TP stopclocks for PIB & NET regions in SBE mode is INVALID\n\t --> Skipping TP Stopclocks for PIB/NET regions..! <--"); goto fapi_try_exit; -#endif } +#endif + +#ifndef __PPE__ + if(i_stop_pib_clks) { FAPI_DBG("p9_tp_stopclocks: Raise chiplet fence"); @@ -101,6 +105,8 @@ fapi2::ReturnCode p9_tp_stopclocks(const fapi2::Target<fapi2::TARGET_TYPE_PROC_C l_data32_root_ctrl0)); } +#endif + if(i_stop_tp_clks && i_stop_pib_clks) { FAPI_DBG("p9_tp_stopclocks: TP regions selected is REGIONS_ALL_EXCEPT_PLL"); @@ -142,6 +148,8 @@ fapi2::ReturnCode p9_tp_stopclocks(const fapi2::Target<fapi2::TARGET_TYPE_PROC_C fapi2::TARGET_STATE_FUNCTIONAL)[0])); } +#ifndef __PPE__ + if(i_stop_pib_clks) { FAPI_INF("p9_tp_stopclocks: Raise OOB Mux"); @@ -159,6 +167,8 @@ fapi2::ReturnCode p9_tp_stopclocks(const fapi2::Target<fapi2::TARGET_TYPE_PROC_C l_data32_root_ctrl0)); } +#endif + FAPI_INF("p9_tp_stopclocks: Exiting ..."); fapi_try_exit: |