linux/drivers/scsi/hisi_sas
Xiang Chen 0757f041b1 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>
2017-01-20 19:10:42 -05:00
..
hisi_sas_main.c scsi: hisi_sas: fix probe ordering problem 2017-01-20 19:10:42 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: lock sensitive regions when servicing CQ interrupt 2017-01-05 18:24:11 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: fix probe ordering problem 2017-01-20 19:10:42 -05:00
hisi_sas.h scsi: hisi_sas: service v2 hw CQ ISR with tasklet 2017-01-05 18:24:11 -05:00
Kconfig hisi_sas: add dependency for HAS_IOMEM 2016-01-26 21:17:59 -05:00
Makefile hisi_sas: add bare v2 hw driver 2016-02-23 21:27:02 -05:00