PCI: Add support for PCIe-to-PCI bridge DMA alias quirks
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 28 May 2014 20:57:02 +0000 (14:57 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 28 May 2014 21:52:52 +0000 (15:52 -0600)
commitc8fe16e3f96a9bb95a10cedb19d2be2d2d580940
tree56df91477693c6098939afdce0a75e7c604ee732
parentcc346a4714a59d08c118e8f33fd86692d3563133
PCI: Add support for PCIe-to-PCI bridge DMA alias quirks

Several PCIe-to-PCI bridges fail to provide a PCIe capability, causing us
to handle them as conventional PCI devices when they really use the
requester ID of the secondary bus.  We need to differentiate these from
PCIe-to-PCI bridges that actually use the conventional PCI ID when a PCIe
capability is not present, such as those found on the root complex of may
Intel chipsets.  Add a dev_flag bit to identify devices to be handled as
standard PCIe-to-PCI bridges.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/search.c
include/linux/pci.h