All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ipr: Clear interrupt on croc/crocodile when running with LSI
@ 2016-06-27 14:09 Brian King
  2016-06-29  4:48 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Brian King @ 2016-06-27 14:09 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, wenxiong, brking, stable, benh


If we fall back to using LSI on the Croc or Crocodile chip we need
to clear the interrupt so we don't hang the system.

Cc: stable<stable@vger.kernel.org>
Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
---

 drivers/scsi/ipr.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/scsi/ipr.c~ipr_clear_isr drivers/scsi/ipr.c
--- linux-2.6.git/drivers/scsi/ipr.c~ipr_clear_isr	2016-06-24 17:37:24.265197867 -0500
+++ linux-2.6.git-bjking1/drivers/scsi/ipr.c	2016-06-24 17:38:39.640943642 -0500
@@ -10097,6 +10097,7 @@ static int ipr_probe_ioa(struct pci_dev
 		ioa_cfg->intr_flag = IPR_USE_MSI;
 	else {
 		ioa_cfg->intr_flag = IPR_USE_LSI;
+		ioa_cfg->clear_isr = 1;
 		ioa_cfg->nvectors = 1;
 		dev_info(&pdev->dev, "Cannot enable MSI.\n");
 	}
_


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

* Re: [PATCH 1/1] ipr: Clear interrupt on croc/crocodile when running with LSI
  2016-06-27 14:09 [PATCH 1/1] ipr: Clear interrupt on croc/crocodile when running with LSI Brian King
@ 2016-06-29  4:48 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2016-06-29  4:48 UTC (permalink / raw)
  To: Brian King; +Cc: James.Bottomley, linux-scsi, wenxiong, stable, benh

>>>>> "Brian" == Brian King <brking@linux.vnet.ibm.com> writes:

Brian> If we fall back to using LSI on the Croc or Crocodile chip we
Brian> need to clear the interrupt so we don't hang the system.

Applied to 4.7/scsi-fixes.

-- 
Martin K. Petersen	Oracle Linux Engineering

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

end of thread, other threads:[~2016-06-29  4:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-27 14:09 [PATCH 1/1] ipr: Clear interrupt on croc/crocodile when running with LSI Brian King
2016-06-29  4:48 ` Martin K. Petersen

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.