summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorThomas Gleixner2017-03-16 22:50:07 +0100
committerThomas Gleixner2017-06-28 22:32:56 +0200
commitdf65c1bcd9b7b639177a5a15da1b8dc3bee4f5fa (patch)
treecf57264f1343300b390569054fa8e6bb068babd7 /arch/x86/Kconfig
parentPCI: Provide Kconfig option for lockless config space accessors (diff)
downloadkernel-qcow2-linux-df65c1bcd9b7b639177a5a15da1b8dc3bee4f5fa.tar.gz
kernel-qcow2-linux-df65c1bcd9b7b639177a5a15da1b8dc3bee4f5fa.tar.xz
kernel-qcow2-linux-df65c1bcd9b7b639177a5a15da1b8dc3bee4f5fa.zip
x86/PCI: Select CONFIG_PCI_LOCKLESS_CONFIG
All x86 PCI configuration space accessors have either their own serialization or can operate completely lockless (ECAM). Disable the global lock in the generic PCI configuration space accessors. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Bjorn Helgaas <helgaas@kernel.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Borislav Petkov <bp@alien8.de> Cc: linux-pci@vger.kernel.org Link: http://lkml.kernel.org/r/20170316215057.295079391@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 0efb4c9497bc..0652c9f8902e 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -166,6 +166,7 @@ config X86
select HAVE_UNSTABLE_SCHED_CLOCK
select HAVE_USER_RETURN_NOTIFIER
select IRQ_FORCED_THREADING
+ select PCI_LOCKLESS_CONFIG
select PERF_EVENTS
select RTC_LIB
select RTC_MC146818_LIB