]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: smartpqi: add ofa support
authorMahesh Rajashekhara <mahesh.rajashekhara@microsemi.com>
Tue, 18 Dec 2018 23:39:07 +0000 (17:39 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 20 Dec 2018 03:27:52 +0000 (22:27 -0500)
commit4fd22c13ad4409ee44a121b54855bb48d2afd58a
tree12654a739003b43b0bd59400eea1d852cbd59b41
parent65111785acccb836ec75263b03b0e33f21e74f47
scsi: smartpqi: add ofa support

- when OFA event occurs, driver will stop traffic to RAID/HBA path. Driver
  waits for all the outstanding requests to complete.
- Driver sends OFA event acknowledgment to firmware.
- Driver will wait until the new firmware is up and running.
- Driver will free up the resources.
- Driver calls SIS/PQI initialization and rescans the device list.
- Driver will resume the traffic to RAID/HBA path.

Reviewed-by: Murthy Bhat <murthy.bhat@microsemi.com>
Signed-off-by: Mahesh Rajashekhara <mahesh.rajashekhara@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi.h
drivers/scsi/smartpqi/smartpqi_init.c
drivers/scsi/smartpqi/smartpqi_sis.c
drivers/scsi/smartpqi/smartpqi_sis.h