diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 62 |
1 files changed, 51 insertions, 11 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b32ebf92b0ce..5c0ed72c02a2 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -16,6 +16,7 @@ config X86_64 | |||
16 | def_bool y | 16 | def_bool y |
17 | depends on 64BIT | 17 | depends on 64BIT |
18 | select X86_DEV_DMA_OPS | 18 | select X86_DEV_DMA_OPS |
19 | select ARCH_USE_CMPXCHG_LOCKREF | ||
19 | 20 | ||
20 | ### Arch settings | 21 | ### Arch settings |
21 | config X86 | 22 | config X86 |
@@ -81,7 +82,6 @@ config X86 | |||
81 | select HAVE_USER_RETURN_NOTIFIER | 82 | select HAVE_USER_RETURN_NOTIFIER |
82 | select ARCH_BINFMT_ELF_RANDOMIZE_PIE | 83 | select ARCH_BINFMT_ELF_RANDOMIZE_PIE |
83 | select HAVE_ARCH_JUMP_LABEL | 84 | select HAVE_ARCH_JUMP_LABEL |
84 | select HAVE_TEXT_POKE_SMP | ||
85 | select HAVE_GENERIC_HARDIRQS | 85 | select HAVE_GENERIC_HARDIRQS |
86 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE | 86 | select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE |
87 | select SPARSE_IRQ | 87 | select SPARSE_IRQ |
@@ -632,6 +632,7 @@ config PARAVIRT_DEBUG | |||
632 | config PARAVIRT_SPINLOCKS | 632 | config PARAVIRT_SPINLOCKS |
633 | bool "Paravirtualization layer for spinlocks" | 633 | bool "Paravirtualization layer for spinlocks" |
634 | depends on PARAVIRT && SMP | 634 | depends on PARAVIRT && SMP |
635 | select UNINLINE_SPIN_UNLOCK | ||
635 | ---help--- | 636 | ---help--- |
636 | Paravirtualized spinlocks allow a pvops backend to replace the | 637 | Paravirtualized spinlocks allow a pvops backend to replace the |
637 | spinlock implementation with something virtualization-friendly | 638 | spinlock implementation with something virtualization-friendly |
@@ -656,6 +657,15 @@ config KVM_GUEST | |||
656 | underlying device model, the host provides the guest with | 657 | underlying device model, the host provides the guest with |
657 | timing infrastructure such as time of day, and system time | 658 | timing infrastructure such as time of day, and system time |
658 | 659 | ||
660 | config KVM_DEBUG_FS | ||
661 | bool "Enable debug information for KVM Guests in debugfs" | ||
662 | depends on KVM_GUEST && DEBUG_FS | ||
663 | default n | ||
664 | ---help--- | ||
665 | This option enables collection of various statistics for KVM guest. | ||
666 | Statistics are displayed in debugfs filesystem. Enabling this option | ||
667 | may incur significant overhead. | ||
668 | |||
659 | source "arch/x86/lguest/Kconfig" | 669 | source "arch/x86/lguest/Kconfig" |
660 | 670 | ||
661 | config PARAVIRT_TIME_ACCOUNTING | 671 | config PARAVIRT_TIME_ACCOUNTING |
@@ -1344,8 +1354,12 @@ config ARCH_SELECT_MEMORY_MODEL | |||
1344 | depends on ARCH_SPARSEMEM_ENABLE | 1354 | depends on ARCH_SPARSEMEM_ENABLE |
1345 | 1355 | ||
1346 | config ARCH_MEMORY_PROBE | 1356 | config ARCH_MEMORY_PROBE |
1347 | def_bool y | 1357 | bool "Enable sysfs memory/probe interface" |
1348 | depends on X86_64 && MEMORY_HOTPLUG | 1358 | depends on X86_64 && MEMORY_HOTPLUG |
1359 | help | ||
1360 | This option enables a sysfs memory/probe interface for testing. | ||
1361 | See Documentation/memory-hotplug.txt for more information. | ||
1362 | If you are unsure how to answer this question, answer N. | ||
1349 | 1363 | ||
1350 | config ARCH_PROC_KCORE_TEXT | 1364 | config ARCH_PROC_KCORE_TEXT |
1351 | def_bool y | 1365 | def_bool y |
@@ -1627,9 +1641,9 @@ config KEXEC | |||
1627 | 1641 | ||
1628 | It is an ongoing process to be certain the hardware in a machine | 1642 | It is an ongoing process to be certain the hardware in a machine |
1629 | is properly shutdown, so do not be surprised if this code does not | 1643 | is properly shutdown, so do not be surprised if this code does not |
1630 | initially work for you. It may help to enable device hotplugging | 1644 | initially work for you. As of this writing the exact hardware |
1631 | support. As of this writing the exact hardware interface is | 1645 | interface is strongly in flux, so no good recommendation can be |
1632 | strongly in flux, so no good recommendation can be made. | 1646 | made. |
1633 | 1647 | ||
1634 | config CRASH_DUMP | 1648 | config CRASH_DUMP |
1635 | bool "kernel crash dumps" | 1649 | bool "kernel crash dumps" |
@@ -1716,9 +1730,10 @@ config X86_NEED_RELOCS | |||
1716 | depends on X86_32 && RELOCATABLE | 1730 | depends on X86_32 && RELOCATABLE |
1717 | 1731 | ||
1718 | config PHYSICAL_ALIGN | 1732 | config PHYSICAL_ALIGN |
1719 | hex "Alignment value to which kernel should be aligned" if X86_32 | 1733 | hex "Alignment value to which kernel should be aligned" |
1720 | default "0x1000000" | 1734 | default "0x1000000" |
1721 | range 0x2000 0x1000000 | 1735 | range 0x2000 0x1000000 if X86_32 |
1736 | range 0x200000 0x1000000 if X86_64 | ||
1722 | ---help--- | 1737 | ---help--- |
1723 | This value puts the alignment restrictions on physical address | 1738 | This value puts the alignment restrictions on physical address |
1724 | where kernel is loaded and run from. Kernel is compiled for an | 1739 | where kernel is loaded and run from. Kernel is compiled for an |
@@ -1736,6 +1751,9 @@ config PHYSICAL_ALIGN | |||
1736 | end result is that kernel runs from a physical address meeting | 1751 | end result is that kernel runs from a physical address meeting |
1737 | above alignment restrictions. | 1752 | above alignment restrictions. |
1738 | 1753 | ||
1754 | On 32-bit this value must be a multiple of 0x2000. On 64-bit | ||
1755 | this value must be a multiple of 0x200000. | ||
1756 | |||
1739 | Don't change this unless you know what you are doing. | 1757 | Don't change this unless you know what you are doing. |
1740 | 1758 | ||
1741 | config HOTPLUG_CPU | 1759 | config HOTPLUG_CPU |
@@ -2270,6 +2288,32 @@ config RAPIDIO | |||
2270 | 2288 | ||
2271 | source "drivers/rapidio/Kconfig" | 2289 | source "drivers/rapidio/Kconfig" |
2272 | 2290 | ||
2291 | config X86_SYSFB | ||
2292 | bool "Mark VGA/VBE/EFI FB as generic system framebuffer" | ||
2293 | help | ||
2294 | Firmwares often provide initial graphics framebuffers so the BIOS, | ||
2295 | bootloader or kernel can show basic video-output during boot for | ||
2296 | user-guidance and debugging. Historically, x86 used the VESA BIOS | ||
2297 | Extensions and EFI-framebuffers for this, which are mostly limited | ||
2298 | to x86. | ||
2299 | This option, if enabled, marks VGA/VBE/EFI framebuffers as generic | ||
2300 | framebuffers so the new generic system-framebuffer drivers can be | ||
2301 | used on x86. If the framebuffer is not compatible with the generic | ||
2302 | modes, it is adverticed as fallback platform framebuffer so legacy | ||
2303 | drivers like efifb, vesafb and uvesafb can pick it up. | ||
2304 | If this option is not selected, all system framebuffers are always | ||
2305 | marked as fallback platform framebuffers as usual. | ||
2306 | |||
2307 | Note: Legacy fbdev drivers, including vesafb, efifb, uvesafb, will | ||
2308 | not be able to pick up generic system framebuffers if this option | ||
2309 | is selected. You are highly encouraged to enable simplefb as | ||
2310 | replacement if you select this option. simplefb can correctly deal | ||
2311 | with generic system framebuffers. But you should still keep vesafb | ||
2312 | and others enabled as fallback if a system framebuffer is | ||
2313 | incompatible with simplefb. | ||
2314 | |||
2315 | If unsure, say Y. | ||
2316 | |||
2273 | endmenu | 2317 | endmenu |
2274 | 2318 | ||
2275 | 2319 | ||
@@ -2332,10 +2376,6 @@ config HAVE_ATOMIC_IOMAP | |||
2332 | def_bool y | 2376 | def_bool y |
2333 | depends on X86_32 | 2377 | depends on X86_32 |
2334 | 2378 | ||
2335 | config HAVE_TEXT_POKE_SMP | ||
2336 | bool | ||
2337 | select STOP_MACHINE if SMP | ||
2338 | |||
2339 | config X86_DEV_DMA_OPS | 2379 | config X86_DEV_DMA_OPS |
2340 | bool | 2380 | bool |
2341 | depends on X86_64 || STA2X11 | 2381 | depends on X86_64 || STA2X11 |