diff options
| author | Richard J. Knight <rjknight@us.ibm.com> | 2013-05-08 11:39:38 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-06-14 11:19:22 -0500 |
| commit | dcfcbcdea8737802ff615efde01545d6d6137b9f (patch) | |
| tree | f4b3e96b83ec090c8f48779c18c03f077e638e00 /src/usr/errl/test/errltest.H | |
| parent | 0f4bb93bb0255db58725cac3979c58784d2563f3 (diff) | |
| download | talos-hostboot-dcfcbcdea8737802ff615efde01545d6d6137b9f.tar.gz talos-hostboot-dcfcbcdea8737802ff615efde01545d6d6137b9f.zip | |
MRU Callout Support Updates
Change-Id: If0e517a72c428b2cd5902900f13f6a3c17a68963
RTC:68487
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4813
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: Van H. Lee <vanlee@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/errl/test/errltest.H')
| -rw-r--r-- | src/usr/errl/test/errltest.H | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/usr/errl/test/errltest.H b/src/usr/errl/test/errltest.H index 5a8b1f769..9193e32f9 100644 --- a/src/usr/errl/test/errltest.H +++ b/src/usr/errl/test/errltest.H @@ -506,13 +506,13 @@ public: TARGETING::targetService().end(), &procChipFilter); - // find a membuf target - TARGETING::PredicateCTM membufChipFilter( - TARGETING::CLASS_CHIP,TARGETING::TYPE_MEMBUF); - TARGETING::TargetRangeFilter pMembuf( + TARGETING::PredicateCTM l_L4s(TARGETING::CLASS_UNIT, + TARGETING::TYPE_L4); + + TARGETING::TargetRangeFilter pL4( TARGETING::targetService().begin(), TARGETING::targetService().end(), - &membufChipFilter); + &l_L4s); // Create an error log errlHndl_t errl = new ERRORLOG::ErrlEntry( @@ -520,22 +520,26 @@ public: ERRL_TEST_MOD_ID, ERRL_TEST_REASON_CODE); + printk("\n\nelog = 0x%X\n\n", errl->eid() ); + // test the different callout types TS_TRACE( "test callout pProc %p", *pProc); ERRORLOG::ErrlUserDetailsTarget(*pProc).addToLog(errl); - errl->addHwCallout(*pMembuf, - HWAS::SRCI_PRIORITY_MED, + errl->addHwCallout(*pL4, + HWAS::SRCI_PRIORITY_HIGH, HWAS::DECONFIG, HWAS::GARD_NULL); - errl->addHwCallout(TARGETING::MASTER_PROCESSOR_CHIP_TARGET_SENTINEL, + // make this one high too - should end up with B120 src + // as the first high priority callout is mem subsys + errl->addHwCallout( *pProc, HWAS::SRCI_PRIORITY_HIGH, HWAS::DECONFIG, HWAS::GARD_NULL); errl->addProcedureCallout( - HWAS::EPUB_PRC_MEMORY_PLUGGING_ERROR, + HWAS::EPUB_PRC_HB_CODE, HWAS::SRCI_PRIORITY_HIGH); errlCommit(errl, CXXTEST_COMP_ID); |

