summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/plat/p9
diff options
context:
space:
mode:
authorRoland Veloz <rveloz@us.ibm.com>2018-07-26 12:22:43 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-08-30 11:00:31 -0500
commitc8448c3a09aef319e9669fc1003b9fa6f79ebe5d (patch)
tree35cf80a64e7e952ffed23d179bf079fc5de8bbcc /src/usr/diag/prdf/plat/p9
parent1dd6d76477460e2045ba71145e51f9880d946d0e (diff)
downloadtalos-hostboot-c8448c3a09aef319e9669fc1003b9fa6f79ebe5d.tar.gz
talos-hostboot-c8448c3a09aef319e9669fc1003b9fa6f79ebe5d.zip
Deconfig EC/EX/EQ at runtime
Applied the normal parent/child rules for EC/EX/EQ logic to be done in the runtime deconfig logic. After applying the deconfig logic, then reset the PM for the parent proc of the EX/EX/EQ. To facilitate the code changes, modified the return value of the TARGETING::getParent(...) call. It no longer returns a const * Target, considering 5 times out of 7 of it's usage, users were just staic_cast(ing) away the const. Clear out the HB reset attribute in the mpipl path. Modify PRD logic to use runtime deconfig call in malfunction alert path. CMVC-Prereq: 1066157 Change-Id: If81f2f15c6e84bf2adb6fd66c1321b8f1ddf1a86 CQ: SW443157 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64873 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/plat/p9')
-rw-r--r--src/usr/diag/prdf/plat/p9/prdfP9PmRecovery.C7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr/diag/prdf/plat/p9/prdfP9PmRecovery.C b/src/usr/diag/prdf/plat/p9/prdfP9PmRecovery.C
index afc8442ff..6e7caf75b 100644
--- a/src/usr/diag/prdf/plat/p9/prdfP9PmRecovery.C
+++ b/src/usr/diag/prdf/plat/p9/prdfP9PmRecovery.C
@@ -67,7 +67,6 @@ int32_t pmRecovery( ExtensibleChip * i_chip, STEP_CODE_DATA_STRUCT & io_sc )
// Get the Global Errorlog PLID and EID
errlHndl_t globalErrl =
ServiceGeneratorClass::ThisServiceGenerator().getErrl();
- uint32_t eid = globalErrl->eid();
uint32_t plid = globalErrl->plid();
// Runtime deconfig lost cores
@@ -86,8 +85,10 @@ int32_t pmRecovery( ExtensibleChip * i_chip, STEP_CODE_DATA_STRUCT & io_sc )
// Call Deconfig
errlHndl_t errl = nullptr;
- errl = HWAS::theDeconfigGard().deconfigureTarget( *coreTgt, eid,
- NULL, HWAS::DeconfigGard::FULLY_AT_RUNTIME );
+ errl = HWAS::theDeconfigGard().deconfigureTargetAtRuntime(
+ coreTgt,
+ HWAS::DeconfigGard::FULLY_AT_RUNTIME,
+ globalErrl );
if (errl)
{
OpenPOWER on IntegriCloud