]> git.baikalelectronics.ru Git - kernel.git/commit
x86/PCI: select direct access mode for mmconfig option
authorShaohua Li <shaohua.li@intel.com>
Fri, 27 May 2011 06:59:39 +0000 (14:59 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 22 Jul 2011 15:25:36 +0000 (08:25 -0700)
commite02d5119a2b118f68becf8b8f18cec66d37ed0a6
treea4d09af72fc69641c9018690f94a1eb532c0075a
parent1792423c773b814ffe94216d8e3e3b6628fac543
x86/PCI: select direct access mode for mmconfig option

Direct access is needed in mmconf mode too. There are two reasons:
1. we need it to access first 256 bytes. We have bug before that
   using mmconf to access pci config space hangs system (when
   resizing BARs), so we use type1 config for legacy config space.
2. when doing mmconfg bar checking, we need access ACPI _CRS,
   which might access PCI config space.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/Kconfig