diff options
author | Brian King <[email protected]> | 2016-06-27 09:09:40 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2016-06-29 00:47:18 -0400 |
commit | 54e430bbd490e18ab116afa4cd90dcc45787b3df (patch) | |
tree | acfd3ed2f7a8f2881929be17d82d8d3dd28a88e4 | |
parent | 8beb330044d0d1878c7b92290e91c0b889e92633 (diff) |
ipr: Clear interrupt on croc/crocodile when running with LSI
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: <[email protected]>
Tested-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Brian King <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r-- | drivers/scsi/ipr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index d6a691e27d33..d6803a9e5ab8 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@ -10093,6 +10093,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"); } |