Skip to content

Commit 6eb0ac0

Browse files
mpeozbenh
authored andcommitted
powerpc/maple: Add a quirk to disable MSI for IPR on Bimini
Something in the HW or FW setup is busted and MSIs aren't working with IPR on Bimini, so until we figure out exaxtly what's up, we quirk them out Signed-off-by: Michael Ellerman <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
1 parent 5805977 commit 6eb0ac0

File tree

1 file changed

+14
-0
lines changed
  • arch/powerpc/platforms/maple

1 file changed

+14
-0
lines changed

arch/powerpc/platforms/maple/pci.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,3 +592,17 @@ int maple_pci_get_legacy_ide_irq(struct pci_dev *pdev, int channel)
592592
}
593593
return irq;
594594
}
595+
596+
static void __devinit quirk_ipr_msi(struct pci_dev *dev)
597+
{
598+
/* Something prevents MSIs from the IPR from working on Bimini,
599+
* and the driver has no smarts to recover. So disable MSI
600+
* on it for now. */
601+
602+
if (machine_is(maple)) {
603+
dev->no_msi = 1;
604+
dev_info(&dev->dev, "Quirk disabled MSI\n");
605+
}
606+
}
607+
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN,
608+
quirk_ipr_msi);

0 commit comments

Comments
 (0)