diff options
| author | Yue Du <daviddu@us.ibm.com> | 2018-06-26 21:52:31 -0500 |
|---|---|---|
| committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2018-08-01 10:31:13 -0500 |
| commit | b731dce860a04768964305916a07d39ed21e48d5 (patch) | |
| tree | 99df11b0becd26536568bb429c9a083be6f6b1ef /src | |
| parent | 0d47fa9358e2ac2326bc74e18b58401322ab10f6 (diff) | |
| download | blackbird-hostboot-b731dce860a04768964305916a07d39ed21e48d5.tar.gz blackbird-hostboot-b731dce860a04768964305916a07d39ed21e48d5.zip | |
PM: Prevent Core-L2 Quiesce from removing PM_EXIT upon SPWU
Key_Cronus_Test=PM_REGRESS
Change-Id: I34f08519d2c86fec2f0ee0feb96a62bd826e31fa
CQ: SW440301
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/61438
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>
Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com>
Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/61815
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/import/chips/p9/procedures/hwp/core/p9_hcd_core_stopclocks.C | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_stopclocks.C b/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_stopclocks.C index 4ced3eb62..068f65845 100644 --- a/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_stopclocks.C +++ b/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_stopclocks.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2017 */ +/* Contributors Listed Below - COPYRIGHT 2016,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -181,6 +181,16 @@ p9_hcd_core_stopclocks( } #endif + + //if a core is only in special wakeup and asserting pm_exit, + //then setting 6,7 of SICR will cause pm_exit to drop and + //the core will re-enter a power saving state + FAPI_DBG("Prevent Core-L2 Quiesce from removing PM_EXIT CME_SCOM_LMCR[22]"); + FAPI_TRY(putScom(l_quad, + (l_attr_chip_unit_pos < 2) ? + EX_0_CME_SCOM_LMCR_OR : EX_1_CME_SCOM_LMCR_OR, + (BIT64(22)))); + FAPI_DBG("Assert Core-L2/CC Quiesces via CME_SCOM_SICR[6,8]/[7,9]"); FAPI_TRY(putScom(l_quad, (l_attr_chip_unit_pos < 2) ? |

