Kconfig (1809de7e7d37c585e01a1bcc583ea92b78fc759d) Kconfig (e633c65a1d5859da170a83d537d9762c07d12213)
1# Select 32 or 64 bit
2config 64BIT
3 bool "64-bit kernel" if ARCH = "x86"
4 default ARCH != "i386"
5 ---help---
6 Say yes to build a 64-bit kernel - formerly known as x86_64
7 Say no to build a 32-bit kernel - formerly known as i386
8

--- 14 unchanged lines hidden (view full) ---

23 select ARCH_CLOCKSOURCE_DATA
24 select ARCH_DISCARD_MEMBLOCK
25 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
26 select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
27 select ARCH_HAS_DEVMEM_IS_ALLOWED
28 select ARCH_HAS_ELF_RANDOMIZE
29 select ARCH_HAS_FAST_MULTIPLIER
30 select ARCH_HAS_GCOV_PROFILE_ALL
1# Select 32 or 64 bit
2config 64BIT
3 bool "64-bit kernel" if ARCH = "x86"
4 default ARCH != "i386"
5 ---help---
6 Say yes to build a 64-bit kernel - formerly known as x86_64
7 Say no to build a 32-bit kernel - formerly known as i386
8

--- 14 unchanged lines hidden (view full) ---

23 select ARCH_CLOCKSOURCE_DATA
24 select ARCH_DISCARD_MEMBLOCK
25 select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
26 select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
27 select ARCH_HAS_DEVMEM_IS_ALLOWED
28 select ARCH_HAS_ELF_RANDOMIZE
29 select ARCH_HAS_FAST_MULTIPLIER
30 select ARCH_HAS_GCOV_PROFILE_ALL
31 select ARCH_HAS_KCOV if X86_64
32 select ARCH_HAS_PMEM_API if X86_64
33 select ARCH_HAS_MMIO_FLUSH
34 select ARCH_HAS_SG_CHAIN
35 select ARCH_HAS_UBSAN_SANITIZE_ALL
36 select ARCH_HAVE_NMI_SAFE_CMPXCHG
37 select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
38 select ARCH_MIGHT_HAVE_PC_PARPORT
39 select ARCH_MIGHT_HAVE_PC_SERIO

--- 111 unchanged lines hidden (view full) ---

151 select RTC_LIB
152 select SPARSE_IRQ
153 select SRCU
154 select SYSCTL_EXCEPTION_TRACE
155 select USER_STACKTRACE_SUPPORT
156 select VIRT_TO_BUS
157 select X86_DEV_DMA_OPS if X86_64
158 select X86_FEATURE_NAMES if PROC_FS
31 select ARCH_HAS_PMEM_API if X86_64
32 select ARCH_HAS_MMIO_FLUSH
33 select ARCH_HAS_SG_CHAIN
34 select ARCH_HAS_UBSAN_SANITIZE_ALL
35 select ARCH_HAVE_NMI_SAFE_CMPXCHG
36 select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
37 select ARCH_MIGHT_HAVE_PC_PARPORT
38 select ARCH_MIGHT_HAVE_PC_SERIO

--- 111 unchanged lines hidden (view full) ---

150 select RTC_LIB
151 select SPARSE_IRQ
152 select SRCU
153 select SYSCTL_EXCEPTION_TRACE
154 select USER_STACKTRACE_SUPPORT
155 select VIRT_TO_BUS
156 select X86_DEV_DMA_OPS if X86_64
157 select X86_FEATURE_NAMES if PROC_FS
159 select HAVE_STACK_VALIDATION if X86_64
160 select ARCH_USES_HIGH_VMA_FLAGS if X86_INTEL_MEMORY_PROTECTION_KEYS
161 select ARCH_HAS_PKEYS if X86_INTEL_MEMORY_PROTECTION_KEYS
162
163config INSTRUCTION_DECODER
164 def_bool y
165 depends on KPROBES || PERF_EVENTS || UPROBES
166
158
159config INSTRUCTION_DECODER
160 def_bool y
161 depends on KPROBES || PERF_EVENTS || UPROBES
162
167config PERF_EVENTS_INTEL_UNCORE
168 def_bool y
169 depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
170
171config OUTPUT_FORMAT
172 string
173 default "elf32-i386" if X86_32
174 default "elf64-x86-64" if X86_64
175
176config ARCH_DEFCONFIG
177 string
178 default "arch/x86/configs/i386_defconfig" if X86_32

--- 862 unchanged lines hidden (view full) ---

1041 Provide support for injecting machine checks for testing purposes.
1042 If you don't know what a machine check is and you don't do kernel
1043 QA it is safe to say n.
1044
1045config X86_THERMAL_VECTOR
1046 def_bool y
1047 depends on X86_MCE_INTEL
1048
163config OUTPUT_FORMAT
164 string
165 default "elf32-i386" if X86_32
166 default "elf64-x86-64" if X86_64
167
168config ARCH_DEFCONFIG
169 string
170 default "arch/x86/configs/i386_defconfig" if X86_32

--- 862 unchanged lines hidden (view full) ---

