diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-01-23 21:31:10 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-01-24 06:08:06 -0500 |
commit | d737f8e95da3aabb73cc60085cdbad9c05600f48 (patch) | |
tree | 6d2b7cfc55eca3815fe51284f7cd91d1ada11f58 /src/test/testcases | |
parent | 9b03db45c424d6edc5698fa74830dc1d432fdfe8 (diff) | |
download | talos-sbe-d737f8e95da3aabb73cc60085cdbad9c05600f48.tar.gz talos-sbe-d737f8e95da3aabb73cc60085cdbad9c05600f48.zip |
Allow read on complete OCC SRAM buffer
Change-Id: Ife2f4a321753f6367e2cfa0ee9fd3804a4d8d52a
CQ: FW672705
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/52499
Reviewed-by: Shakeeb A. Pasha B K <shakeebbk@in.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/test/testcases')
-rw-r--r-- | src/test/testcases/testSram.py | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/test/testcases/testSram.py b/src/test/testcases/testSram.py index 1465705e..8e775127 100644 --- a/src/test/testcases/testSram.py +++ b/src/test/testcases/testSram.py @@ -5,7 +5,7 @@ # # OpenPOWER sbe Project # -# Contributors Listed Below - COPYRIGHT 2016,2017 +# Contributors Listed Below - COPYRIGHT 2016,2018 # [+] International Business Machines Corp. # # @@ -127,20 +127,21 @@ def main( ): testcase = "sec put test 3" putsram(0xFFFBE000-128, 0x01, data, 0x0005, 0x0014) print("Success: "+testcase) - + + # comment out -ve tests for security wisnidw as we allow read always # secure mem - read on disallowed mem # start and end completely outside - testcase = "sec get test 1" - getsram(0xFFFBE000-256, 0x01, 256, 0x0005, 0x0014) - print("Success: "+testcase) + #testcase = "sec get test 1" + #getsram(0xFFFBE000-256, 0x01, 256, 0x0005, 0x0014) + #print("Success: "+testcase) # start outside and end inside the window - testcase = "sec get test 2" - getsram(0xFFFBE000-128, 0x01, 256, 0x0005, 0x0014) - print("Success: "+testcase) + #testcase = "sec get test 2" + #getsram(0xFFFBE000-128, 0x01, 256, 0x0005, 0x0014) + #print("Success: "+testcase) # start inside and end outside the window - testcase = "sec get test 3" - getsram(0xFFFBE000-128, 0x01, 256, 0x0005, 0x0014) - print("Success: "+testcase) + #testcase = "sec get test 3" + #getsram(0xFFFBE000-128, 0x01, 256, 0x0005, 0x0014) + #print("Success: "+testcase) # Put Occ Sram test - Circular - Can be enabled once we get # valid address range to read the circular data |