Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSLSE for CAPI2.0 not responding with REORDER_PERCENT != 0 #91

Open
ThomasFuchs opened this issue Oct 26, 2017 · 2 comments
Open

PSLSE for CAPI2.0 not responding with REORDER_PERCENT != 0 #91

ThomasFuchs opened this issue Oct 26, 2017 · 2 comments

Comments

@ThomasFuchs
Copy link

PSLSE is working well with REORDER_PERCENT: 0, but if I use other values (REORDER_PERCENT: 80,90) it hangs. I see in the waveviewer only one response for all the commands! Below two short parts of the debug.lst:

GOOD ONE:
afu0.0,0:CMD: New tag=0x00 code=0x0a00
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x00
afu0.0,0:CMD: New tag=0x01 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x00
afu0.0:MMIO: Ack
afu0.0:CMD: Buffer Write request tag=0x00
afu0.0,0:CMD: Update tag=0x00 resp=0x00
afu0.0,0:CMD: New tag=0x02 code=0x0a00
afu0.0,0:SOCKET OUT: MMIO ACK
afu0.0,0:MMIO: Return
afu0.0:CMD: Response tag=0x00
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x01
afu0.0,0:CMD: New tag=0x03 code=0x0a00
afu0.0,0:SOCKET IN: READ32
afu0.0,0:MMIO: Added Read32 Address=0x003c00
afu0.0,0:CMD: New tag=0x04 code=0x0a00
afu0.0:MMIO: Sent Read32 Address=0x803c00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x01
afu0.0:CMD: Buffer Write request tag=0x01
afu0.0,0:CMD: Update tag=0x01 resp=0x00
afu0.0,0:CMD: New tag=0x05 code=0x0a00
afu0.0:CMD: Response tag=0x01
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x02
afu0.0,0:CMD: New tag=0x06 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x02
afu0.0:CMD: Buffer Write request tag=0x02
afu0.0,0:CMD: Update tag=0x02 resp=0x00
afu0.0,0:CMD: New tag=0x07 code=0x0a00
afu0.0:CMD: Response tag=0x02
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x03
afu0.0,0:CMD: New tag=0x08 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x03
afu0.0:CMD: Buffer Write request tag=0x03
afu0.0,0:CMD: Update tag=0x03 resp=0x00
afu0.0,0:CMD: New tag=0x09 code=0x0a00
afu0.0:CMD: Response tag=0x03
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x04
afu0.0,0:CMD: New tag=0x0a code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x04
afu0.0:CMD: Buffer Write request tag=0x04
afu0.0,0:CMD: Update tag=0x04 resp=0x00
afu0.0,0:CMD: New tag=0x0b code=0x0a00
afu0.0:CMD: Response tag=0x04
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x05
afu0.0,0:CMD: New tag=0x0c code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x05
afu0.0:CMD: Buffer Write request tag=0x05
afu0.0,0:CMD: Update tag=0x05 resp=0x00
afu0.0,0:CMD: New tag=0x0d code=0x0a00
afu0.0:CMD: Response tag=0x05
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x06
afu0.0,0:CMD: New tag=0x0e code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x06
afu0.0:CMD: Buffer Write request tag=0x06
afu0.0,0:CMD: Update tag=0x06 resp=0x00
afu0.0,0:CMD: New tag=0x0f code=0x0a00
afu0.0:CMD: Response tag=0x06
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x07
afu0.0,0:CMD: New tag=0x10 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x07
afu0.0:MMIO: Ack
afu0.0:CMD: Buffer Write request tag=0x07
afu0.0,0:CMD: Update tag=0x07 resp=0x00
afu0.0,0:CMD: New tag=0x11 code=0x0a00
afu0.0,0:SOCKET OUT: MMIO ACK
afu0.0,0:MMIO: Return
afu0.0:CMD: Response tag=0x07
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x08
afu0.0,0:CMD: New tag=0x12 code=0x0a00
afu0.0,0:SOCKET IN: READ32
afu0.0,0:MMIO: Added Read32 Address=0x003c00
afu0.0,0:CMD: New tag=0x13 code=0x0a00
afu0.0:MMIO: Sent Read32 Address=0x803c00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x08
afu0.0:CMD: Buffer Write request tag=0x08
afu0.0,0:CMD: Update tag=0x08 resp=0x00
afu0.0,0:CMD: New tag=0x14 code=0x0a00
afu0.0:CMD: Response tag=0x08
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x09
afu0.0,0:CMD: New tag=0x15 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x09
afu0.0:CMD: Buffer Write request tag=0x09
afu0.0,0:CMD: Update tag=0x09 resp=0x00
afu0.0,0:CMD: New tag=0x16 code=0x0a00
afu0.0:CMD: Response tag=0x09
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x0a
afu0.0,0:CMD: New tag=0x17 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x0a
afu0.0:CMD: Buffer Write request tag=0x0a
afu0.0,0:CMD: Update tag=0x0a resp=0x00
afu0.0,0:CMD: New tag=0x18 code=0x0a00
afu0.0:CMD: Response tag=0x0a
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x0b
afu0.0,0:CMD: New tag=0x19 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x0b
afu0.0:CMD: Buffer Write request tag=0x0b
afu0.0,0:CMD: Update tag=0x0b resp=0x00
afu0.0,0:CMD: New tag=0x1a code=0x0a00
afu0.0:CMD: Response tag=0x0b
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x0c
afu0.0,0:CMD: New tag=0x1b code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x0c
afu0.0:CMD: Buffer Write request tag=0x0c
afu0.0,0:CMD: Update tag=0x0c resp=0x00
afu0.0,0:CMD: New tag=0x1c code=0x0a00
afu0.0:CMD: Response tag=0x0c
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x0d
afu0.0,0:CMD: New tag=0x1d code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x0d
afu0.0:CMD: Buffer Write request tag=0x0d
afu0.0,0:CMD: Update tag=0x0d resp=0x00
afu0.0,0:CMD: New tag=0x1e code=0x0a00
afu0.0:CMD: Response tag=0x0d