1033 Provide support for injecting machine checks for testing purposes.
1034 If you don't know what a machine check is and you don't do kernel
1035 QA it is safe to say n.
1036
1037config X86_THERMAL_VECTOR
1038 def_bool y
1039 depends on X86_MCE_INTEL
1040
1041source "arch/x86/Kconfig.perf"
1042
1049config X86_LEGACY_VM86
1050 bool "Legacy VM86 support"
1051 default n
1052 depends on X86_32
1053 ---help---
1054 This option allows user programs to put the CPU into V8086
1055 mode, which is an 80286-era approximation of 16-bit real mode.
1056

--- 669 unchanged lines hidden (view full) ---

1726 will increase the kernel memory overhead of each
1727 process and adds some branches to paths used during
1728 exec() and munmap().
1729
1730 For details, see Documentation/x86/intel_mpx.txt
1731
1732 If unsure, say N.
1733
1043config X86_LEGACY_VM86
1044 bool "Legacy VM86 support"
1045 default n
1046 depends on X86_32
1047 ---help---
1048 This option allows user programs to put the CPU into V8086
1049 mode, which is an 80286-era approximation of 16-bit real mode.
1050

--- 669 unchanged lines hidden (view full) ---

1720 will increase the kernel memory overhead of each
1721 process and adds some branches to paths used during
1722 exec() and munmap().
1723
1724 For details, see Documentation/x86/intel_mpx.txt
1725
1726 If unsure, say N.
1727
1734config X86_INTEL_MEMORY_PROTECTION_KEYS
1735 prompt "Intel Memory Protection Keys"
1736 def_bool y
1737 # Note: only available in 64-bit mode
1738 depends on CPU_SUP_INTEL && X86_64
1739 ---help---
1740 Memory Protection Keys provides a mechanism for enforcing
1741 page-based protections, but without requiring modification of the
1742 page tables when an application changes protection domains.
1743
1744 For details, see Documentation/x86/protection-keys.txt
1745
1746 If unsure, say y.
1747
1748config EFI
1749 bool "EFI runtime service support"
1750 depends on ACPI
1751 select UCS2_STRING
1752 select EFI_RUNTIME_WRAPPERS
1753 ---help---
1754 This enables the kernel to use EFI runtime services that are
1755 available (such as the EFI variable services).

--- 701 unchanged lines hidden (view full) ---

2457 PCI hotplug to work on systems with the CNB20LE chipset which do
2458 not have ACPI.
2459
2460 There's no public spec for this chipset, and this functionality
2461 is known to be incomplete.
2462
2463 You should say N unless you know you need this.
2464
1728config EFI
1729 bool "EFI runtime service support"
1730 depends on ACPI
1731 select UCS2_STRING
1732 select EFI_RUNTIME_WRAPPERS
1733 ---help---
1734 This enables the kernel to use EFI runtime services that are
1735 available (such as the EFI variable services).

--- 701 unchanged lines hidden (view full) ---

2437 PCI hotplug to work on systems with the CNB20LE chipset which do
2438 not have ACPI.
2439
2440 There's no public spec for this chipset, and this functionality
2441 is known to be incomplete.
2442
2443 You should say N unless you know you need this.
2444
2445source "drivers/pci/pcie/Kconfig"
2446
2465source "drivers/pci/Kconfig"
2466
2467# x86_64 have no ISA slots, but can have ISA-style DMA.
2468config ISA_DMA_API
2469 bool "ISA-style DMA support" if (X86_64 && EXPERT)
2470 default y
2471 help
2472 Enables ISA-style DMA support for devices requiring such controllers.

--- 139 unchanged lines hidden (view full) ---

2612endif # X86_32
2613
2614config AMD_NB
2615 def_bool y
2616 depends on CPU_SUP_AMD && PCI
2617
2618source "drivers/pcmcia/Kconfig"
2619
2447source "drivers/pci/Kconfig"
2448
2449# x86_64 have no ISA slots, but can have ISA-style DMA.
2450config ISA_DMA_API
2451 bool "ISA-style DMA support" if (X86_64 && EXPERT)
2452 default y
2453 help
2454 Enables ISA-style DMA support for devices requiring such controllers.

--- 139 unchanged lines hidden (view full) ---

2594endif # X86_32
2595
2596config AMD_NB
2597 def_bool y
2598 depends on CPU_SUP_AMD && PCI
2599
2600source "drivers/pcmcia/Kconfig"
2601
2602source "drivers/pci/hotplug/Kconfig"
2603
2620config RAPIDIO
2621 tristate "RapidIO support"
2622 depends on PCI
2623 default n
2624 help
2625 If enabled this option will include drivers and the core
2626 infrastructure code to support RapidIO interconnect devices.
2627

--- 131 unchanged lines hidden ---
2604config RAPIDIO
2605 tristate "RapidIO support"
2606 depends on PCI
2607 default n
2608 help
2609 If enabled this option will include drivers and the core
2610 infrastructure code to support RapidIO interconnect devices.
2611

--- 131 unchanged lines hidden ---