summaryrefslogtreecommitdiffstats
path: root/src/test/testcases
diff options
context:
space:
mode:
authorspashabk-in <shakeebbk@in.ibm.com>2018-06-05 04:45:45 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2018-07-24 02:12:39 -0500
commit2567f8f47e82064ad2d1927df6d1c86a9b642f44 (patch)
treeb728846fb8834dbc27bde0d7e7631b4f7fd16f8e /src/test/testcases
parent06f2b048dd60a57742aad777ee398b51330a5c5b (diff)
downloadtalos-sbe-2567f8f47e82064ad2d1927df6d1c86a9b642f44.tar.gz
talos-sbe-2567f8f47e82064ad2d1927df6d1c86a9b642f44.zip
Get capabilities spec sync
Sync with fifo spec - 1.5c PSU spec - 0.9e Change-Id: I16048b0a52c47da5b713cbbc28d25039114d9a30 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61251 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> (cherry picked from commit a0a932369074e874a14685bda3548adf6dc8ac28) Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/59929
Diffstat (limited to 'src/test/testcases')
-rwxr-xr-xsrc/test/testcases/testGetCapabilities.py30
-rw-r--r--src/test/testcases/testPSUGetCapabilities.py24
2 files changed, 27 insertions, 27 deletions
diff --git a/src/test/testcases/testGetCapabilities.py b/src/test/testcases/testGetCapabilities.py
index cffff709..5fd8491e 100755
--- a/src/test/testcases/testGetCapabilities.py
+++ b/src/test/testcases/testGetCapabilities.py
@@ -30,28 +30,28 @@ err = False
TESTDATA = [0,0,0,2,
0,0,0xA8,0x02 ]
-EXPDATA1 = [0x0,0x0,0x0,0x0,
- 0x0,0x0,0x0,0x0,
+EXPDATA1 = [0xC0,0x0,0x00,0x3F,
+ 0xC8,0x0,0x0,0x0,
0xa1,0x0,0x0,0x03, # istep/suspendio
- 0x0,0x0,0x0,0x0,
+ 0xa1,0x80,0x0,0x0,
0xa2,0x0,0x0,0x0f, #getscom/putscom/modifyscom/putscomundermask
- 0x0,0x0,0x0,0x0,
- 0xa3,0x0,0x0,0x3, #getring/putring
- 0x00,0x0,0x0,0x0];
+ 0xa2,0x80,0x0,0x0,
+ 0xa3,0x0,0x0,0x7, #getring/putring
+ 0xa3,0x80,0x0,0x0];
EXPDATA2 = [0xa4,0x0,0x0,0x0f, #GetMemPba/PutMemPba/GetSramOcc/PutSramOcc
- 0x0,0x0,0x0,0x0,
+ 0xa4,0x80,0x0,0x0,
0xa5,0x0,0x0,0x03, #GetReg/PutReg
- 0x0,0x0,0x0,0x0,
- 0x0,0x0,0x0,0x0,
- 0x0,0x0,0x0,0x0,
+ 0xa5,0x80,0x0,0x0,
+ 0xa6,0x0,0x0,0x03,
+ 0xa6,0x80,0x0,0x0,
0xa7,0x0,0x0,0x1, # control Instruction
- 0x00,0x0,0x0,0x0];
+ 0xa7,0x80,0x0,0x0];
-EXPDATA3 = [0xa8,0x0,0x0,0x13, #getcapability/getSbeFFDC/quiesce
- 0x0,0x0,0x0,0x0,
- 0, 0, 0, 0, #MPIPL related
- 0, 0, 0, 0,
+EXPDATA3 = [0xa8,0x0,0x0,0x03, #getcapability/getSbeFFDC/quiesce
+ 0xa8,0x80,0x0,0x0,
+ 0xa9, 0, 0, 0x7, #MPIPL related
+ 0xa9, 0x80, 0, 0,
0xc0,0xde,0xa8,0x02,
0x0,0x0,0x0,0x0,
0x00,0x0,0x0,0x3];
diff --git a/src/test/testcases/testPSUGetCapabilities.py b/src/test/testcases/testPSUGetCapabilities.py
index 78231980..6fc53c21 100644
--- a/src/test/testcases/testPSUGetCapabilities.py
+++ b/src/test/testcases/testPSUGetCapabilities.py
@@ -46,22 +46,22 @@ def getdoubleword(dataInInt):
'''
Capabilities structure
'''
-capMsg = (getsingleword(0xD000000F) +
- getsingleword(0x00) +
+capMsg = (getsingleword(0xC000003F) +
+ getsingleword(0xC8000000) +
getsingleword(0xD1000001) +
- getsingleword(0x0) +
- getsingleword(0x0) +
- getsingleword(0x0) +
+ getsingleword(0xD1800000) +
+ getsingleword(0xD2000000) +
+ getsingleword(0xD2800000) +
getsingleword(0xD3000001) +
- getsingleword(0x0) +
+ getsingleword(0xD3800000) +
getsingleword(0xD4000001) +
- getsingleword(0x0) +
- getsingleword(0x0) +
- getsingleword(0x0) +
+ getsingleword(0xD4800000) +
+ getsingleword(0xD5000000) +
+ getsingleword(0xD5800000) +
getsingleword(0xD6000001) +
- getsingleword(0x0) +
- getsingleword(0xD700007F) +
- getsingleword(0x0))
+ getsingleword(0xD6800000) +
+ getsingleword(0xD700007E) +
+ getsingleword(0xD7800000))
def getCapabilities(addr, size, exp_status):
# Intialize the class obj instances
OpenPOWER on IntegriCloud