Message ID | 20160627140941.BC090AE04B@b01ledav005.gho.pok.ibm.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
>>>>> "Brian" == Brian King <brking@linux.vnet.ibm.com> writes:
Brian> If we fall back to using LSI on the Croc or Crocodile chip we
Brian> need to clear the interrupt so we don't hang the system.
Applied to 4.7/scsi-fixes.
diff -puN drivers/scsi/ipr.c~ipr_clear_isr drivers/scsi/ipr.c --- linux-2.6.git/drivers/scsi/ipr.c~ipr_clear_isr 2016-06-24 17:37:24.265197867 -0500 +++ linux-2.6.git-bjking1/drivers/scsi/ipr.c 2016-06-24 17:38:39.640943642 -0500 @@ -10097,6 +10097,7 @@ static int ipr_probe_ioa(struct pci_dev 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"); }