Thread (43 messages) flat view 43 messages, 2 authors, 2016-08-19
STALE3685d REVIEWED: 2 (2M)

1 review trailer.

[patch added to 3.12-stable] ipr: Clear interrupt on croc/crocodile when running with LSI

From: Jiri Slaby <hidden>
Date: 2016-08-18 12:49:59
Subsystem: ibm power linux raid adapter, scsi subsystem, the rest · Maintainers: Brian King, "James E.J. Bottomley", "Martin K. Petersen", Linus Torvalds

From: Brian King <redacted>

This patch has been added to the 3.12 stable tree. If you have any
objections, please let us know.

===============

commit 54e430bbd490e18ab116afa4cd90dcc45787b3df upstream.

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.

Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Brian King <redacted>
Signed-off-by: Martin K. Petersen <redacted>
Signed-off-by: Jiri Slaby <redacted>
---
 drivers/scsi/ipr.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index d4473d2f8739..676c03e63cae 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -9644,6 +9644,7 @@ static int ipr_probe_ioa(struct pci_dev *pdev,
 		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");
 	}
-- 
2.9.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help