Skip to content

Commit 8727178

Browse files
bjking1gregkh
authored andcommitted
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c4c2a8f commit 8727178

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/scsi/ipr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10095,6 +10095,7 @@ static int ipr_probe_ioa(struct pci_dev *pdev,
1009510095
ioa_cfg->intr_flag = IPR_USE_MSI;
1009610096
else {
1009710097
ioa_cfg->intr_flag = IPR_USE_LSI;
10098+
ioa_cfg->clear_isr = 1;
1009810099
ioa_cfg->nvectors = 1;
1009910100
dev_info(&pdev->dev, "Cannot enable MSI.\n");
1010010101
}

0 commit comments

Comments
 (0)