summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorSachin Gupta <sgupta2m@in.ibm.com>2018-01-23 21:31:10 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2018-01-24 06:08:06 -0500
commitd737f8e95da3aabb73cc60085cdbad9c05600f48 (patch)
tree6d2b7cfc55eca3815fe51284f7cd91d1ada11f58 /src/test
parent9b03db45c424d6edc5698fa74830dc1d432fdfe8 (diff)
downloadtalos-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')
-rw-r--r--src/test/testcases/testSram.py23
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
OpenPOWER on IntegriCloud