public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX
@ 2010-02-03  3:48 giridhar.malavali
  2010-02-03  3:48 ` [PATCH 1/1] qla2xxx: Obtain proper host structure during response-queue processing giridhar.malavali
  2010-02-12 20:26 ` [stable] [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX Greg KH
  0 siblings, 2 replies; 5+ messages in thread
From: giridhar.malavali @ 2010-02-03  3:48 UTC (permalink / raw)
  To: James.Bottomley; +Cc: giridhar.malavali, andrew.vasquez, linux-scsi, stable

From: Giridhar Malavali <giridhar.malavali@qlogic.com>

James,

Can you please apply this patch. This is a critical fix which can cause
panic issues (found on PPC). This needs to be back ported to stable kernel.

Andrew Vasquez (1):
  qla2xxx: Obtain proper host structure during response-queue
    processing.

 drivers/scsi/qla2xxx/qla_isr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] qla2xxx: Obtain proper host structure during response-queue processing.
  2010-02-03  3:48 [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX giridhar.malavali
@ 2010-02-03  3:48 ` giridhar.malavali
  2010-02-12 20:26 ` [stable] [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX Greg KH
  1 sibling, 0 replies; 5+ messages in thread
From: giridhar.malavali @ 2010-02-03  3:48 UTC (permalink / raw)
  To: James.Bottomley; +Cc: giridhar.malavali, andrew.vasquez, linux-scsi, stable

From: Andrew Vasquez <andrew.vasquez@qlogic.com>

Original code incorrectly assumed only status-type-0
IOCBs would be queued to the response-queue, and thus all
entries would safely reference a VHA from the IOCB
'handle.'
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_isr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 09ba26b..154ce9e 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -2033,7 +2033,7 @@ qla24xx_msix_rsp_q(int irq, void *dev_id)
 
 	spin_lock_irq(&ha->hardware_lock);
 
-	vha = qla25xx_get_host(rsp);
+	vha = pci_get_drvdata(ha->pdev);
 	qla24xx_process_response_queue(vha, rsp);
 	if (!ha->flags.disable_msix_handshake) {
 		WRT_REG_DWORD(&reg->hccr, HCCRX_CLR_RISC_INT);
-- 
1.6.2.rc1.30.gd43c


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [stable] [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX
  2010-02-03  3:48 [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX giridhar.malavali
  2010-02-03  3:48 ` [PATCH 1/1] qla2xxx: Obtain proper host structure during response-queue processing giridhar.malavali
@ 2010-02-12 20:26 ` Greg KH
  2010-02-12 20:37   ` Giridhar Malavali
  1 sibling, 1 reply; 5+ messages in thread
From: Greg KH @ 2010-02-12 20:26 UTC (permalink / raw)
  To: giridhar.malavali; +Cc: James.Bottomley, stable, andrew.vasquez, linux-scsi

On Tue, Feb 02, 2010 at 07:48:32PM -0800, giridhar.malavali@qlogic.com wrote:
> From: Giridhar Malavali <giridhar.malavali@qlogic.com>
> 
> James,
> 
> Can you please apply this patch. This is a critical fix which can cause
> panic issues (found on PPC). This needs to be back ported to stable kernel.

This patch is now in Linus's tree, yet it does not apply to the
2.6.32-stable kernel.  Can you please send a version that does to the
stable@kernel.org address so that I can apply it?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [stable] [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX
  2010-02-12 20:26 ` [stable] [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX Greg KH
@ 2010-02-12 20:37   ` Giridhar Malavali
  0 siblings, 0 replies; 5+ messages in thread
From: Giridhar Malavali @ 2010-02-12 20:37 UTC (permalink / raw)
  To: Greg KH
  Cc: James.Bottomley@HansenPartnership.com, stable@kernel.org,
	Andrew Vasquez, linux-scsi@vger.kernel.org

Greg,

Sure. Will send the patch. 

Thanks,
Giridhar Malavali

On Feb 12, 2010, at 12:26 PM, Greg KH wrote:

> On Tue, Feb 02, 2010 at 07:48:32PM -0800, giridhar.malavali@qlogic.com wrote:
>> From: Giridhar Malavali <giridhar.malavali@qlogic.com>
>> 
>> James,
>> 
>> Can you please apply this patch. This is a critical fix which can cause
>> panic issues (found on PPC). This needs to be back ported to stable kernel.
> 
> This patch is now in Linus's tree, yet it does not apply to the
> 2.6.32-stable kernel.  Can you please send a version that does to the
> stable@kernel.org address so that I can apply it?
> 
> thanks,
> 
> greg k-h


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [stable] [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX
  2010-02-16  0:42 giridhar.malavali
@ 2010-03-09  0:15 ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2010-03-09  0:15 UTC (permalink / raw)
  To: giridhar.malavali; +Cc: stable, andrew.vasquez, linux-scsi

On Mon, Feb 15, 2010 at 04:42:08PM -0800, giridhar.malavali@qlogic.com wrote:
> From: Giridhar Malavali <giridhar.malavali@qlogic.com>
> 
> Hi Greg,
> 
> Please find the patch which applies fine with stable kernel 2.6.32-8.

Now applied, thanks for doing this.

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-09  0:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-03  3:48 [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX giridhar.malavali
2010-02-03  3:48 ` [PATCH 1/1] qla2xxx: Obtain proper host structure during response-queue processing giridhar.malavali
2010-02-12 20:26 ` [stable] [PATCH 0/1] qla2xxx: fix for 2.6.33-rcX Greg KH
2010-02-12 20:37   ` Giridhar Malavali
  -- strict thread matches above, loose matches on Subject: below --
2010-02-16  0:42 giridhar.malavali
2010-03-09  0:15 ` [stable] " Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox