diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2018-10-29 15:25:29 -0500 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2018-11-07 12:04:27 -0600 |
commit | 7315fb2debc3bd5e6a51000160b125ab218d04e4 (patch) | |
tree | 0a4cbd3da7c4d069724884aba5a85c9d01225b2f /src/usr/diag/prdf/test | |
parent | 40a34c94a981ebfe9e1ff95263663cda0cbaaa42 (diff) | |
download | talos-hostboot-7315fb2debc3bd5e6a51000160b125ab218d04e4.tar.gz talos-hostboot-7315fb2debc3bd5e6a51000160b125ab218d04e4.zip |
PRD: Created Cumulus specific rule files
Change-Id: If2ab23336ffd41e62a4d0cce10a0397bcc3490a2
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68151
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Squashed: I2973f0a77964cd6253e91e58e6352c60864e51bc
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68275
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/test')
-rw-r--r-- | src/usr/diag/prdf/test/prdfTest_Ex.H | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/src/usr/diag/prdf/test/prdfTest_Ex.H b/src/usr/diag/prdf/test/prdfTest_Ex.H index 269e5f65d..faded748f 100644 --- a/src/usr/diag/prdf/test/prdfTest_Ex.H +++ b/src/usr/diag/prdf/test/prdfTest_Ex.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2017 */ +/* Contributors Listed Below - COPYRIGHT 2012,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -44,14 +44,17 @@ class ExLFIR:public CxxTest::TestSuite { - public: + public: - void TestRecoverable(void) + void TestRecoverable(void) + { + if ( TARGETING::MODEL_CUMULUS == PRDF::PlatServices::getChipModel( + PRDF::PlatServices::getMasterProc() ) ) { PRDS_BEGIN("ECLFIR recoverable attention"); PRDS_ERROR_ENTRY("NODE{0}:PROC{0}", PRDF::RECOVERABLE); PRDS_EXPECTED_SIGNATURE("NODE{0}:PROC{0}:EQ{0}:EX{0}:CORE{0}", - 0x33e70007); + 0x35e70007); // GLOBAL_RE_FIR set bit 32 PRDS_SCR_WRITE("NODE{0}:PROC{0}", 0x500F001B, 0x0000000080000000); // EC_CHIPLET_RE_FIR[1] Attention from ECLFIR @@ -70,13 +73,16 @@ class ExLFIR:public CxxTest::TestSuite TS_FAIL("Expected Signature Failed ECLFIR recoverable attention"); } } + } - void TestL3CE(void) + void TestL3CE(void) + { + if ( TARGETING::MODEL_CUMULUS == PRDF::PlatServices::getChipModel( + PRDF::PlatServices::getMasterProc() ) ) { - PRDS_BEGIN("L3CE Test"); PRDS_ERROR_ENTRY("NODE{0}:PROC{0}", PRDF::RECOVERABLE); - PRDS_EXPECTED_SIGNATURE("NODE{0}:PROC{0}:EQ{0}:EX{0}", 0xf08d0004); + PRDS_EXPECTED_SIGNATURE("NODE{0}:PROC{0}:EQ{0}:EX{0}", 0xf28d0004); // GLOBAL_RE_FIR bit 16 PRDS_SCR_WRITE("NODE{0}:PROC{0}", 0x500F001B, 0x0000800000000000); // EX_CHIPLET_RE_FIR[4] - Analyze L3FIR @@ -94,13 +100,17 @@ class ExLFIR:public CxxTest::TestSuite TS_FAIL("L3CE Test failed"); } } + } - void TestCoreRecoverable(void) + void TestCoreRecoverable(void) + { + if ( TARGETING::MODEL_CUMULUS == PRDF::PlatServices::getChipModel( + PRDF::PlatServices::getMasterProc() ) ) { PRDS_BEGIN("COREFIR recoverable attention"); PRDS_ERROR_ENTRY("NODE{0}:PROC{0}", PRDF::RECOVERABLE); PRDS_EXPECTED_SIGNATURE("NODE{0}:PROC{0}:EQ{0}:EX{0}:CORE{0}", - 0xdd3f003c); + 0xdf3f003c); // GLOBAL_RE_FIR PRDS_SCR_WRITE("NODE{0}:PROC{0}", 0x500F001B, 0x0000000080000000); @@ -137,6 +147,7 @@ class ExLFIR:public CxxTest::TestSuite TS_FAIL("COREFIR recoverable attention test failed"); } } + } }; #endif |