Commit a3e87802 authored by Brian King's avatar Brian King Committed by Greg Kroah-Hartman

ipr: Clear interrupt on croc/crocodile when running with LSI

commit 54e430bb 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: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarBrian King <brking@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aaf95b87
...@@ -9644,6 +9644,7 @@ static int ipr_probe_ioa(struct pci_dev *pdev, ...@@ -9644,6 +9644,7 @@ static int ipr_probe_ioa(struct pci_dev *pdev,
ioa_cfg->intr_flag = IPR_USE_MSI; ioa_cfg->intr_flag = IPR_USE_MSI;
else { else {
ioa_cfg->intr_flag = IPR_USE_LSI; ioa_cfg->intr_flag = IPR_USE_LSI;
ioa_cfg->clear_isr = 1;
ioa_cfg->nvectors = 1; ioa_cfg->nvectors = 1;
dev_info(&pdev->dev, "Cannot enable MSI.\n"); dev_info(&pdev->dev, "Cannot enable MSI.\n");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment