[tip:x86/platform] x86: Align x86_64 PCI_MMCONFIG with 32-bit variant

From: tip-bot for Jan Kiszka
Date: Thu Mar 08 2018 - 06:35:49 EST


Commit-ID: 55027a7772b1a9c36fb9731fc6c847b6a59c5bef
Gitweb: https://git.kernel.org/tip/55027a7772b1a9c36fb9731fc6c847b6a59c5bef
Author: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
AuthorDate: Wed, 7 Mar 2018 08:39:15 +0100
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Thu, 8 Mar 2018 12:30:38 +0100

x86: Align x86_64 PCI_MMCONFIG with 32-bit variant

Allow to enable PCI_MMCONFIG when only SFI is present and make this option
default on. This will help consolidating both into one Kconfig statement.

Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: jailhouse-dev@xxxxxxxxxxxxxxxx
Cc: linux-pci@xxxxxxxxxxxxxxx
Cc: virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
Link: https://lkml.kernel.org/r/a2faf78c54f340f5549149e8b679c95950dae83d.1520408357.git.jan.kiszka@xxxxxxxxxxx

---
arch/x86/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index c1236b187824..6bd763640925 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2658,7 +2658,8 @@ config PCI_DOMAINS

config PCI_MMCONFIG
bool "Support mmconfig PCI config space access"
- depends on X86_64 && PCI && ACPI
+ default y
+ depends on X86_64 && PCI && (ACPI || SFI)

config PCI_CNB20LE_QUIRK
bool "Read CNB20LE Host Bridge Windows" if EXPERT