mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
ipr: Clear interrupt on croc/crocodile when running with LSI
commit 54e430bbd4 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>
This commit is contained in:
parent
c4c2a8f5b7
commit
8727178338
|
|
@ -10095,6 +10095,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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user