Skip to content

Commit

Permalink
HWP:Cache stop clocks complete fix
Browse files Browse the repository at this point in the history
CQ:SW455762
Change-Id: Ia41ad689ebe7d1468855e8a9240a6701c372c435
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71955
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com>
Reviewed-by: YUE DU <daviddu@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/71963
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
  • Loading branch information
prasrang authored and RAJA DAS committed Feb 28, 2019
1 parent 9b5f5c3 commit 8fd8d14
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ p9_hcd_cache_stopclocks(
return fapi2::current_err;
}

//Check if EQ is powered off; if so, return
FAPI_TRY(fapi2::getScom(i_target, EQ_PPM_PFSNS, l_data64),
"Error reading data from EQ_PPM_PFSNS");

if(l_data64.getBit<EQ_PPM_PFSNS_VDD_PFETS_DISABLED_SENSE>())
{
return fapi2::current_err;
}

if(l_is_mpipl)
{
// PB_PURGE related SCOMs should be added to the beginning of
Expand Down

0 comments on commit 8fd8d14

Please sign in to comment.