Skip to content

Commit

Permalink
PRD: DMI Lane Repair
Browse files Browse the repository at this point in the history
Change-Id: I0c96c32387cb068138c9a7de0f73fdfeaf02af6c
RTC:144057
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/59208
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60586
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
Brian Stegmiller authored and zane131 committed Jun 17, 2018
1 parent 3476860 commit 86cda99
Show file tree
Hide file tree
Showing 8 changed files with 742 additions and 172 deletions.
12 changes: 4 additions & 8 deletions src/usr/diag/prdf/common/plat/cen/cen_centaur_actions.rule
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ actionclass pll_unlock_UERE
/** Callout the DMI BUS interface */
actionclass calloutBusInterface_dmibus
{
# TODO: RTC 144057
# funccall("calloutBusInterfacePlugin");
funccall("calloutBusInterfacePlugin");
};

/** Callout the DMI BUS interface, threshold 1 */
Expand All @@ -108,25 +107,22 @@ actionclass calloutBusInterface_dmibus_th1_UERE
actionclass spareDeployed_dmibus
{
calloutBusInterface_dmibus;
# TODO: RTC 144057
# funccall("spareDeployed");
funccall("spareDeployed");
};

/** Lane Repair: max spares exceeded */
actionclass maxSparesExceeded_dmibus_UERE
{
calloutBusInterface_dmibus_th1;
# TODO: RTC 144057
# funccall("maxSparesExceeded");
funccall("maxSparesExceeded");
SueSource; # channel failure
};

/** Lane Repair: too many bus errors */
actionclass tooManyBusErrors_dmibus
{
calloutBusInterface_dmibus_th1;
# TODO: RTC 144057
# funccall("tooManyBusErrors");
funccall("tooManyBusErrors");
};

/** Callout the DMI bus, threshold 1. Also, clear secondary MBSFIR bits. */
Expand Down
3 changes: 1 addition & 2 deletions src/usr/diag/prdf/common/plat/p9/p9_dmi_actions.rule
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ actionclass analyzeConnectedMembuf_UERE

actionclass dmi_bus_th_1
{
# TODO: RTC 144057
# funccall("calloutBusInterfacePlugin");
funccall("calloutBusInterfacePlugin");
threshold1;
};

Expand Down
87 changes: 70 additions & 17 deletions src/usr/diag/prdf/common/plat/p9/p9_mc_actions.rule
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,73 @@
#
# IBM_PROLOG_END_TAG

# TODO: RTC 144057 upate actions for all four DMI buses on this MC target.
actionclass calloutBusInterface_dmi0_th_1 {};
actionclass calloutBusInterface_dmi1_th_1 {};
actionclass calloutBusInterface_dmi2_th_1 {};
actionclass calloutBusInterface_dmi3_th_1 {};
actionclass spareDeployed_dmi0 {};
actionclass spareDeployed_dmi1 {};
actionclass spareDeployed_dmi2 {};
actionclass spareDeployed_dmi3 {};
actionclass maxSparesExceeded_dmi0 {};
actionclass maxSparesExceeded_dmi1 {};
actionclass maxSparesExceeded_dmi2 {};
actionclass maxSparesExceeded_dmi3 {};
actionclass tooManyBusErrors_dmi0_UERE {};
actionclass tooManyBusErrors_dmi1_UERE {};
actionclass tooManyBusErrors_dmi2_UERE {};
actionclass tooManyBusErrors_dmi3_UERE {};
/** Lane Repair: callout Bus Interface - DMI Bus */
/** Callout the DMI bus 0 */
actionclass calloutDmiBus0
{
funccall("calloutBusInterface_DMI0");
};
/** Callout the DMI bus 1 */
actionclass calloutDmiBus1
{
funccall("calloutBusInterface_DMI1");
};
/** Callout the DMI bus 2 */
actionclass calloutDmiBus2
{
funccall("calloutBusInterface_DMI2");
};
/** Callout the DMI bus 3 */
actionclass calloutDmiBus3
{
funccall("calloutBusInterface_DMI3");
};

actionclass calloutBusInterface_dmi0_th_1 { calloutDmiBus0; threshold1; };
actionclass calloutBusInterface_dmi1_th_1 { calloutDmiBus1; threshold1; };
actionclass calloutBusInterface_dmi2_th_1 { calloutDmiBus2; threshold1; };
actionclass calloutBusInterface_dmi3_th_1 { calloutDmiBus3; threshold1; };


/** Lane Repair: spare Deployed - DMI Bus */
actionclass spareDeployed_dmi0
{ calloutDmiBus0; funccall("spareDeployed_DMI0"); };
actionclass spareDeployed_dmi1
{ calloutDmiBus1; funccall("spareDeployed_DMI1"); };
actionclass spareDeployed_dmi2
{ calloutDmiBus2; funccall("spareDeployed_DMI2"); };
actionclass spareDeployed_dmi3
{ calloutDmiBus3; funccall("spareDeployed_DMI3"); };


/** Lane Repair: max spares exceeded - DMI Bus */
actionclass maxSparesExceeded_dmi0
{ calloutBusInterface_dmi0_th_1; funccall("maxSparesExceeded_DMI0"); };
actionclass maxSparesExceeded_dmi1
{ calloutBusInterface_dmi1_th_1; funccall("maxSparesExceeded_DMI1"); };
actionclass maxSparesExceeded_dmi2
{ calloutBusInterface_dmi2_th_1; funccall("maxSparesExceeded_DMI2"); };
actionclass maxSparesExceeded_dmi3
{ calloutBusInterface_dmi3_th_1; funccall("maxSparesExceeded_DMI3"); };


/** Lane Repair: too many Bus Errors - DMI Bus */
actionclass tooManyBusErrors_dmi0_UERE
{
calloutBusInterface_dmi0_th_1; funccall("tooManyBusErrors_DMI0");
};
actionclass tooManyBusErrors_dmi1_UERE
{
calloutBusInterface_dmi1_th_1; funccall("tooManyBusErrors_DMI1");
};
actionclass tooManyBusErrors_dmi2_UERE
{
calloutBusInterface_dmi2_th_1; funccall("tooManyBusErrors_DMI2");
};
actionclass tooManyBusErrors_dmi3_UERE
{
calloutBusInterface_dmi3_th_1; funccall("tooManyBusErrors_DMI3");
};



0 comments on commit 86cda99

Please sign in to comment.