Patch "scsi: aacraid: Fix hang in kdump" has been added to the 4.15-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
scsi: aacraid: Fix hang in kdump
to the 4.15-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
scsi-aacraid-fix-hang-in-kdump.patch
and it can be found in the queue-4.15 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
c5313ae8e4e037bfaf5e56cb8d6efdb8e92ce437Mon Sep 17 00:00:00 2001
From: Raghava Aditya Renukunta <[email protected]>
Date: Tue, 26 Dec 2017 20:34:24 -0800
Subject: scsi: aacraid: Fix hang in kdump
From: Raghava Aditya Renukunta <[email protected]>
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 fixed.
--- drivers/scsi/aacraid/aachba.c | 1 - drivers/scsi/aacraid/commsup.c | 9 +-------- 2 files changed, 1 insertion(+), 9 deletions(-)
drivers/scsi/aacraid/aachba.c +0 -1
@@ -918,7 +918,6 @@ static void setinqstr(struct aac_dev *dechar *cname =kmemdup (sup_adap_info->adapter_type_text,sizeof (sup_adap_info->adapter_type_text),GFP_ATOMIC ); -if (!cname)return ;
drivers/scsi/aacraid/commsup.c +1 -8
@@ -1643,14 +1643,7 @@ static int _aac_reset_adapter(struct aac out: aac->in_reset =0 ;scsi_unblock_requests (host); -/* -* 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) {spin_lock_irq (host->host_lock); }
Patches currently in stable-queue which might be from [email protected] are
queue-4.15/scsi-aacraid-fix-udev-inquiry-race-condition.patch queue-4.15/scsi-aacraid-fix-hang-in-kdump.patch