scsi: qedi: Add schedule_hw_err_handler callback for fan failure
authorManish Rangankar <mrangankar@marvell.com>
Thu, 24 Sep 2020 07:03:38 +0000 (00:03 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 3 Oct 2020 01:24:15 +0000 (21:24 -0400)
commit7dc71ac8eb0bcaa76d69a3214d62a80b21c73f50
tree0ef49df937c1dafc9f7a8c6f0be59262593fcf09
parent61741d8699e1fc764a309ebd20211bb1cb193110
scsi: qedi: Add schedule_hw_err_handler callback for fan failure

On fan failure event from MFW, bring down active connections and unload
the firmware context.

Link: https://lore.kernel.org/r/20200924070338.8270-1-mrangankar@marvell.com
Signed-off-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qedi/qedi.h
drivers/scsi/qedi/qedi_main.c