This is a note to let you know that I've just added the patch titled
[SCSI] mpt2sas: fix internal device reset for older firmware prior to MPI
Rev K
to the 2.6.36-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:
mpt2sas-fix-internal-device-reset-for-older-firmware-prior-to-mpi-rev-k.patch
and it can be found in the queue-2.6.36 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From efe82a16bc0f9f9e1fc8fa706eb0309fcd57770a Mon Sep 17 00:00:00 2001
From: Kashyap, Desai <[email protected]>
Date: Tue, 4 Jan 2011 11:34:17 +0530
Subject: [SCSI] mpt2sas: fix internal device reset for older firmware prior to
MPI Rev K
From: Kashyap, Desai <[email protected]>
commit efe82a16bc0f9f9e1fc8fa706eb0309fcd57770a upstream.
The "internal device reset complete" event is not supported
for older firmware prior to MPI Rev K We added
a check in the driver so the "internal device reset" event is
ignored for older firmware. When ignored, the tm_busy flag doesn't
get set nor cleared. Without this fix, IO queues would be froozen
indefinetly after the "internal device reset" event, as the "complete" event
never sent to clear the flag.
Signed-off-by: Kashyap Desai <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/scsi/mpt2sas/mpt2sas_scsih.c | 6 ++++++
1 file changed, 6 insertions(+)
--- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
@@ -4937,6 +4937,12 @@ _scsih_sas_device_status_change_event(st
event_data);
#endif
+ /* In MPI Revision K (0xC), the internal device reset complete was
+ * implemented, so avoid setting tm_busy flag for older firmware.
+ */
+ if ((ioc->facts.HeaderVersion >> 8) < 0xC)
+ return;
+
if (event_data->ReasonCode !=
MPI2_EVENT_SAS_DEV_STAT_RC_INTERNAL_DEVICE_RESET &&
event_data->ReasonCode !=
Patches currently in stable-queue which might be from [email protected] are
queue-2.6.36/mpt2sas-kernel-panic-during-large-topology-discovery.patch
queue-2.6.36/mpt2sas-fix-the-race-between-broadcast-asyn-event-and-scsi-command-completion.patch
queue-2.6.36/mpt2sas-correct-resizing-calculation-for-max_queue_depth.patch
queue-2.6.36/mpt2sas-add-missing-initialization-of-scsih_cmds.patch
queue-2.6.36/mpt2sas-fix-integrated-raid-unsynced-on-shutdown-problem.patch
queue-2.6.36/mpt2sas-fix-internal-device-reset-for-older-firmware-prior-to-mpi-rev-k.patch
queue-2.6.36/mpt2sas-fix-device-removal-handshake-for-zoned-devices.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable