]> git.openfabrics.org - ~emulex/infiniband.git/commit
x86/pci/mrst: Use configuration mechanism 1 for 00:00.0, 00:02.0, 00:03.0
authorBin Gao <bin.gao@linux.intel.com>
Tue, 30 Apr 2013 07:21:47 +0000 (00:21 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 30 Apr 2013 16:55:39 +0000 (09:55 -0700)
commitdd72be99d11dbf738d910a38479ce414a51eb21e
tree51e45d819c18a09bd4bf0b97670b8fb1d1825f08
parente5f66eafe5a4c678965a2138b92b645c2c0c4d10
x86/pci/mrst: Use configuration mechanism 1 for 00:00.0, 00:02.0, 00:03.0

For real PCI devices 00:00.0, 00:02.0 and 00:03.0, there is either no
PCI shim, or no guarantee of data correctness of offset 256-4k.  So for
whatever reason, Linux kernel should not do MMCFG PCI config access to
those devices.  Instead, always use configuration mechanism 1 for those
devices.

The 00:00.0, 00:02.0 and 00:03.0 devices are built-in single-function
devices and are not PCI-PCI bridges, so this set of devices should be
complete.

Signed-off-by: Bin Gao <bin.gao@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/mrst.c