diff options
author | crgeddes <crgeddes@us.ibm.com> | 2017-07-17 11:27:06 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-07-19 12:06:39 -0400 |
commit | 77481e36c633f2f0e6567fcd5e5a2269eb87efec (patch) | |
tree | 09f68cf9e6ebe9781ef3101dfa0c17f21e691277 /src/import/chips/p9/procedures/hwp/nest/p9_sbe_check_quiesce.H | |
parent | c8f584b6f782940ce6c8007406b5836009e38c6f (diff) | |
download | talos-sbe-77481e36c633f2f0e6567fcd5e5a2269eb87efec.tar.gz talos-sbe-77481e36c633f2f0e6567fcd5e5a2269eb87efec.zip |
Add pm_check_quiesce function to list of sbe_check_quiesce function
In addition to powman suspend we need to make sure that special wakeups
are in a safe state when we do an MPIPL. We are adding in that cleanup
to sbe_check_quiesce. In this commit I also added in some other pm
cleanup that will be done later by p9_powman_suspend.
Change-Id: I8a24bec460c5a8185365ff8e749f92f938555de7
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43213
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com>
Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43218
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/nest/p9_sbe_check_quiesce.H')
-rw-r--r-- | src/import/chips/p9/procedures/hwp/nest/p9_sbe_check_quiesce.H | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_sbe_check_quiesce.H b/src/import/chips/p9/procedures/hwp/nest/p9_sbe_check_quiesce.H index 5dda788b..dd57f9ff 100644 --- a/src/import/chips/p9/procedures/hwp/nest/p9_sbe_check_quiesce.H +++ b/src/import/chips/p9/procedures/hwp/nest/p9_sbe_check_quiesce.H @@ -126,6 +126,12 @@ extern "C" { fapi2::ReturnCode p9_intp_check_quiesce( const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target); + /// @brief Helper function to ensure SP_WAKEUPS are quiesced + /// @param[in] i_target => P9 chip target + /// @return FAPI_RC_SUCCESS if the check_quiesce completes successfully + fapi2::ReturnCode p9_pm_check_quiesce( + const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target); + fapi2::ReturnCode p9_int_scrub_caches(const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP>& i_target); } //extern "C" |