Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Michael Ellerman and committed by
Benjamin Herrenschmidt
6eb0ac03 5805977e

+14
+14
arch/powerpc/platforms/maple/pci.c
··· 592 592 } 593 593 return irq; 594 594 } 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);