summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorXiaofei Tan <tanxiaofei@huawei.com>2017-12-09 01:16:35 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2017-12-14 21:25:02 -0500
commita669bdbf4939ac72eff6b3ae33f771a1ef28448c (patch)
tree99a5a87347227f9dea03016b0f181d80b72fcfa7 /tools/perf/scripts/python/event_analyzing_sample.py
parent0258141aaab3007949ba0e67c3d28436354429bb (diff)
downloadlinux-a669bdbf4939ac72eff6b3ae33f771a1ef28448c.tar.gz
linux-a669bdbf4939ac72eff6b3ae33f771a1ef28448c.zip
scsi: hisi_sas: optimise port id refresh function
Currently refreshing the PHY port id after reset is done in the rescan topology function, which is quite late in the reset process. It could be moved earlier in the process, as the port id can be refreshed once the PHYs become ready. In addition to this, we should set the hisi_sas_dev port id to 0xff (invalid port id) if all PHYs of this port remain down for the same device. Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions