diff options
author | Caleb Palmer <cnpalmer@us.ibm.com> | 2019-03-18 15:34:01 -0500 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2019-04-01 10:14:12 -0500 |
commit | 16024c9f92fa83ea5e010b31a744f9d8ef847c1e (patch) | |
tree | f904067a4442fc6214a44e1084b6b1059e761c1b /src/usr/diag/prdf/plat/mem/prdfMemScrubUtils.C | |
parent | 4046e66acfb6aca175d167de2ec3b89846bf68e5 (diff) | |
download | talos-hostboot-16024c9f92fa83ea5e010b31a744f9d8ef847c1e.tar.gz talos-hostboot-16024c9f92fa83ea5e010b31a744f9d8ef847c1e.zip |
PRD: Axone PlatServices and Misc Updates
Change-Id: I309daf7cd47470542c7486307cdbe576986c29b4
RTC: 206186
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/74863
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Benjamen G. Tyner <ben.tyner@ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75185
Tested-by: FSP CI Jenkins <fsp-CI-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>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/plat/mem/prdfMemScrubUtils.C')
-rw-r--r-- | src/usr/diag/prdf/plat/mem/prdfMemScrubUtils.C | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfMemScrubUtils.C b/src/usr/diag/prdf/plat/mem/prdfMemScrubUtils.C index 45b8bd3fc..84dd2d2f8 100644 --- a/src/usr/diag/prdf/plat/mem/prdfMemScrubUtils.C +++ b/src/usr/diag/prdf/plat/mem/prdfMemScrubUtils.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2018 */ +/* Contributors Listed Below - COPYRIGHT 2016,2019 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -95,6 +95,25 @@ uint32_t clearCmdCompleteAttn<TYPE_MCA>( ExtensibleChip * i_chip ) } template<> +uint32_t clearCmdCompleteAttn<TYPE_OCMB_CHIP>( ExtensibleChip * i_chip ) +{ + // Clear MCBISTFIR[10]. + return __clearFir<TYPE_OCMB_CHIP>( i_chip, "MCBISTFIR_AND", + 0xffdfffffffffffffull ); +} + +template<> +uint32_t clearCmdCompleteAttn<TYPE_MEM_PORT>( ExtensibleChip * i_chip ) +{ + PRDF_ASSERT( nullptr != i_chip ); + PRDF_ASSERT( TYPE_MEM_PORT == i_chip->getType() ); + + ExtensibleChip * ocmbChip = getConnectedParent( i_chip, TYPE_OCMB_CHIP ); + + return clearCmdCompleteAttn<TYPE_OCMB_CHIP>( ocmbChip ); +} + +template<> uint32_t clearCmdCompleteAttn<TYPE_MBA>( ExtensibleChip * i_chip ) { // Clear MBASPA[0,8]. |