All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Wait for 15s on doorbell ACK before checking IOC READY state
@ 2010-07-13 17:04 Shyam Iyer
  0 siblings, 0 replies; only message in thread
From: Shyam Iyer @ 2010-07-13 17:04 UTC (permalink / raw)
  To: linux-scsi; +Cc: DL-MPTFusionLinux

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

Wait for 15 seconds for Doorbell ACK.

Not waiting 15s results in a few resets and kernel panics.

https://bugzilla.redhat.com/show_bug.cgi?id=594505

This is also logical since we wait for 15 seconds to compare if the 
state really changed.

Signed-off-by: Shyam Iyer<shyam_iyer@dell.com>


[-- Attachment #2: 0001-Wait-for-15s-on-doorbell-ACK-before-checking-IOC-REA.patch --]
[-- Type: text/plain, Size: 1217 bytes --]

>From a2cfe7cad6c22849d3561a5466760917c1d3b02a Mon Sep 17 00:00:00 2001
From: Shyam Iyer <shyam_iyer@dell.com>
Date: Thu, 8 Jul 2010 15:47:53 -0400
Subject: [PATCH] Wait for 15s on doorbell ACK before checking IOC READY state

Not waiting 15s results in a few resets and kernel panics.

https://bugzilla.redhat.com/show_bug.cgi?id=594505

This is also logical since we wait for 15 seconds to compare if the state really changed.

Signed-off-by: Shyam Iyer <shyam_iyer@dell.com>
---
 drivers/message/fusion/mptbase.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c
index a6a5701..e658a53 100644
--- a/drivers/message/fusion/mptbase.c
+++ b/drivers/message/fusion/mptbase.c
@@ -4208,7 +4208,7 @@ SendIocReset(MPT_ADAPTER *ioc, u8 reset_type, int sleepFlag)
 	drsprintk(ioc, printk(MYIOC_s_DEBUG_FMT "Sending IOC reset(0x%02x)!\n",
 			ioc->name, reset_type));
 	CHIPREG_WRITE32(&ioc->chip->Doorbell, reset_type<<MPI_DOORBELL_FUNCTION_SHIFT);
-	if ((r = WaitForDoorbellAck(ioc, 5, sleepFlag)) < 0)
+	if ((r = WaitForDoorbellAck(ioc, 15, sleepFlag)) < 0)
 		return r;
 
 	/* FW ACK'd request, wait for READY state
-- 
1.6.6.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-13 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-13 17:04 [PATCH] Wait for 15s on doorbell ACK before checking IOC READY state Shyam Iyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.