Skip to content

Commit

Permalink
Only call PRD attention handling in resetPMComplex function at runtime.
Browse files Browse the repository at this point in the history
HB can't call PRD handling after istep 16.4.  If this util function
happens to be called after that istep but before runtime, we may see
some unwanted PRD errors.

Change-Id: Ie4f9a55fe1e74f7835d9f30531b757a79d36b14e
CQ:SW448154
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69138
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Tested-by: Jenkins Server <pfd-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
ibmthi authored and dcrowell77 committed Nov 28, 2018
1 parent 9292702 commit 5172324
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/usr/isteps/pm/pm_common.C
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,26 @@ namespace HBPM
break;
}

TRACFCOMP( ISTEPS_TRACE::g_trac_isteps_trace,
"resetPMComplex: p9_pm_init(PM_RESET) succeeded "
"HUID=0x%08X", get_huid(i_target) );

#ifdef __HOSTBOOT_RUNTIME

// Explicitly call ATTN before exiting to ensure PRD handles
// LFIR before TMGT triggers PM Complex Init
l_errl = Singleton<ATTN::Service>::instance().
handleAttentions( i_target );
if(l_errl)
{
TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
ERR_MRK"resetPmComplex: service::handleAttentions "
"returned error for RtProc: 0x%08X", get_huid(i_target));
break;
}

#endif

} while(0);

if ((TARGETING::is_phyp_load()) && (nullptr != l_homerVAddr))
Expand Down

0 comments on commit 5172324

Please sign in to comment.