diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2016-10-28 22:22:02 -0500 |
---|---|---|
committer | Matthew A. Ploetz <maploetz@us.ibm.com> | 2016-11-01 16:07:25 -0400 |
commit | 4be5453f4c8600eefe3afb4c2e90c98e919e32af (patch) | |
tree | 2cc1667c73afcb4e472995bb85f3796854273b1c /src/usr/isteps | |
parent | b492ffe4207d323db384b1e2bf26b612cbae1697 (diff) | |
download | blackbird-hostboot-4be5453f4c8600eefe3afb4c2e90c98e919e32af.tar.gz blackbird-hostboot-4be5453f4c8600eefe3afb4c2e90c98e919e32af.zip |
Move interrupt initialization after SMP is completely up
Change-Id: I0fee07fed1448c92ef517762f6b2795b0eee7ecb
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/32003
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: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
Diffstat (limited to 'src/usr/isteps')
-rw-r--r-- | src/usr/isteps/istep10/call_proc_build_smp.C | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/src/usr/isteps/istep10/call_proc_build_smp.C b/src/usr/isteps/istep10/call_proc_build_smp.C index 68610117a..4f3a83e56 100644 --- a/src/usr/isteps/istep10/call_proc_build_smp.C +++ b/src/usr/isteps/istep10/call_proc_build_smp.C @@ -138,15 +138,6 @@ void* call_proc_build_smp (void *io_pArgs) break; } - //Enable PSIHB Interrupts for slave proc - l_errl = INTR::enablePsiIntr(curproc); - if(l_errl) - { - // capture the target data in the elog - ErrlUserDetailsTarget(curproc).addToLog( l_errl ); - break; - } - } const fapi2::Target<fapi2::TARGET_TYPE_PROC_CHIP> @@ -199,6 +190,20 @@ void* call_proc_build_smp (void *io_pArgs) { TARGETING::Target* l_proc_target = *curproc; + + if (l_proc_target != l_masterProc) + { + //Enable PSIHB Interrupts for slave proc -- moved from above + l_errl = INTR::enablePsiIntr(l_proc_target); + if(l_errl) + { + // capture the target data in the elog + ErrlUserDetailsTarget(l_proc_target).addToLog( l_errl ); + break; + } + } + + // If the proc chip supports xscom.. if (l_proc_target->getAttr<ATTR_PRIMARY_CAPABILITIES>() .supportsXscom) |