diff options
author | John Garry <john.garry@huawei.com> | 2016-12-06 13:44:07 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-12-08 00:55:58 +0100 |
commit | 26f3ba9600e5d4437bb7299d2b01003b0d93e853 (patch) | |
tree | f8a94df29c35fe84d3a8f198a86517f24bd75e6c /arch | |
parent | scsi: megaraid_sas: switch to pci_alloc_irq_vectors (diff) | |
download | linux-26f3ba9600e5d4437bb7299d2b01003b0d93e853.tar.xz linux-26f3ba9600e5d4437bb7299d2b01003b0d93e853.zip |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions