]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
x86/Kconfig: Document CONFIG_PCI_MMCONFIG
authorMateusz Jończyk <mat.jonczyk@o2.pl>
Fri, 21 Mar 2025 20:48:47 +0000 (21:48 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 22 Mar 2025 07:08:20 +0000 (08:08 +0100)
This configuration option had no help text, so add it.

CONFIG_EXPERT is enabled on some distribution kernels, so people using a
distribution kernel's configuration as a starting point will see this
option.

[ mingo: Standardized the new Kconfig text a bit. ]

Signed-off-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Signed-off-by: David Heideberg <david@ixit.cz>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250321-x86_x2apic-v3-5-b0cbaa6fa338@ixit.cz
arch/x86/Kconfig

index 917cd2f839f5b05de68036e889851334b677c7ac..a079ecf15c7198afce2a9ccef5f5b0449886dde8 100644 (file)
@@ -2902,6 +2902,19 @@ config PCI_MMCONFIG
        default y
        depends on PCI && (ACPI || JAILHOUSE_GUEST)
        depends on X86_64 || (PCI_GOANY || PCI_GOMMCONFIG)
+       help
+         Add support for accessing the PCI configuration space as a memory
+         mapped area. It is the recommended method if the system supports
+         this (it must have PCI Express and ACPI for it to be available).
+
+         In the unlikely case that enabling this configuration option causes
+         problems, the mechanism can be switched off with the 'pci=nommconf'
+         command line parameter.
+
+         Say N only if you are sure that your platform does not support this
+         access method or you have problems caused by it.
+
+         Say Y otherwise.
 
 config PCI_OLPC
        def_bool y