4.15-stable review patch.  If anyone has any objections, please let me know.


From: Raghava Aditya Renukunta <raghavaaditya.renuku...@microsemi.com>

commit c5313ae8e4e037bfaf5e56cb8d6efdb8e92ce437 upstream.

Driver attempts to perform a device scan and device add after coming out
of reset. At times when the kdump kernel loads and it tries to perform
eh recovery, the device scan hangs since its commands are blocked because
of the eh recovery. This should have shown up in normal eh recovery path
(Should have been obvious)

Remove the code that performs scanning.I can live without the rescanning
support in the stable kernels but a hanging kdump/eh recovery needs to be

Fixes: a2d0321dd532901e (scsi: aacraid: Reload offlined drives after controller 
Reported-by: Douglas Miller <dougm...@linux.vnet.ibm.com>
Tested-by: Guilherme G. Piccoli <gpicc...@linux.vnet.ibm.com>
Fixes: a2d0321dd532901e (scsi: aacraid: Reload offlined drives after controller 
Signed-off-by: Raghava Aditya Renukunta <raghavaaditya.renuku...@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.peter...@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

 drivers/scsi/aacraid/aachba.c  |    1 -
 drivers/scsi/aacraid/commsup.c |    9 +--------
 2 files changed, 1 insertion(+), 9 deletions(-)

--- a/drivers/scsi/aacraid/aachba.c
+++ b/drivers/scsi/aacraid/aachba.c
@@ -918,7 +918,6 @@ static void setinqstr(struct aac_dev *de
                char *cname = kmemdup(sup_adap_info->adapter_type_text,
                if (!cname)
--- a/drivers/scsi/aacraid/commsup.c
+++ b/drivers/scsi/aacraid/commsup.c
@@ -1643,14 +1643,7 @@ static int _aac_reset_adapter(struct aac
        aac->in_reset = 0;
-       /*
-        * Issue bus rescan to catch any configuration that might have
-        * occurred
-        */
-       if (!retval) {
-               dev_info(&aac->pdev->dev, "Issuing bus rescan\n");
-               scsi_scan_host(host);
-       }
        if (jafo) {

Reply via email to