diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2016-06-27 09:09:40 -0500 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2016-08-19 09:50:59 +0200 |
commit | 8968041dfb2d82fda2ca3b5428f8ba00954273fb (patch) | |
tree | d272bf5a2d3d886f9339f694aff5cc3933cf8ac6 /drivers/scsi | |
parent | fbe339776f7ddb32e1ad315c70a27cb760e4b4a5 (diff) | |
download | lwn-8968041dfb2d82fda2ca3b5428f8ba00954273fb.tar.gz lwn-8968041dfb2d82fda2ca3b5428f8ba00954273fb.zip |
ipr: Clear interrupt on croc/crocodile when running with LSI
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 <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/scsi')
-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 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"); } |