aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2018-03-07 02:39:16 -0500
committerThomas Gleixner <tglx@linutronix.de>2018-03-08 06:30:38 -0500
commitb45c9f3656b691ab7324c7eaefb3416bea0326d8 (patch)
treebc5c572ec24fe5ebc37d01ca1257b572c6d93f4b
parent55027a7772b1a9c36fb9731fc6c847b6a59c5bef (diff)
x86: Consolidate PCI_MMCONFIG configs
Since e279b6c1d329 ("x86: start unification of arch/x86/Kconfig.*"), there exist two PCI_MMCONFIG entries, one from the original i386 and another from x86_64. Consolidate both entries into a single one. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: jailhouse-dev@googlegroups.com Cc: linux-pci@vger.kernel.org Cc: virtualization@lists.linux-foundation.org Cc: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Bjorn Helgaas <bhelgaas@google.com> Link: https://lkml.kernel.org/r/2a0ccd51ea6f7996e07162918228e23bdc1fbb03.1520408357.git.jan.kiszka@siemens.com
-rw-r--r--arch/x86/Kconfig11
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 6bd763640925..573b7c49d9f8 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2640,8 +2640,10 @@ config PCI_DIRECT
2640 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC || PCI_GOMMCONFIG)) 2640 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC || PCI_GOMMCONFIG))
2641 2641
2642config PCI_MMCONFIG 2642config PCI_MMCONFIG
2643 def_bool y 2643 bool "Support mmconfig PCI config space access" if X86_64
2644 depends on X86_32 && PCI && (ACPI || SFI) && (PCI_GOMMCONFIG || PCI_GOANY) 2644 default y
2645 depends on PCI && (ACPI || SFI)
2646 depends on X86_64 || (PCI_GOANY || PCI_GOMMCONFIG)
2645 2647
2646config PCI_OLPC 2648config PCI_OLPC
2647 def_bool y 2649 def_bool y
@@ -2656,11 +2658,6 @@ config PCI_DOMAINS
2656 def_bool y 2658 def_bool y
2657 depends on PCI 2659 depends on PCI
2658 2660
2659config PCI_MMCONFIG
2660 bool "Support mmconfig PCI config space access"
2661 default y
2662 depends on X86_64 && PCI && (ACPI || SFI)
2663
2664config PCI_CNB20LE_QUIRK 2661config PCI_CNB20LE_QUIRK
2665 bool "Read CNB20LE Host Bridge Windows" if EXPERT 2662 bool "Read CNB20LE Host Bridge Windows" if EXPERT
2666 depends on PCI 2663 depends on PCI