diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 61 |
1 files changed, 51 insertions, 10 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 1137028fc6d9..97f8c5ad8c2d 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -71,8 +71,8 @@ config X86 | |||
71 | select HAVE_PERF_USER_STACK_DUMP | 71 | select HAVE_PERF_USER_STACK_DUMP |
72 | select HAVE_DEBUG_KMEMLEAK | 72 | select HAVE_DEBUG_KMEMLEAK |
73 | select ANON_INODES | 73 | select ANON_INODES |
74 | select HAVE_ALIGNED_STRUCT_PAGE if SLUB && !M386 | 74 | select HAVE_ALIGNED_STRUCT_PAGE if SLUB |
75 | select HAVE_CMPXCHG_LOCAL if !M386 | 75 | select HAVE_CMPXCHG_LOCAL |
76 | select HAVE_CMPXCHG_DOUBLE | 76 | select HAVE_CMPXCHG_DOUBLE |
77 | select HAVE_ARCH_KMEMCHECK | 77 | select HAVE_ARCH_KMEMCHECK |
78 | select HAVE_USER_RETURN_NOTIFIER | 78 | select HAVE_USER_RETURN_NOTIFIER |
@@ -108,12 +108,13 @@ config X86 | |||
108 | select KTIME_SCALAR if X86_32 | 108 | select KTIME_SCALAR if X86_32 |
109 | select GENERIC_STRNCPY_FROM_USER | 109 | select GENERIC_STRNCPY_FROM_USER |
110 | select GENERIC_STRNLEN_USER | 110 | select GENERIC_STRNLEN_USER |
111 | select HAVE_RCU_USER_QS if X86_64 | 111 | select HAVE_CONTEXT_TRACKING if X86_64 |
112 | select HAVE_IRQ_TIME_ACCOUNTING | 112 | select HAVE_IRQ_TIME_ACCOUNTING |
113 | select GENERIC_KERNEL_THREAD | 113 | select GENERIC_KERNEL_THREAD |
114 | select GENERIC_KERNEL_EXECVE | 114 | select GENERIC_KERNEL_EXECVE |
115 | select MODULES_USE_ELF_REL if X86_32 | 115 | select MODULES_USE_ELF_REL if X86_32 |
116 | select MODULES_USE_ELF_RELA if X86_64 | 116 | select MODULES_USE_ELF_RELA if X86_64 |
117 | select CLONE_BACKWARDS if X86_32 | ||
117 | 118 | ||
118 | config INSTRUCTION_DECODER | 119 | config INSTRUCTION_DECODER |
119 | def_bool y | 120 | def_bool y |
@@ -173,13 +174,8 @@ config ARCH_MAY_HAVE_PC_FDC | |||
173 | def_bool y | 174 | def_bool y |
174 | depends on ISA_DMA_API | 175 | depends on ISA_DMA_API |
175 | 176 | ||
176 | config RWSEM_GENERIC_SPINLOCK | ||
177 | def_bool y | ||
178 | depends on !X86_XADD | ||
179 | |||
180 | config RWSEM_XCHGADD_ALGORITHM | 177 | config RWSEM_XCHGADD_ALGORITHM |
181 | def_bool y | 178 | def_bool y |
182 | depends on X86_XADD | ||
183 | 179 | ||
184 | config GENERIC_CALIBRATE_DELAY | 180 | config GENERIC_CALIBRATE_DELAY |
185 | def_bool y | 181 | def_bool y |
@@ -312,7 +308,7 @@ config X86_X2APIC | |||
312 | If you don't know what to do here, say N. | 308 | If you don't know what to do here, say N. |
313 | 309 | ||
314 | config X86_MPPARSE | 310 | config X86_MPPARSE |
315 | bool "Enable MPS table" if ACPI | 311 | bool "Enable MPS table" if ACPI || SFI |
316 | default y | 312 | default y |
317 | depends on X86_LOCAL_APIC | 313 | depends on X86_LOCAL_APIC |
318 | ---help--- | 314 | ---help--- |
@@ -376,6 +372,7 @@ config X86_NUMACHIP | |||
376 | depends on NUMA | 372 | depends on NUMA |
377 | depends on SMP | 373 | depends on SMP |
378 | depends on X86_X2APIC | 374 | depends on X86_X2APIC |
375 | depends on PCI_MMCONFIG | ||
379 | ---help--- | 376 | ---help--- |
380 | Adds support for Numascale NumaChip large-SMP systems. Needed to | 377 | Adds support for Numascale NumaChip large-SMP systems. Needed to |
381 | enable more than ~168 cores. | 378 | enable more than ~168 cores. |
@@ -1102,7 +1099,7 @@ config HIGHMEM4G | |||
1102 | 1099 | ||
1103 | config HIGHMEM64G | 1100 | config HIGHMEM64G |
1104 | bool "64GB" | 1101 | bool "64GB" |
1105 | depends on !M386 && !M486 | 1102 | depends on !M486 |
1106 | select X86_PAE | 1103 | select X86_PAE |
1107 | ---help--- | 1104 | ---help--- |
1108 | Select this if you have a 32-bit processor and more than 4 | 1105 | Select this if you have a 32-bit processor and more than 4 |
@@ -1700,6 +1697,50 @@ config HOTPLUG_CPU | |||
1700 | automatically on SMP systems. ) | 1697 | automatically on SMP systems. ) |
1701 | Say N if you want to disable CPU hotplug. | 1698 | Say N if you want to disable CPU hotplug. |
1702 | 1699 | ||
1700 | config BOOTPARAM_HOTPLUG_CPU0 | ||
1701 | bool "Set default setting of cpu0_hotpluggable" | ||
1702 | default n | ||
1703 | depends on HOTPLUG_CPU && EXPERIMENTAL | ||
1704 | ---help--- | ||
1705 | Set whether default state of cpu0_hotpluggable is on or off. | ||
1706 | |||
1707 | Say Y here to enable CPU0 hotplug by default. If this switch | ||
1708 | is turned on, there is no need to give cpu0_hotplug kernel | ||
1709 | parameter and the CPU0 hotplug feature is enabled by default. | ||
1710 | |||
1711 | Please note: there are two known CPU0 dependencies if you want | ||
1712 | to enable the CPU0 hotplug feature either by this switch or by | ||
1713 | cpu0_hotplug kernel parameter. | ||
1714 | |||
1715 | First, resume from hibernate or suspend always starts from CPU0. | ||
1716 | So hibernate and suspend are prevented if CPU0 is offline. | ||
1717 | |||
1718 | Second dependency is PIC interrupts always go to CPU0. CPU0 can not | ||
1719 | offline if any interrupt can not migrate out of CPU0. There may | ||
1720 | be other CPU0 dependencies. | ||
1721 | |||
1722 | Please make sure the dependencies are under your control before | ||
1723 | you enable this feature. | ||
1724 | |||
1725 | Say N if you don't want to enable CPU0 hotplug feature by default. | ||
1726 | You still can enable the CPU0 hotplug feature at boot by kernel | ||
1727 | parameter cpu0_hotplug. | ||
1728 | |||
1729 | config DEBUG_HOTPLUG_CPU0 | ||
1730 | def_bool n | ||
1731 | prompt "Debug CPU0 hotplug" | ||
1732 | depends on HOTPLUG_CPU && EXPERIMENTAL | ||
1733 | ---help--- | ||
1734 | Enabling this option offlines CPU0 (if CPU0 can be offlined) as | ||
1735 | soon as possible and boots up userspace with CPU0 offlined. User | ||
1736 | can online CPU0 back after boot time. | ||
1737 | |||
1738 | To debug CPU0 hotplug, you need to enable CPU0 offline/online | ||
1739 | feature by either turning on CONFIG_BOOTPARAM_HOTPLUG_CPU0 during | ||
1740 | compilation or giving cpu0_hotplug kernel parameter at boot. | ||
1741 | |||
1742 | If unsure, say N. | ||
1743 | |||
1703 | config COMPAT_VDSO | 1744 | config COMPAT_VDSO |
1704 | def_bool y | 1745 | def_bool y |
1705 | prompt "Compat VDSO support" | 1746 | prompt "Compat VDSO support" |