Skip to content

Commit

Permalink
PRD: PRD simulator testcase for Centaur attention
Browse files Browse the repository at this point in the history
Change-Id: Ib120a97a730dd36eedc98fe41cac11b2d0bc9780
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/47954
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48259
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>
  • Loading branch information
zane131 committed Oct 14, 2017
1 parent 267fadb commit 9b8608d
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/usr/diag/prdf/common/plat/p9/p9_dmi.rule
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,31 @@ chip p9_dmi
# #
##############################################################################

################################################################################
# Summary for DMI
################################################################################

rule rDMI
{
CHECK_STOP:
summary( 0, rCHIFIR );

RECOVERABLE:
summary( 0, rCHIFIR );

UNIT_CS:
summary( 0, rCHIFIR );

HOST_ATTN:
summary( 0, rCHIFIR );

};

group gDMI attntype CHECK_STOP, RECOVERABLE, UNIT_CS, HOST_ATTN filter singlebit
{
(rDMI, bit(0)) ? analyze(gCHIFIR);
};

################################################################################
# P9 DMI target CHIFIR
################################################################################
Expand Down
25 changes: 25 additions & 0 deletions src/usr/diag/prdf/common/plat/p9/p9_mi.rule
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,31 @@ chip p9_mi
# #
##############################################################################

################################################################################
# Summary for MI
################################################################################

rule rMI
{
CHECK_STOP:
summary( 0, rMCFIR );

RECOVERABLE:
summary( 0, rMCFIR );

UNIT_CS:
summary( 0, rMCFIR );

HOST_ATTN:
summary( 0, rMCFIR );

};

group gMI attntype CHECK_STOP, RECOVERABLE, UNIT_CS, HOST_ATTN filter singlebit
{
(rMI, bit(0)) ? analyze(gMCFIR);
};

################################################################################
# P9 MI target MCFIR
################################################################################
Expand Down
21 changes: 21 additions & 0 deletions src/usr/diag/prdf/common/plugins/prdfLogParse_common.C
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,27 @@ void getTargetInfo( HUID i_chipId, TARGETING::TYPE & o_targetType,
l_node, l_chip, l_chiplet );
break;

case TYPE_MC:
l_chip = l_chip / MAX_MC_PER_PROC;
l_chiplet = l_chiplet % MAX_MC_PER_PROC;
snprintf( o_chipName, i_sz_chipName, "mc(n%dp%dc%d)",
l_node, l_chip, l_chiplet );
break;

case TYPE_MI:
l_chip = l_chip / MAX_MI_PER_PROC;
l_chiplet = l_chiplet % MAX_MI_PER_PROC;
snprintf( o_chipName, i_sz_chipName, "mi(n%dp%dc%d)",
l_node, l_chip, l_chiplet );
break;

case TYPE_DMI:
l_chip = l_chip / MAX_DMI_PER_PROC;
l_chiplet = l_chiplet % MAX_DMI_PER_PROC;
snprintf( o_chipName, i_sz_chipName, "dmi(n%dp%dc%d)",
l_node, l_chip, l_chiplet );
break;

case TYPE_MEMBUF:
snprintf( o_chipName, i_sz_chipName, "mb(n%dp%d)",
l_node, l_chip );
Expand Down

0 comments on commit 9b8608d

Please sign in to comment.