summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp
diff options
context:
space:
mode:
authorPrasad Bg Ranganath <prasadbgr@in.ibm.com>2019-02-15 00:03:15 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-02-27 16:12:59 -0600
commit1f4d5ba3b545b81818b8d52a7feae27a2449ecfe (patch)
tree91170462af6fe13b523d2f55ea4805d9d9831b22 /src/import/chips/p9/procedures/hwp
parentde2fa98fc72283c652c06aa4a44fb905114e1302 (diff)
downloadtalos-hostboot-1f4d5ba3b545b81818b8d52a7feae27a2449ecfe.tar.gz
talos-hostboot-1f4d5ba3b545b81818b8d52a7feae27a2449ecfe.zip
HWP:Cache stop clocks complete fix
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/71964 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp')
-rw-r--r--src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.C9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.C b/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.C
index 4202839e7..6a9cbb518 100644
--- a/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.C
+++ b/src/import/chips/p9/procedures/hwp/cache/p9_hcd_cache_stopclocks.C
@@ -109,6 +109,15 @@ p9_hcd_cache_stopclocks(
+ //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
OpenPOWER on IntegriCloud