]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb58e3ded286a3cd40322cd0179c95ed860c72cc
tree56df91477693c6098939afdce0a75e7c604ee732
parentca60d5f16b92ba17f53a6dcd0ec58f6058e56e2a
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