summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2018-07-24 11:28:05 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2018-07-26 21:13:27 -0500
commit62f4b4adbd87386e2864e3a7e27e8fef666d4415 (patch)
tree51536bc81d25ae3839826bd10070bd4d3be4d581
parent96e03100181831f7282975ec5406d2fb83b4b001 (diff)
downloadtalos-hostboot-62f4b4adbd87386e2864e3a7e27e8fef666d4415.tar.gz
talos-hostboot-62f4b4adbd87386e2864e3a7e27e8fef666d4415.zip
PRD: Manually clear the Centaur interrupt status reg on chnl fail
Change-Id: Ic8974632d2d2eae4e4d23f7816157ec22caa8610 CQ: SW439211 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63226 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63387 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>
-rw-r--r--src/usr/diag/prdf/common/plat/cen/cen_centaur_regs.rule11
-rwxr-xr-xsrc/usr/diag/prdf/common/plat/mem/prdfMemUtils.C6
2 files changed, 17 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/common/plat/cen/cen_centaur_regs.rule b/src/usr/diag/prdf/common/plat/cen/cen_centaur_regs.rule
index aa0d70b66..eb7b1030a 100644
--- a/src/usr/diag/prdf/common/plat/cen/cen_centaur_regs.rule
+++ b/src/usr/diag/prdf/common/plat/cen/cen_centaur_regs.rule
@@ -132,6 +132,17 @@
};
############################################################################
+ # Interrupt status register
+ ############################################################################
+
+ register INTER_STATUS_REG
+ {
+ name "TPTOP.PIB.PCBMS.INTERRUPT_TYPE_REG";
+ scomaddr 0x000F001A;
+ capture group default;
+ };
+
+ ############################################################################
# TP chiplet error report registers
############################################################################
diff --git a/src/usr/diag/prdf/common/plat/mem/prdfMemUtils.C b/src/usr/diag/prdf/common/plat/mem/prdfMemUtils.C
index 0aef091df..4c6c7e823 100755
--- a/src/usr/diag/prdf/common/plat/mem/prdfMemUtils.C
+++ b/src/usr/diag/prdf/common/plat/mem/prdfMemUtils.C
@@ -891,6 +891,12 @@ void __cleanupChnlFail<TYPE_DMI,TYPE_MEMBUF>( ExtensibleChip * i_dmiChip,
reg->Write();
}
+ // To ensure FSP ATTN doesn't think there is an active attention on this
+ // Centaur, manually clear the interrupt status register.
+ reg = i_membChip->getRegister( "INTER_STATUS_REG" );
+ reg->clearAllBits(); // Blindly clear everything
+ reg->Write();
+
// For all attached MBAs:
// During runtime, send a dynamic memory deallocation message.
// During Memory Diagnostics, tell MDIA to stop pattern tests.
OpenPOWER on IntegriCloud