From: Alex Williamson Date: Mon, 9 Jun 2014 18:43:25 +0000 (-0600) Subject: PCI: Add bridge DMA alias quirk for ITE bridge X-Git-Tag: v3.16-rc1~29^2^3~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98ca50db1bb91822fc190d3ebec0f80c556c8cfb;p=platform%2Fkernel%2Flinux-exynos.git PCI: Add bridge DMA alias quirk for ITE bridge The ITE 8892 is a PCIe-to-PCI bridge but doesn't have a PCIe capability. Quirk it so we can figure out the DMA alias for devices below the bridge, so they work correctly with an IOMMU. [bhelgaas: add changelog] Link: https://bugzilla.kernel.org/show_bug.cgi?id=73551 Reported-by: Ronald Tested-by: Ronald Signed-off-by: Alex Williamson Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index ab620ac..533cd0d 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3407,6 +3407,8 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ASMEDIA, 0x1080, quirk_use_pcie_bridge_dma_alias); /* Tundra 8113, https://bugzilla.kernel.org/show_bug.cgi?id=44881#c43 */ DECLARE_PCI_FIXUP_HEADER(0x10e3, 0x8113, quirk_use_pcie_bridge_dma_alias); +/* ITE 8892, https://bugzilla.kernel.org/show_bug.cgi?id=73551 */ +DECLARE_PCI_FIXUP_HEADER(0x1283, 0x8892, quirk_use_pcie_bridge_dma_alias); static struct pci_dev *pci_func_0_dma_source(struct pci_dev *dev) {