aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXiaofei Tan <[email protected]>2018-03-24 00:05:13 +0800
committerMartin K. Petersen <[email protected]>2018-04-18 19:32:51 -0400
commit327f242fa806c199a183c2197592e94d336c8266 (patch)
treea13a113842286021dee72db6304b3ad895ad48bc /tools/perf/scripts/python
parent3ff0f0b657eb414c1f8f1f22b91d52b892d8a850 (diff)
scsi: hisi_sas: check IPTT is valid before using it for v3 hw
There is a bug of v3 hw development version. When AXI error happen, hw may return an abnormal CQ that IPTT value is 0xffff. This will cause IPTT out-of-bounds reference. This patch adds a check of IPTT in cq_tasklet_v3_hw() and discards invalid slot. This workaround scheme is just to enhance fault-tolerance of the driver. So, we will apply this scheme for all version of v3 hw, although release version has fixed this SoC bug. Signed-off-by: Xiaofei Tan <[email protected]> Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions