aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorXiang Chen <[email protected]>2017-03-23 01:25:31 +0800
committerMartin K. Petersen <[email protected]>2017-03-23 11:12:02 -0400
commit634a9585f49c7c92d6416128a18ea134eb9ac381 (patch)
treeb786b65dd3d40d0c4bf4c2c2a28adbb4cc91dc48 /tools/perf/scripts/python/stackcollapse.py
parent6fcdda805114f9ff588c08cefe6758b62bfcb9fc (diff)
scsi: hisi_sas: process error codes according to their priority
There are some rules to decide which error code has the high priority when errors happen together: (1) Error phase of CQ decides the error happens on RX or TX; (2) For TX error, when DMA/TRANS TX error happen simultaneously, the priority of DMA TX error is higher than TRANS TX error, so for the priority of TX error: DW2 (DMA TX part) > DW0; (3) For RX error, when TRANS/DMA/SIPC RX error happen simultaneously, the priority of TRANS RX error is higher than DMA and SIPC RX error, and we should also keep the rules (the priority of DW3 > DW2), so for the priority of RX error: DW1 > DW3 > DW2(SIPC RX part); (4) There are also a priority we should keep in the same error type. So, modify slot error code to handle this. In addition to this, some some error codes are modified according to recommendation from SoC designer. Signed-off-by: Xiang Chen <[email protected]> Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions