aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2011-05-27 02:59:39 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-07-22 11:25:36 -0400
commit0aba496fc820d7c36775f2fd0ef81994e1af67a8 (patch)
treea4d09af72fc69641c9018690f94a1eb532c0075a /arch/x86
parentefe6d7272b1bdb3989322a6f3f9ed063a40c6beb (diff)
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>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index da349723d41..5b3e6ec4703 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1905,7 +1905,7 @@ config PCI_BIOS
1905# x86-64 doesn't support PCI BIOS access from long mode so always go direct. 1905# x86-64 doesn't support PCI BIOS access from long mode so always go direct.
1906config PCI_DIRECT 1906config PCI_DIRECT
1907 def_bool y 1907 def_bool y
1908 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC)) 1908 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC || PCI_GOMMCONFIG))
1909 1909
1910config PCI_MMCONFIG 1910config PCI_MMCONFIG
1911 def_bool y 1911 def_bool y