diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2016-06-27 09:09:40 -0500 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2016-07-19 18:20:07 -0400 |
commit | 9f0a4f41de5d93907d09c6c18bc782d623b255ab (patch) | |
tree | d6019da2a0567716f02baeb9fd756399321d8aa5 /drivers/scsi/ipr.c | |
parent | 9d17157617df7e7d3888e4b9b98eb58410987fb2 (diff) | |
download | linux-stable-9f0a4f41de5d93907d09c6c18bc782d623b255ab.tar.gz linux-stable-9f0a4f41de5d93907d09c6c18bc782d623b255ab.tar.bz2 linux-stable-9f0a4f41de5d93907d09c6c18bc782d623b255ab.zip |
ipr: Clear interrupt on croc/crocodile when running with LSI
[ Upstream commit 54e430bbd490e18ab116afa4cd90dcc45787b3df ]
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@vger.kernel.org>
Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
-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 f2e1b92eb314..105adb4cf6a8 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@ -9759,6 +9759,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"); } |