From 76b294bed6cd3aff8f8f74df8e0d2a09ca153e75 Mon Sep 17 00:00:00 2001 From: "Sunil.Kumar" Date: Mon, 28 Nov 2016 03:45:22 -0600 Subject: RTC 149074 Async Response of PSU operation from SBE Change-Id: Ifb6be2cb5edd2e1abeb5766a54bc44439c67e8dd Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/33045 Tested-by: Jenkins Server Reviewed-by: Shakeeb A. Pasha B K Tested-by: FSP CI Jenkins Reviewed-by: Sachin Gupta --- src/test/testcases/testSbeDump.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/test/testcases/testSbeDump.py') diff --git a/src/test/testcases/testSbeDump.py b/src/test/testcases/testSbeDump.py index 3b273cdf..180795f6 100644 --- a/src/test/testcases/testSbeDump.py +++ b/src/test/testcases/testSbeDump.py @@ -5,7 +5,7 @@ # # OpenPOWER sbe Project # -# Contributors Listed Below - COPYRIGHT 2016 +# Contributors Listed Below - COPYRIGHT 2016,2017 # [+] International Business Machines Corp. # # @@ -42,6 +42,10 @@ def main(): testUtil.writeUsFifo(TESTDATA) testUtil.writeEot() + print ("\n HWP internal ffdc") + testUtil.extractHWPFFDC( True ) + + print ("\n SBE internal ffdc") data = testUtil.readDsEntryReturnVal() magicBytes = ((data[0] << 8) | data[1]) if (magicBytes == 0xFFDC) : @@ -67,6 +71,10 @@ def main(): print ("\nPrimary Status " + str(hex(primaryStatus)) + " Secondary Status "\ + str(hex(secondaryStatus))) + data = testUtil.readDsEntryReturnVal() + commitID = ((data[0] << 24) | (data[1] << 16) | (data[2] << 8) | data[3]) + print ("\ncommitID = " + str(hex(commitID))) + data = testUtil.readDsEntryReturnVal() header = ((data[0] << 24) | (data[1] << 16) | (data[2] << 8) | data[3]) print ("\nHeader = " + str(hex(header))) @@ -95,9 +103,9 @@ def main(): print("write to a file Done") myBin.close() - #Read the Exp data print ("Read the Expected data") testUtil.readDsFifo( EXPDATA ) + print ("Read Eot") testUtil.readEot( ) #------------------------------------------------- -- cgit v1.2.1