summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2017-10-24 18:51:35 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-10-25 15:21:04 +0300
commit3297ded1dd22882d3e164932ed710442e5bb72c5 (patch)
treec5ccc4c2bd0b28b15b5b5c31547ded4cda8d54f0 /tools/perf/scripts/python/call-graph-from-sql.py
parent9feaf9090bac3963d1b1afeba08179a0dda9c0f2 (diff)
downloadlinux-3297ded1dd22882d3e164932ed710442e5bb72c5.tar.xz
scsi: hisi_sas: fix SATA breakpoint memory size
Currently the size of memory we allocate for SATA breakpoint buffer is incorrect. The breakpoint memory size should be as follows: 32 (NCQ tags) * 128 * 2048 (max #devs) = 8MB Currently we only allocate 0.5MB, but get away with it as we never have SATA device index > 128 typically. To conserve precious DMA memory (8MB may not be even available), limit the number of devices per HBA to 1024, which means 4MB of memory required for SATA breakpoint. The 1024 device limit applied to all HW versions. For v3 hw, we need to configure this value. Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions