diff options
author | Yue Du <daviddu@us.ibm.com> | 2016-10-20 13:56:29 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-10-26 10:56:09 -0400 |
commit | 2d47eb6c162ed78f82fc43c4995277f7d0c23849 (patch) | |
tree | d3d979d48fb8cdad6e1f545bc7d7a382ac0707f6 | |
parent | af74eb565b1214a1a531bbe5779d857f0dc3da5c (diff) | |
download | talos-sbe-2d47eb6c162ed78f82fc43c4995277f7d0c23849.tar.gz talos-sbe-2d47eb6c162ed78f82fc43c4995277f7d0c23849.zip |
Istep4: add enable auto special wakeup after core is up
Change-Id: I165c99b16998b1c4961008db4bcf054330209e8c
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31566
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: AMIT KUMAR <akumar3@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31571
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
-rw-r--r-- | src/import/chips/p9/procedures/hwp/core/p9_hcd_core_startclocks.C | 6 | ||||
-rw-r--r-- | src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_startclocks.C b/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_startclocks.C index 3d7f9503..46476d97 100644 --- a/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_startclocks.C +++ b/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_startclocks.C @@ -269,6 +269,12 @@ p9_hcd_core_startclocks( if (!l_attr_runn_mode) { + FAPI_DBG("Drop auto special wakeup disable via CME_SCOM_LMCR[12/13]"); + FAPI_TRY(putScom(l_quad, + (l_attr_chip_unit_pos < 2) ? + EX_0_CME_SCOM_LMCR_CLEAR : EX_1_CME_SCOM_LMCR_CLEAR, + (BIT64(12 + (l_attr_chip_unit_pos % 2))))); + FAPI_DBG("Set core as ready to run in STOP history register"); FAPI_TRY(putScom(i_target, C_PPM_SSHSRC, 0)); } diff --git a/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H b/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H index 60bedb84..a9e16b1d 100644 --- a/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H +++ b/src/import/chips/p9/procedures/hwp/lib/p9_hcd_common.H @@ -275,8 +275,9 @@ enum SLAVE_CONFIG_DEFS #define EX_1_CME_SCOM_SICR_CLEAR EX_1_CME_SCOM_SICR_SCOM1 #define EX_0_CME_SCOM_SICR_OR EX_0_CME_SCOM_SICR_SCOM2 #define EX_1_CME_SCOM_SICR_OR EX_1_CME_SCOM_SICR_SCOM2 -#define CME_LCL_SICR_OR 0xc0000510 -#define CME_LCL_SICR_CLR 0xc0000518 -#define CME_LCL_SISR 0xc0000520 +#define EX_0_CME_SCOM_LMCR_CLEAR EX_0_CME_SCOM_LMCR_SCOM1 +#define EX_1_CME_SCOM_LMCR_CLEAR EX_1_CME_SCOM_LMCR_SCOM1 +#define EX_0_CME_SCOM_LMCR_OR EX_0_CME_SCOM_LMCR_SCOM2 +#define EX_1_CME_SCOM_LMCR_OR EX_1_CME_SCOM_LMCR_SCOM2 #endif // __P9_HCD_COMMON_H__ |