scsi: qedi: Add support for handling PCIe errors
authorManish Rangankar <mrangankar@marvell.com>
Tue, 8 Sep 2020 09:56:57 +0000 (02:56 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 9 Sep 2020 02:40:25 +0000 (22:40 -0400)
commit96a766a789eb49d85c9a15eac9456fbddadb1158
treec789a4fa4fda9bb3ab3a258c8cbfbb67027b0697
parentf4ba4e55db6db7e85e847f1a5891efa792580809
scsi: qedi: Add support for handling PCIe errors

The error recovery is handled by management firmware (MFW) with the help of
qed/qedi drivers. Upon detecting errors, driver informs MFW about this
event which in turn starts a recovery process. MFW sends ERROR_RECOVERY
notification to the driver which performs the required cleanup/recovery
from the driver side.

Link: https://lore.kernel.org/r/20200908095657.26821-9-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_main.c