]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
scsi: aacraid: Allow reset_host sysfs var to recover Panicked Fw
authorRaghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Wed, 27 Dec 2017 04:34:27 +0000 (20:34 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Jan 2018 04:26:41 +0000 (23:26 -0500)
commitd1471eb0faef9edd65cd44c1a3c1ff13c251fead
treea6b37dd966abf6799ce4d2c696d2b670f9688a02
parentf3a2327725b4f922dabb89e46ff66713cfa461c2
scsi: aacraid: Allow reset_host sysfs var to recover Panicked Fw

It is possible to restart the controller via the use of the reset_host
sysfs variable. This does work for controllers that can no longer respond,
since driver will attempt to send down a shutdown in this path.

Check if the controller is able to receive commands before sending down
a shutdown

Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aacraid/comminit.c