diff options
author | Greg Still <stillgs@us.ibm.com> | 2018-02-15 09:43:46 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-02-22 14:26:34 -0500 |
commit | b1386622238eee0abfcb9a8402f65b5195b9b9d9 (patch) | |
tree | 450d3e0de00868dc95c4ac5455fe31666e6ca389 /src/import/chips | |
parent | d1da43c4e54dc983e5860d8a01116eb2f779ea06 (diff) | |
download | talos-sbe-b1386622238eee0abfcb9a8402f65b5195b9b9d9.tar.gz talos-sbe-b1386622238eee0abfcb9a8402f65b5195b9b9d9.zip |
PM_SPWKUP: Clear wakeup notify select bit to enable auto special wakeup
- Deal with Hostboot cores coming out of istep 4
Key_Cronus_Test=PM_REGRESS
Change-Id: Ie990d82eed0cb5ab3c71752a557d2f5b197d5642
CQ:SW412666
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54140
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Cronus HW CI <cronushw-ci+hostboot@us.ibm.com>
Reviewed-by: RANGANATHPRASAD G. BRAHMASAMUDRA <prasadbgr@in.ibm.com>
Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54166
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/core/p9_hcd_core_scomcust.C | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_scomcust.C b/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_scomcust.C index 6e0c58f5..aee062ad 100644 --- a/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_scomcust.C +++ b/src/import/chips/p9/procedures/hwp/core/p9_hcd_core_scomcust.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2017 */ +/* Contributors Listed Below - COPYRIGHT 2015,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -49,6 +49,7 @@ #include <p9_quad_scom_addresses.H> #include <p9_hcd_common.H> #include "p9_hcd_core_scomcust.H" +#include <p9_quad_scom_addresses_fld.H> //----------------------------------------------------------------------------- // Constant Definitions: Core Customization SCOMs @@ -64,6 +65,15 @@ p9_hcd_core_scomcust( FAPI_DBG("Drop chiplet fence via NET_CTRL0[18]"); FAPI_TRY(putScom(i_target, C_NET_CTRL0_WAND, MASK_UNSET(18))); + //Given auto special wakeup is enabled. Special wake-up signal must be + //routed toward CME HW asserts DONE bit without CME Firmware's intervention. + fapi2::ATTR_CHIP_UNIT_POS_Type l_corePos; + FAPI_TRY(FAPI_ATTR_GET(fapi2::ATTR_CHIP_UNIT_POS, i_target, l_corePos)); + FAPI_DBG("Enabling Auto Special Wakeup For Core %d", l_corePos ); + + l_data64.flush<0>().setBit(EX_CPPM_CPMMR_WKUP_NOTIFY_SELECT); + FAPI_TRY(putScom(i_target, C_CPPM_CPMMR_CLEAR, l_data64)); + fapi_try_exit: FAPI_INF("<<p9_hcd_core_scomcust"); |