diff options
author | Sunil.Kumar <skumar8j@in.ibm.com> | 2016-11-28 03:45:22 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-01-19 01:14:16 -0500 |
commit | 76b294bed6cd3aff8f8f74df8e0d2a09ca153e75 (patch) | |
tree | 2948ff38b7c12e169fef7cb19f178c2cd89e93dd /src/test | |
parent | f7622cfdaafd77c57b93ade0d144c623eaec043f (diff) | |
download | talos-sbe-76b294bed6cd3aff8f8f74df8e0d2a09ca153e75.tar.gz talos-sbe-76b294bed6cd3aff8f8f74df8e0d2a09ca153e75.zip |
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 <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testcases/testSbeDump.py | 12 | ||||
-rw-r--r-- | src/test/testcases/testUtil.py | 2 |
2 files changed, 11 insertions, 3 deletions
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) : @@ -68,6 +72,10 @@ def main(): + 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( ) #------------------------------------------------- diff --git a/src/test/testcases/testUtil.py b/src/test/testcases/testUtil.py index 7620ebc5..5fd46307 100644 --- a/src/test/testcases/testUtil.py +++ b/src/test/testcases/testUtil.py @@ -5,7 +5,7 @@ # # OpenPOWER sbe Project # -# Contributors Listed Below - COPYRIGHT 2015,2016 +# Contributors Listed Below - COPYRIGHT 2015,2017 # [+] International Business Machines Corp. # # |