diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2016-05-02 14:42:28 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-05-25 15:01:19 -0400 |
commit | 7048f1fdd57c1cf4af6812d7492ad2182f1cfff7 (patch) | |
tree | 61d58cf756f669c22d58e85b4b32ae59bbed113d /src/usr/diag/prdf/common/plat/p9 | |
parent | c1dae582e0f016a0e830f11819baf66de6e58cef (diff) | |
download | talos-hostboot-7048f1fdd57c1cf4af6812d7492ad2182f1cfff7.tar.gz talos-hostboot-7048f1fdd57c1cf4af6812d7492ad2182f1cfff7.zip |
PRD: add HOST_ATTN support in rule code
Change-Id: I6f22c807c47b741b078929624db672e3c2895138
RTC: 148637
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23962
Tested-by: Jenkins Server
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24995
Tested-by: FSP CI Jenkins
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/plat/p9')
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/p9_mca.rule | 10 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/p9_mcbist.rule | 7 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/p9_mcs.rule | 7 | ||||
-rw-r--r-- | src/usr/diag/prdf/common/plat/p9/p9_nimbus.rule | 258 |
4 files changed, 279 insertions, 3 deletions
diff --git a/src/usr/diag/prdf/common/plat/p9/p9_mca.rule b/src/usr/diag/prdf/common/plat/p9/p9_mca.rule index 235e1208d..5b21c504e 100644 --- a/src/usr/diag/prdf/common/plat/p9/p9_mca.rule +++ b/src/usr/diag/prdf/common/plat/p9/p9_mca.rule @@ -184,9 +184,13 @@ rule rMCA summary( 0, rMCACALFIR ) | summary( 1, rMCAECCFIR ); + HOST_ATTN: + summary( 0, rMCACALFIR ) | + summary( 1, rMCAECCFIR ); + }; -group gMCA attntype CHECK_STOP, RECOVERABLE, UNIT_CS +group gMCA attntype CHECK_STOP, RECOVERABLE, UNIT_CS, HOST_ATTN { (rMCA, bit(0)) ? analyze(gMCACALFIR); (rMCA, bit(1)) ? analyze(gMCAECCFIR); @@ -203,6 +207,8 @@ rule rMCACALFIR MCACALFIR & ~MCACALFIR_MASK & ~MCACALFIR_ACT0 & ~MCACALFIR_ACT1; RECOVERABLE: MCACALFIR & ~MCACALFIR_MASK & ~MCACALFIR_ACT0 & MCACALFIR_ACT1; + HOST_ATTN: + MCACALFIR & ~MCACALFIR_MASK & MCACALFIR_ACT0 & ~MCACALFIR_ACT1; UNIT_CS: MCACALFIR & ~MCACALFIR_MASK & MCACALFIR_ACT0 & MCACALFIR_ACT1; }; @@ -541,6 +547,8 @@ rule rMCAECCFIR MCAECCFIR & ~MCAECCFIR_MASK & ~MCAECCFIR_ACT0 & ~MCAECCFIR_ACT1; RECOVERABLE: MCAECCFIR & ~MCAECCFIR_MASK & ~MCAECCFIR_ACT0 & MCAECCFIR_ACT1; + HOST_ATTN: + MCAECCFIR & ~MCAECCFIR_MASK & MCAECCFIR_ACT0 & ~MCAECCFIR_ACT1; UNIT_CS: MCAECCFIR & ~MCAECCFIR_MASK & MCAECCFIR_ACT0 & MCAECCFIR_ACT1; }; diff --git a/src/usr/diag/prdf/common/plat/p9/p9_mcbist.rule b/src/usr/diag/prdf/common/plat/p9/p9_mcbist.rule index 1f388ee82..3c0c04a1a 100644 --- a/src/usr/diag/prdf/common/plat/p9/p9_mcbist.rule +++ b/src/usr/diag/prdf/common/plat/p9/p9_mcbist.rule @@ -107,9 +107,12 @@ rule rMCBIST UNIT_CS: summary( 0, rMCBISTFIR ); + HOST_ATTN: + summary( 0, rMCBISTFIR ); + }; -group gMCBIST attntype CHECK_STOP, RECOVERABLE, UNIT_CS +group gMCBIST attntype CHECK_STOP, RECOVERABLE, UNIT_CS, HOST_ATTN { (rMCBIST, bit(0)) ? analyze(gMCBISTFIR); }; @@ -124,6 +127,8 @@ rule rMCBISTFIR MCBISTFIR & ~MCBISTFIR_MASK & ~MCBISTFIR_ACT0 & ~MCBISTFIR_ACT1; RECOVERABLE: MCBISTFIR & ~MCBISTFIR_MASK & ~MCBISTFIR_ACT0 & MCBISTFIR_ACT1; + HOST_ATTN: + MCBISTFIR & ~MCBISTFIR_MASK & MCBISTFIR_ACT0 & ~MCBISTFIR_ACT1; UNIT_CS: MCBISTFIR & ~MCBISTFIR_MASK & MCBISTFIR_ACT0 & MCBISTFIR_ACT1; }; diff --git a/src/usr/diag/prdf/common/plat/p9/p9_mcs.rule b/src/usr/diag/prdf/common/plat/p9/p9_mcs.rule index 08e362e4d..0f16690b3 100644 --- a/src/usr/diag/prdf/common/plat/p9/p9_mcs.rule +++ b/src/usr/diag/prdf/common/plat/p9/p9_mcs.rule @@ -107,9 +107,12 @@ rule rMCS UNIT_CS: summary( 0, rMCFIR ); + HOST_ATTN: + summary( 0, rMCFIR ); + }; -group gMCS attntype CHECK_STOP, RECOVERABLE, UNIT_CS +group gMCS attntype CHECK_STOP, RECOVERABLE, UNIT_CS, HOST_ATTN { (rMCS, bit(0)) ? analyze(gMCFIR); }; @@ -124,6 +127,8 @@ rule rMCFIR MCFIR & ~MCFIR_MASK & ~MCFIR_ACT0 & ~MCFIR_ACT1; RECOVERABLE: MCFIR & ~MCFIR_MASK & ~MCFIR_ACT0 & MCFIR_ACT1; + HOST_ATTN: + MCFIR & ~MCFIR_MASK & MCFIR_ACT0 & ~MCFIR_ACT1; UNIT_CS: MCFIR & ~MCFIR_MASK & MCFIR_ACT0 & MCFIR_ACT1; }; diff --git a/src/usr/diag/prdf/common/plat/p9/p9_nimbus.rule b/src/usr/diag/prdf/common/plat/p9/p9_nimbus.rule index 9c57ae390..c310f92d3 100644 --- a/src/usr/diag/prdf/common/plat/p9/p9_nimbus.rule +++ b/src/usr/diag/prdf/common/plat/p9/p9_nimbus.rule @@ -386,6 +386,24 @@ chip p9_nimbus }; ############################################################################ + # N1 Chiplet Host Attention FIR + ############################################################################ + + register N1_CHIPLET_HA_FIR + { + name "N1 Chiplet Host Attention FIR"; + scomaddr 0x03040009; + capture group default; + }; + + register N1_CHIPLET_HA_FIR_MASK + { + name "N1 Chiplet Host Attention FIR MASK"; + scomaddr 0x0304001a; + capture group default; + }; + + ############################################################################ # P9 chip N1_LFIR ############################################################################ @@ -688,6 +706,24 @@ chip p9_nimbus }; ############################################################################ + # N3 Chiplet Host Attention FIR + ############################################################################ + + register N3_CHIPLET_HA_FIR + { + name "N3 Chiplet Host Attention FIR"; + scomaddr 0x05040009; + capture group default; + }; + + register N3_CHIPLET_HA_FIR_MASK + { + name "N3 Chiplet Host Attention FIR MASK"; + scomaddr 0x0504001a; + capture group default; + }; + + ############################################################################ # P9 chip N3_LFIR ############################################################################ @@ -1458,6 +1494,24 @@ chip p9_nimbus }; ############################################################################ + # MC0 Chiplet Host Attention FIR + ############################################################################ + + register MC0_CHIPLET_HA_FIR + { + name "MC0 Chiplet Host Attention FIR"; + scomaddr 0x07040009; + capture group default; + }; + + register MC0_CHIPLET_HA_FIR_MASK + { + name "MC0 Chiplet Host Attention FIR MASK"; + scomaddr 0x0704001a; + capture group default; + }; + + ############################################################################ # P9 chip MC_LFIR 0 ############################################################################ @@ -1537,6 +1591,24 @@ chip p9_nimbus }; ############################################################################ + # MC1 Chiplet Host Attention FIR + ############################################################################ + + register MC1_CHIPLET_HA_FIR + { + name "MC1 Chiplet Host Attention FIR"; + scomaddr 0x08040009; + capture group default; + }; + + register MC1_CHIPLET_HA_FIR_MASK + { + name "MC1 Chiplet Host Attention FIR MASK"; + scomaddr 0x0804001a; + capture group default; + }; + + ############################################################################ # P9 chip MC_LFIR 1 ############################################################################ @@ -2096,6 +2168,26 @@ rule rGLOBAL_HA_FIR group gGLOBAL_HA_FIR attntype HOST_ATTN filter singlebit { + /** GLOBAL_HA_FIR[3] + * Attention from N1 chiplet + */ + (rGLOBAL_HA_FIR, bit(3)) ? analyze(gN1_CHIPLET_HA_FIR); + + /** GLOBAL_HA_FIR[5] + * Attention from N3 chiplet + */ + (rGLOBAL_HA_FIR, bit(5)) ? analyze(gN3_CHIPLET_HA_FIR); + + /** GLOBAL_HA_FIR[7] + * Attention from MC0 chiplet + */ + (rGLOBAL_HA_FIR, bit(7)) ? analyze(gMC0_CHIPLET_HA_FIR); + + /** GLOBAL_HA_FIR[8] + * Attention from MC1 chiplet + */ + (rGLOBAL_HA_FIR, bit(8)) ? analyze(gMC1_CHIPLET_HA_FIR); + }; ################################################################################ @@ -3949,6 +4041,30 @@ group gN1_CHIPLET_UCS_FIR filter singlebit }; ################################################################################ +# N1 Chiplet Host Attention FIR +################################################################################ + +rule rN1_CHIPLET_HA_FIR +{ + HOST_ATTN: + N1_CHIPLET_HA_FIR & ~N1_CHIPLET_HA_FIR_MASK & `7fffffffffffffff`; +}; + +group gN1_CHIPLET_HA_FIR filter singlebit +{ + /** N1_CHIPLET_HA_FIR[1] + * Attention from MCFIR 2 + */ + (rN1_CHIPLET_HA_FIR, bit(1)) ? analyzeConnectedMCS2; + + /** N1_CHIPLET_HA_FIR[2] + * Attention from MCFIR 3 + */ + (rN1_CHIPLET_HA_FIR, bit(2)) ? analyzeConnectedMCS3; + +}; + +################################################################################ # P9 chip N1_LFIR ################################################################################ @@ -6207,6 +6323,30 @@ group gN3_CHIPLET_UCS_FIR filter singlebit }; ################################################################################ +# N3 Chiplet Host Attention FIR +################################################################################ + +rule rN3_CHIPLET_HA_FIR +{ + HOST_ATTN: + N3_CHIPLET_HA_FIR & ~N3_CHIPLET_HA_FIR_MASK & `7fffffffffffffff`; +}; + +group gN3_CHIPLET_HA_FIR filter singlebit +{ + /** N3_CHIPLET_HA_FIR[1] + * Attention from MCFIR 0 + */ + (rN3_CHIPLET_HA_FIR, bit(1)) ? analyzeConnectedMCS0; + + /** N3_CHIPLET_HA_FIR[2] + * Attention from MCFIR 1 + */ + (rN3_CHIPLET_HA_FIR, bit(2)) ? analyzeConnectedMCS1; + +}; + +################################################################################ # P9 chip N3_LFIR ################################################################################ @@ -12831,6 +12971,65 @@ group gMC0_CHIPLET_UCS_FIR filter singlebit }; ################################################################################ +# MC0 Chiplet Host Attention FIR +################################################################################ + +rule rMC0_CHIPLET_HA_FIR +{ + HOST_ATTN: + MC0_CHIPLET_HA_FIR & ~MC0_CHIPLET_HA_FIR_MASK & `7fffffffffffffff`; +}; + +group gMC0_CHIPLET_HA_FIR filter singlebit +{ + /** MC0_CHIPLET_HA_FIR[1] + * Attention from MCAECCFIR 0 + */ + (rMC0_CHIPLET_HA_FIR, bit(1)) ? analyzeConnectedMCA0; + + /** MC0_CHIPLET_HA_FIR[2] + * Attention from MCACALFIR 0 + */ + (rMC0_CHIPLET_HA_FIR, bit(2)) ? analyzeConnectedMCA0; + + /** MC0_CHIPLET_HA_FIR[3] + * Attention from MCAECCFIR 1 + */ + (rMC0_CHIPLET_HA_FIR, bit(3)) ? analyzeConnectedMCA1; + + /** MC0_CHIPLET_HA_FIR[4] + * Attention from MCACALFIR 1 + */ + (rMC0_CHIPLET_HA_FIR, bit(4)) ? analyzeConnectedMCA1; + + /** MC0_CHIPLET_HA_FIR[5] + * Attention from MCAECCFIR 2 + */ + (rMC0_CHIPLET_HA_FIR, bit(5)) ? analyzeConnectedMCA2; + + /** MC0_CHIPLET_HA_FIR[6] + * Attention from MCACALFIR 2 + */ + (rMC0_CHIPLET_HA_FIR, bit(6)) ? analyzeConnectedMCA2; + + /** MC0_CHIPLET_HA_FIR[7] + * Attention from MCAECCFIR 3 + */ + (rMC0_CHIPLET_HA_FIR, bit(7)) ? analyzeConnectedMCA3; + + /** MC0_CHIPLET_HA_FIR[8] + * Attention from MCACALFIR 3 + */ + (rMC0_CHIPLET_HA_FIR, bit(8)) ? analyzeConnectedMCA3; + + /** MC0_CHIPLET_HA_FIR[9] + * Attention from MCBISTFIR 0 + */ + (rMC0_CHIPLET_HA_FIR, bit(9)) ? analyzeConnectedMCBIST0; + +}; + +################################################################################ # P9 chip MC_LFIR 0 ################################################################################ @@ -13312,6 +13511,65 @@ group gMC1_CHIPLET_UCS_FIR filter singlebit }; ################################################################################ +# MC1 Chiplet Host Attention FIR +################################################################################ + +rule rMC1_CHIPLET_HA_FIR +{ + HOST_ATTN: + MC1_CHIPLET_HA_FIR & ~MC1_CHIPLET_HA_FIR_MASK & `7fffffffffffffff`; +}; + +group gMC1_CHIPLET_HA_FIR filter singlebit +{ + /** MC1_CHIPLET_HA_FIR[1] + * Attention from MCAECCFIR 4 + */ + (rMC1_CHIPLET_HA_FIR, bit(1)) ? analyzeConnectedMCA4; + + /** MC1_CHIPLET_HA_FIR[2] + * Attention from MCACALFIR 4 + */ + (rMC1_CHIPLET_HA_FIR, bit(2)) ? analyzeConnectedMCA4; + + /** MC1_CHIPLET_HA_FIR[3] + * Attention from MCAECCFIR 5 + */ + (rMC1_CHIPLET_HA_FIR, bit(3)) ? analyzeConnectedMCA5; + + /** MC1_CHIPLET_HA_FIR[4] + * Attention from MCACALFIR 5 + */ + (rMC1_CHIPLET_HA_FIR, bit(4)) ? analyzeConnectedMCA5; + + /** MC1_CHIPLET_HA_FIR[5] + * Attention from MCAECCFIR 6 + */ + (rMC1_CHIPLET_HA_FIR, bit(5)) ? analyzeConnectedMCA6; + + /** MC1_CHIPLET_HA_FIR[6] + * Attention from MCACALFIR 6 + */ + (rMC1_CHIPLET_HA_FIR, bit(6)) ? analyzeConnectedMCA6; + + /** MC1_CHIPLET_HA_FIR[7] + * Attention from MCAECCFIR 7 + */ + (rMC1_CHIPLET_HA_FIR, bit(7)) ? analyzeConnectedMCA7; + + /** MC1_CHIPLET_HA_FIR[8] + * Attention from MCACALFIR 7 + */ + (rMC1_CHIPLET_HA_FIR, bit(8)) ? analyzeConnectedMCA7; + + /** MC1_CHIPLET_HA_FIR[9] + * Attention from MCBISTFIR 1 + */ + (rMC1_CHIPLET_HA_FIR, bit(9)) ? analyzeConnectedMCBIST1; + +}; + +################################################################################ # P9 chip MC_LFIR 1 ################################################################################ |