Skip to content

Commit

Permalink
HWP-CACHE/CORE:istep4 procedures updates
Browse files Browse the repository at this point in the history
Change-Id: I43b471d2ec54ebc7480af1cdcfab9da9e3253913
Original-Change-Id: I707a936f8124f997c338ce01db205b958716a8da
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21489
Tested-by: Jenkins Server
Tested-by: Hostboot CI
Tested-by: PPE CI
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36092
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
davidduyue authored and dcrowell77 committed Feb 11, 2017
1 parent b0bc69a commit c42dd41
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.C
Expand Up @@ -167,8 +167,16 @@ p9_common_poweronoff(
"getScom failed for address PPM_PFCS"); // poll
}
while ((l_data.getBit < VDD_PG_STATE_BIT + PG_STATE_IDLE_OFFSET > ()
!= 0 ) && (--l_loopsPerMs != 0));
== 0 ) && (--l_loopsPerMs != 0));

/*
do
{
FAPI_TRY(fapi2::getScom(i_target, PPM_PFSNS[l_type], l_data),
"getScom failed for address PPM_PFSNS"); // poll
}
while ((l_data.getBit<0>() == 0 ) && (--l_loopsPerMs != 0));
*/
FAPI_ASSERT((l_loopsPerMs != 0),
fapi2::PMPROC_PFETLIB_TIMEOUT()
.set_ADDRESS(PPM_PFCS[l_type]),
Expand Down Expand Up @@ -201,8 +209,16 @@ p9_common_poweronoff(
FAPI_DBG("timeout l_loopsPerMs. %x", l_loopsPerMs);
}
while ((l_data.getBit < VCS_PG_STATE_BIT + PG_STATE_IDLE_OFFSET > ()
!= 0 ) && (--l_loopsPerMs != 0));
== 0 ) && (--l_loopsPerMs != 0));

/*
do
{
FAPI_TRY(fapi2::getScom(i_target, PPM_PFSNS[l_type], l_data),
"getScom failed for address PPM_PFSNS"); // poll
}
while ((l_data.getBit<2>() == 0 ) && (--l_loopsPerMs != 0));
*/
FAPI_ASSERT((l_loopsPerMs != 0),
fapi2::PMPROC_PFETLIB_TIMEOUT()
.set_ADDRESS(PPM_PFCS[l_type]),
Expand Down

0 comments on commit c42dd41

Please sign in to comment.