From: Alex Williamson Date: Thu, 22 May 2014 23:07:43 +0000 (-0600) Subject: PCI: Add support for DMA alias quirks X-Git-Tag: omap-for-v3.16/fixes-against-rc1~38^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31c2b8153c58f11ddb80dfd392c16f13c2d709c6;p=pandora-kernel.git PCI: Add support for DMA alias quirks Some devices are broken and use a requester ID other than their physical devfn. Add a byte, using an existing gap in the pci_dev structure, to store an alternate "alias" devfn. A bit in the dev_flags tells us when this is valid. We then add the alias as one more step in the pci_for_each_dma_alias() iterator. Tested-by: George Spelvin Tested-by: Pat Erley Signed-off-by: Alex Williamson Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed