]> git.baikalelectronics.ru Git - kernel.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)
commit7f94cc0999979fff95019e610a170cd178025fb9
tree51e45d819c18a09bd4bf0b97670b8fb1d1825f08
parent4e57d55f1d5eb8a6550ea9b66defaa5c02e701bf
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