Nilesh Javali f8d6d25756 scsi: qedf: Fix firmware halt over suspend and resume
commit ef222f551e7c4e2008fc442ffc9edcd1a7fd8f63 upstream.

While performing certain power-off sequences, PCI drivers are called to
suspend and resume their underlying devices through PCI PM (power
management) interface. However the hardware does not support PCI PM
suspend/resume operations so system wide suspend/resume leads to bad MFW
(management firmware) state which causes various follow-up errors in driver
when communicating with the device/firmware.

To fix this driver implements PCI PM suspend handler to indicate
unsupported operation to the PCI subsystem explicitly, thus avoiding system
to go into suspended/standby mode.

Fixes: 61d8658b4a43 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.")
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20230807093725.46829-1-njavali@marvell.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-16 18:22:03 +02:00
..
2023-07-23 13:47:54 +02:00
2023-08-03 10:22:26 +02:00
2023-07-23 13:47:51 +02:00
2023-07-23 13:47:25 +02:00
2023-07-23 13:46:46 +02:00
2023-04-05 11:24:55 +02:00
2023-07-27 08:46:58 +02:00
2023-03-10 09:40:13 +01:00
2023-07-23 13:47:20 +02:00