summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2017-01-20 15:45:23 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-01-21 03:10:42 +0300
commit0757f041b171d19cab9b6dac186a588ba0260055 (patch)
tree8e8c7d5f58317a90546b31513aa0474f182cbe56 /tools/perf/scripts/python/export-to-postgresql.py
parent297d73023ac559ea0cb4f1638fc8563b8c763c1e (diff)
downloadlinux-0757f041b171d19cab9b6dac186a588ba0260055.tar.xz
scsi: hisi_sas: fix probe ordering problem
There is a potential probe issue in how we trigger the hw initialisation. Although we use 1s timer to delay hw initialisation, there is still a potential that sas_register_ha() is not be finished before we start the PHY init from hw->hw_init(). To avoid this issue, initialise the hw after sas_register_ha() in the same probe context. Note: it is not necessary to use 1s timer now (modified v2 hw only). Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: John Garry <john.garry@huawei.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions