diff options
author | Kevin Barnett <kevin.barnett@microsemi.com> | 2017-08-10 13:47:03 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-10 19:58:26 -0400 |
commit | b6d478119edeaca964b46796fd26893b81f8a561 (patch) | |
tree | 07a44042a09e12bf30bbd8bf8f70db1fd535c105 /drivers/scsi/aha1740.c | |
parent | 4f078e24080626764896055d857719cd886e6321 (diff) |
scsi: smartpqi: update kexec and power down support
Add PQI reset to driver shutdown callback to work around controller bug.
During an 1.) OS shutdown or 2.) kexec outside of a kdump, the Linux
kernel will clear BME on our controller.
If BME is cleared during a controller/host PCIe transfer, the controller
will lock up.
So we perform a PQI reset in the driver's shutdown callback function to
eliminate the possibility of a controller/host PCIe transfer being
active when the kernel clears BME immediately after calling the driver's
shutdown callback.
Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aha1740.c')
0 files changed, 0 insertions, 0 deletions