linux_old1/drivers/scsi/hisi_sas
John Garry 26f3ba9600 scsi: hisi_sas: support deferred probe for v2 hw
In the hip06 and hip07 SoCs, the interrupt lines from the SAS
controllers are connected to mbigen hw module [1].  The mbigen module is
probed with module_init, and, as such, is not guaranteed to probe before
the SAS driver. So we need to support deferred probe.

We check for probe deferral in the hw layer probe, so we not probe into
the main layer and allocate shost, memories, etc., to later learn that
we need to defer the probe.

[1] ./Documentation/devicetree/bindings/interrupt-controller/hisilicon,mbigen-v2.txt

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-12-07 18:55:58 -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
hisi_sas.h scsi: hisi_sas: add PHY set linkrate support for v1 and v2 hw 2016-11-25 09:54:40 -05:00
hisi_sas_main.c scsi: hisi_sas: fix free'ing in probe and remove 2016-12-05 16:54:12 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: add PHY set linkrate support for v1 and v2 hw 2016-11-25 09:54:40 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: support deferred probe for v2 hw 2016-12-07 18:55:58 -05:00