diff options
author | Brian Horton <brianh@linux.ibm.com> | 2013-08-20 16:28:44 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-09-12 14:07:44 -0500 |
commit | 24f7b770b42f2889e8970e75f1ecd8bc1bdb77d5 (patch) | |
tree | 942e1dbbf85a21b215238805ed600794df5f4764 /src/usr/hwas/test | |
parent | d8fdb9f6399d602c3314fe8a0a6578364e886120 (diff) | |
download | talos-hostboot-24f7b770b42f2889e8970e75f1ecd8bc1bdb77d5.tar.gz talos-hostboot-24f7b770b42f2889e8970e75f1ecd8bc1bdb77d5.zip |
GARD: errlog event ID (EID) instead of platform log id (PLID)
gard records and deconfiguredBy use event id instead of plid.
Change-Id: Ic0ccbd5b83e1738839819d471956ca700cd22fff
RTC: 79346
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5853
Tested-by: Jenkins Server
Reviewed-by: SHELDON R. BAILEY <baileysh@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/test')
-rw-r--r-- | src/usr/hwas/test/hwas1test.H | 8 | ||||
-rw-r--r-- | src/usr/hwas/test/hwasGardTest.H | 4 | ||||
-rw-r--r-- | src/usr/hwas/test/hwasSysAvailSvcTest.H | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/hwas/test/hwas1test.H b/src/usr/hwas/test/hwas1test.H index ba6829fd7..151ef6c2a 100644 --- a/src/usr/hwas/test/hwas1test.H +++ b/src/usr/hwas/test/hwas1test.H @@ -77,7 +77,7 @@ public: // modify state l_hwasState = l_pTarget->getAttr<ATTR_HWAS_STATE>(); - l_hwasState.deconfiguredByPlid = 0x12345678; + l_hwasState.deconfiguredByEid = 0x12345678; l_hwasState.poweredOn = true; l_hwasState.present = true; l_hwasState.functional = true; @@ -86,12 +86,12 @@ public: l_pTarget->setAttr<ATTR_HWAS_STATE>( l_hwasState ); // fetch and test new values - if ( l_pTarget->getAttr<ATTR_HWAS_STATE>().deconfiguredByPlid + if ( l_pTarget->getAttr<ATTR_HWAS_STATE>().deconfiguredByEid != 0x12345678 ) { - TS_FAIL( " deconfiguredByPlid = 0x%x, should be 0x12345678", + TS_FAIL( " deconfiguredByEid = 0x%x, should be 0x12345678", l_pTarget->getAttr<ATTR_HWAS_STATE>(). - deconfiguredByPlid ); + deconfiguredByEid ); } if ( l_pTarget->getAttr<ATTR_HWAS_STATE>().poweredOn != true ) diff --git a/src/usr/hwas/test/hwasGardTest.H b/src/usr/hwas/test/hwasGardTest.H index 6a217149f..991982c22 100644 --- a/src/usr/hwas/test/hwasGardTest.H +++ b/src/usr/hwas/test/hwasGardTest.H @@ -1120,11 +1120,11 @@ public: break; } - if ((l_records[0].iv_errlogPlid != 0x46) || + if ((l_records[0].iv_errlogEid != 0x46) || (l_records[0].iv_errorType != GARD_Fatal)) { TS_FAIL("testGard6: unexpected data - errl 0x%X type %x", - l_records[0].iv_errlogPlid, l_records[0].iv_errorType); + l_records[0].iv_errlogEid, l_records[0].iv_errorType); break; } diff --git a/src/usr/hwas/test/hwasSysAvailSvcTest.H b/src/usr/hwas/test/hwasSysAvailSvcTest.H index 3039c0ef6..0e5839ce2 100644 --- a/src/usr/hwas/test/hwasSysAvailSvcTest.H +++ b/src/usr/hwas/test/hwasSysAvailSvcTest.H @@ -96,7 +96,7 @@ public: l_fakeState = i_origStates[i]; TS_TRACE( "setTargetStates: HwasState fakeState: " "deconf=0x%x,PO=0x%x,pres=0x%x,func=0x%x,dumpf=0x%x", - l_fakeState.deconfiguredByPlid, + l_fakeState.deconfiguredByEid, l_fakeState.poweredOn, l_fakeState.present, l_fakeState.functional, |