summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.C')
-rw-r--r--src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.C11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.C b/src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.C
index 493c45280..652f27dc6 100644
--- a/src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.C
+++ b/src/usr/diag/prdf/common/plat/mem/prdfMemCeTable.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2017 */
+/* Contributors Listed Below - COPYRIGHT 2013,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -167,15 +167,20 @@ uint32_t MemCeTable<T>::addEntry( const MemAddr & i_addr,
//------------------------------------------------------------------------------
template <TARGETING::TYPE T>
-void MemCeTable<T>::deactivateRank( const MemRank & i_rank )
+void MemCeTable<T>::deactivateRank( const MemRank & i_rank,
+ AddrRangeType i_type )
{
// NOTE: We don't want to reset the count here because it will be used for
// FFDC. Instead the count will be reset in addEntry() if the entry is
// not active.
for ( auto & entry : iv_table )
{
- if ( entry.addr.getRank() == i_rank )
+ if ( ( (SLAVE_RANK == i_type) && (entry.addr.getRank() == i_rank) ) ||
+ ( (MASTER_RANK == i_type) &&
+ (entry.addr.getRank().getMaster() == i_rank.getMaster()) ) )
+ {
entry.active = false;
+ }
}
}
OpenPOWER on IntegriCloud