HANG:
afu0.0,0:CMD: New tag=0x00 code=0x0a00
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x00
afu0.0,0:CMD: New tag=0x01 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x00
afu0.0:MMIO: Ack
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x01
afu0.0,0:CMD: New tag=0x02 code=0x0a00
afu0.0,0:SOCKET OUT: MMIO ACK
afu0.0,0:MMIO: Return
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x01
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x02
afu0.0,0:CMD: New tag=0x03 code=0x0a00
afu0.0,0:CMD: New tag=0x04 code=0x0a00
afu0.0,0:SOCKET IN: READ32
afu0.0,0:MMIO: Added Read32 Address=0x003c00
afu0.0,0:CMD: New tag=0x05 code=0x0a00
afu0.0:MMIO: Sent Read32 Address=0x803c00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x02
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x05
afu0.0,0:CMD: New tag=0x06 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x05
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x06
afu0.0,0:CMD: New tag=0x07 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x06
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x07
afu0.0,0:CMD: New tag=0x08 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x07
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x08
afu0.0,0:CMD: New tag=0x09 code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x08
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x09
afu0.0,0:CMD: New tag=0x0a code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x09
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x0a
afu0.0,0:CMD: New tag=0x0b code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x0a
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x0b
afu0.0,0:CMD: New tag=0x0c code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x0b
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x0c
afu0.0,0:CMD: New tag=0x0d code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x0c
afu0.0,0:SOCKET OUT: READ
afu0.0,0:CMD: Client Request tag=0x0d
afu0.0,0:CMD: New tag=0x0e code=0x0a00
afu0.0,0:SOCKET IN: MEM ACK
afu0.0,0:CMD: Client Return tag=0x0d

@ThomasFuchs
Copy link
Author

To recreate the failure:

  1. go to SNAP https://github.com/open-power/snap
  2. checkout the branch psl9_capi2.0
  3. make a model (make model)
  4. start simulation (make sim)
  5. type software/tools/snap_maint; actions/hdl_example/sw/snap_example -v -t 60 into the xterm that pops up
    ==> now you should have the log files

@helenaps
Copy link
Collaborator

helenaps commented Nov 9, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants